vba next: RTC should be functional now. maybe.
This commit is contained in:
parent
b8472ea760
commit
1d6a6030f5
|
@ -31,8 +31,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
|
|||
LibVBANext.FrontEndSettings FES = new LibVBANext.FrontEndSettings();
|
||||
FES.saveType = (LibVBANext.FrontEndSettings.SaveType)gi.GetInt("saveType", 0);
|
||||
FES.flashSize = (LibVBANext.FrontEndSettings.FlashSize)gi.GetInt("flashSize", 0x10000);
|
||||
FES.enableRtc = gi.GetInt("enableRtc", 0) != 0;
|
||||
FES.mirroringEnable = gi.GetInt("mirroringEnable", 0) != 0;
|
||||
FES.enableRtc = gi.GetInt("rtcEnabled", 0) != 0;
|
||||
FES.mirroringEnable = gi.GetInt("mirroringEnabled", 0) != 0;
|
||||
|
||||
Console.WriteLine("GameDB loaded settings: saveType={0}, flashSize={1}, rtcEnabled={2}, mirroringEnabled={3}",
|
||||
FES.saveType, FES.flashSize, FES.enableRtc, FES.mirroringEnable);
|
||||
|
||||
_SyncSettings = (SyncSettings)_SS ?? new SyncSettings();
|
||||
DeterministicEmulation = deterministic;
|
||||
|
|
Binary file not shown.
|
@ -8882,7 +8882,6 @@ bool skipBios;
|
|||
// and most of the ones i've seen have done that, so this is not terribly useful
|
||||
static const bool cpuIsMultiBoot = false;
|
||||
int cpuSaveType; // used only in init() to set up function pointers
|
||||
bool enableRtc;
|
||||
bool mirroringEnable;
|
||||
|
||||
int cpuDmaCount;
|
||||
|
@ -13134,7 +13133,6 @@ template<bool isReader>void SyncState(NewState *ns)
|
|||
|
||||
NSS(skipBios);
|
||||
NSS(cpuSaveType);
|
||||
NSS(enableRtc);
|
||||
NSS(mirroringEnable);
|
||||
|
||||
NSS(cpuDmaCount);
|
||||
|
@ -13253,7 +13251,7 @@ template<bool isReader>bool SyncBatteryRam(NewState *ns)
|
|||
|
||||
cpuSaveType = settings.cpuSaveType;
|
||||
flashSize = settings.flashSize;
|
||||
enableRtc = settings.enableRtc;
|
||||
rtcEnabled = settings.enableRtc;
|
||||
mirroringEnable = settings.mirroringEnable;
|
||||
skipBios = settings.skipBios;
|
||||
|
||||
|
|
Loading…
Reference in New Issue