static void saveState(Microsol* rm) { SaveState* state = saveStateOpenForWrite("mapperMicrosol"); saveStateClose(state); wd2793SaveState(rm->fdc); }
static void saveState(RomMapperNationalFdc* rm) { SaveState* state = saveStateOpenForWrite("mapperNationalFdc"); saveStateSet(state, "reg", rm->reg); saveStateClose(state); wd2793SaveState(rm->fdc); }
static void saveState(Svi328Fdc* rm) { SaveState* state = saveStateOpenForWrite("Svi328Fdc"); saveStateSet(state, "drvSelect", rm->drvSelect); saveStateClose(state); wd2793SaveState(rm->fdc); }
static void saveState(RomMapperPhilipsFdc* rm) { SaveState* state = saveStateOpenForWrite("mapperPhilipsFdc"); saveStateSet(state, "sideReg", rm->sideReg); saveStateSet(state, "driveReg", rm->driveReg); saveStateClose(state); wd2793SaveState(rm->fdc); }