Compiled EXE doesn't work
Posted: February 13th, 2019, 2:11 pm
I'm trying to port a game I made in C/MinGW to the PS1. After making everything C89/fixing errors
it compiles, but after using cpe2x the resulting EXE just shows a black screen in no$PSX.
It doesn't even get to the very first line of main (a printf) and somehow just ends up executing some area filled with nops. The hello world example on the site works fine so I have no idea what is causing it.
I'm using this makefile with all the directories with c files added. I've also tried putting every function into main.c but it has the same result.
Any idea why this would happen/how to fix it?
it compiles, but after using cpe2x the resulting EXE just shows a black screen in no$PSX.
It doesn't even get to the very first line of main (a printf) and somehow just ends up executing some area filled with nops. The hello world example on the site works fine so I have no idea what is causing it.
I'm using this makefile with all the directories with c files added. I've also tried putting every function into main.c but it has the same result.
Any idea why this would happen/how to fix it?