Cd functions (init, search etc) worked well, but I have to create an ISO every time I want to test. So I tried PCinit:
Code: Select all
int file,size; char *filebuffer; PCinit(); file = PCopen("\\model\\PTEX.TIM;1", 0, 0); size = PClseek(file, 0, 2); filebuffer = (char*) malloc (size); PCread(file, filebuffer, size); PCclose(file);
PCinit() alone just hangs the game, and I can only see a black screen. Do I have to include some library for it to work?
I forgot to say, I'm using windows 10 64, and ePSXe205