> > Are there any statics or globals? > Sorry, I don't know what it meant. >
variables.. int, char, etc. anything the driver relies on that isn't automatically saved should be saved.
static variables which are declared and initialized inside functions shouldn't be used because their value won't be the same at the start on future runs if you load the game / driver twice in a row withuot quitting mame.
> > Do all the chips used by the driver support save? > Ikki.c seems not to use any (specified) chips... >
processors, sound chips.. it has some otherwise it wouldn't run ;-)
> > Does it use the new memory banking system? > Sorry, I don't know a old (normal?) banking system from new...
the new system uses memory_set_bank(1, data & 0x0f); with a memory_configure_bank call at some point earlier to set up the bank size etc.
the new system (afaik) automatically supports state saving for the memory region, the old system didn't.
|