Loading Flux or Wonder Library after any Genesis ROM crashes emulator

Issue #259 resolved
Former user created an issue

Original [issue 259](https://code.google.com/p/genplus-gx/issues/detail?id=259) created by JJBunks on 2012-07-21T17:36:43.000Z:

Here's another one for you, Eke-Eke: load any Genesis ROM and then load Flux or Wonder Library. The emulator crashes, forcing you to hold down the power button on the Wii to turn the whole thing off. When it crashes, there seems to be one of those "Exception occurred!" messages, but the text is distorted and illegible.

Comments (8)

  1. Former user Account Deleted
    • changed status to open

    Comment # 1 originally posted by ekeeke31 on 2012-07-21T21:01:37.000Z:

    I cannot reproduce this issue (though it indeed seems that loading those programs after a large Genesis ROM file produce some error on my side, more exactly it jumps to CD BIOS when it shouldn't and BIOS seems corrupted). Maybe the difference is that you don't have European & Japanese Mega CD BIOS installed (BIOS\_CD\_E.bin & BIOS\_CD\_J.bin) and it crashes when trying to run them ?

    ALso what do you mean by "after loading any Genesis ROM" ? That they work fine if you load a CD image or a Master System ROM before ? What Genesis ROM did you tried ?

    As for getting a readable Exception Screen, try setting the Video Render option to "INTERLACED" or "PROGRESSIVE" and make it crash again.

  2. Former user Account Deleted

    Comment # 2 originally posted by JJBunks on 2012-07-22T00:22:49.000Z:

    I have done some testing and have things to report! First, this crash only happens with certain Genesis ROMs; Master System, Game Gear, SG-1000, and Sega CD games don't seem to cause it. Second, I thought it happened with most Genesis ROMs, but actually it only happens with ROMs that are 3+ MB in size. Three games that always cause this crash for me are Fatal Fury 2, Foreman For Real, and Toy Story. Interestingly enough, Ultimate Mortal Kombat 3, which is 4 MB, doesn't cause it!

    I tried setting the video display to both "interlaced" and "progressive," but the error message is still garbled.

  3. Former user Account Deleted

    Comment # 3 originally posted by ekeeke31 on 2012-07-22T08:45:36.000Z:

    Thanks, it must be some corruption of the CD hardware area when loading big ROM files. Cartridge ROM is actually sharing the same buffer (10mb) as the emulated CD hardware structure, it's possible i forgot to clear some stuff when loading a new ROM, which corrupts CD emulation, i will look at it.

    You didn't answered my initial question though: do you have bios\_CD\_E.bin and bios\_CD\_J.bin files in your /bios directory ? Flux and Wonder Library will try to load them on startup and Mega CD will be disabled if not found.

  4. Former user Account Deleted

    Comment # 4 originally posted by ekeeke31 on 2012-07-22T08:48:47.000Z:

    Also, now that i think about it, if you are using 1.7.0, this might as well be already fixed by r694. If you can, please compile last svn code and see if it still crashes.

  5. Former user Account Deleted

    Comment # 5 originally posted by JJBunks on 2012-07-22T10:46:42.000Z:

    Oops, I forgot about your question! I do have bios\_CD\_E.bin and bios\_CD\_J.bin in my bios directory. Wonder Library and Flux work fine when loading them on their own.

    Also, I am using r703 and the crash still happens. More info: NBA Jam causes it, too, which is a 2 MB ROM.

  6. Former user Account Deleted

    Comment # 6 originally posted by ekeeke31 on 2012-07-22T17:48:38.000Z:

    Should be fixed in r704, please confirm.

  7. Former user Account Deleted

    Comment # 7 originally posted by JJBunks on 2012-07-22T18:22:55.000Z:

    No more crashing! Nice work, Eke-Eke.

  8. Log in to comment