gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > No$Cash Crashed - Cause?

#166074 - MaesterRowen - Mon Jan 26, 2009 1:00 am

Good afternoon,

Just recently No$Cash has started crashing and was wondering if anyone had similar problems: (if it's code related or not).

No$Cash starts up and gives me multiple error message boxes showing the following:

"main_siz 00000200"
"pipe siz 00000000"
"wr_ptr 00000025"
"rd_ptr 00000025"
"main_siz 00000201"
"pipe siz 00000000"
"wr_ptr 00000026"
"rd_ptr 00000025"
"Unexpected Error" - Fatal

Then it closes the emulator...

*EDIT* It seems to be caused by something in glInit(); When I comment everything out, it works, but when I call glInit, it causes the errors...

*EDIT* I've recreated the glInit function and it seems to be crashing at glFlush(0);

Any ideas?

#166077 - MaesterRowen - Mon Jan 26, 2009 3:31 am

I appear to have soothed the problem. Seems like my program really wanted a swiWaitForVBlank() after my glFlush(0).

Odd.

#166078 - MaesterRowen - Mon Jan 26, 2009 3:34 am

*deleted double post*