Hey
OopsWare I did a heavy update to the Genesis driver, now it has everything separated into:
src/burn/sega/genesis/...
- genesis.h (main header with prototypes, definitions, externs, etc)
- genesis_run.cpp (main init, reset, frame, exit, handlers, mapping, etc)
- genesis_drw.cpp (drawing stuff)
- genesis_snd.cpp (sound stuff)
- genesis_cart.cpp (the cartridge stuff, can be removed in the future since the mount / unmount is not needed anymore (cartridge.h has been removed too) )
- d_genesis.cpp (driver structure, input structure, etc)
I updated my scrn.cpp with a new way of loading recent games, the old code was making FBA crash with the Genesis driver when changing blitters or some other options. Now there is no crash with genesis and we can change blitters any time or look at the FPS, etc.
Other new thing is, that the Mounting / Un-Mounting is not needed since when you load the SEGA genesis driver it will pop up a dialog asking for the cartridge then it will proceed to load the BIOS and then the Cartridge you selected ^^, then if you want to unmount the game, well just Exit the game in the menu ^^.
however, I noticed a problem in a clean implementation of the genesis driver into a clean source of FBA (not enhanced) and it is having problems when the driver Exits, I have searched but didn't found what's wrong at all, maybe you found it already, but the thing is, that if you load Genesis driver then load it again or another game the Inputs will not work anymore, you can try loading all the games you want after loading Genesis driver at least once and the inputs will not work after that, It will not even be able to Write / Read the game configuration .Ini file from disk, I really don't know if when Genesis driver exit and start writing to the configuration it stays in some kind of writing loop or something...maybe you can verify this better, because i don't know what more to do lol xD
I will send you my files asap, probably tomorrow when I finish doing some things in real life
SeeYaa!