VBA-M Forums

Full Version: Issue with Mac VBA2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just recently compiled VBA2 and after loading a GBA Bios .bin and the app crashed.
To catch the error I ran the app in Terminal, but QT's run button also works.

I found out that it was because of some assert() statements, which I knew were there for a reason, but I commented out anyway.

After I commented out the assert() statements the app worked fine.

All of the
Code:
assert( false);
lines in gba2>cartridge.cpp along with line 54 of gba2>bioschip.cpp had to be commented out to get the app to load any ROM.

Other than the sound, it's almost perfect. (I'm testing save games right now.)

I just wanted to bring that up, sorry if this is a repost or if you already knew this, OR if I did the wrong thing. All I knew enough to do was to comment out the problematic lines.

//Going into afkness until next update.
I always place an assert(false) at places that should not be reached if everything goes right. It's either my fault or you loaded a wrong BIOS maybe. It's been a while since I last worked on VBA2.

Unfortunately there is no way to test my software on a Mac, because I simply can't spend so much money for the hardware. Even the older computers are way too overpriced on eBay.
Reference URL's