twinaphex/genesis-next — comment on commit 62ee45296bd1e23ca9dede6461caa59d0d0f7357
File:  line 0
By ekeeke:

About defines: can you list the core files where special defines are needed ? I have removed -DNGC in my current repository as it is redundant with -DGEKKO and I plan to replace #ifdef GEKKO in core files with more specific define (for example, #ifdef CUSTOM_CHEATS in sms_cart.c, #ifdef CUSTOM_BLITTER in vdp_render.c, sms_ntsc.c and md_ntsc.c) and remove unneeded ones (in system.c, remove the use of internal soundbuffer and let the caller of audio_update pass output buffer as parameter). Do you see other stuff you would need ?

About your comments:

1 - can you explain the reason why you can't detect system hardware in load_rom ? load_archive is supposed to update the filename in/out parameter with extracted filename if file is compressed, is that what cause a problem on PS3 ? can't you extract zipped file in load_archive ? I can also add another parameter returning file extension if that matters. Also, support for upper-case extension is unnecessary, nobody use .BIN or .SMS or whatever...

2 - it's gcc extension for 64-bit integers, I have removed them since they are unused by CPU cores, it's a left-over from MAME original files...