I updated to the newest version of Minimalist GNU for Windows MinGW (v4.8.1)
last month or so....
I have both a copy of (v1.52), before the GUI changes (I don't use it much)
I have been using FuSoYa's 8MB fix build src to compile ZSNES these days ^_^
everything compiles fine but....
it crashes on start-up (LOL I use windows cmd files to config the compile process ^_^, plus i have a debugging area using gdb setup)...
uses multiple cmd batch files to also start debugging process... ^_^ =D oohhh yeah!
one each for the varying builds
- debug build
- release grade
- non release grade, non debugging
- and one that links to a much older version of MinGW (v3.4.2 or something I believe..)
SIGSEGV, Segmentation FAULT
zloader.c
line 942
Code: Select all
void zmain(int zargc, char *zargv[])
{
if (init_paths(*zargv)) <<---- FAULT
{
#ifdef __LIBAO__
ao_initialize();
atexit(ao_shutdown);
#endif
handle_params(zargc, zargv);
atexit(ZCleanup);
srand(time(0));
zstart();
}
}
#ifdef __WIN32__
extern HINSTANCE hInst;
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
{
hInst=hInstance;
ImportDirectX();
zmain(__argc, __argv);
return(0);
}
#else
int main(int zargc, char *zargv[])
{
zmain(zargc, zargv);
return(0);
}
#endif
I was wondering if any of the Devs had any ideas thx ^_^