MelonDS: put [sync]setting before init; RTC requires this
This commit is contained in:
parent
dc62ae7d3e
commit
657a7b8069
|
@ -101,13 +101,14 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS
|
||||||
_resampler = new SpeexResampler(SpeexResampler.Quality.QUALITY_DEFAULT, 32768, 44100, 32768, 44100);
|
_resampler = new SpeexResampler(SpeexResampler.Quality.QUALITY_DEFAULT, 32768, 44100, 32768, 44100);
|
||||||
|
|
||||||
SetUpFiles();
|
SetUpFiles();
|
||||||
if (!Init())
|
|
||||||
throw new Exception("Failed to init NDS.");
|
|
||||||
InitMemoryDomains();
|
|
||||||
|
|
||||||
PutSettings(settings as MelonSettings);
|
PutSettings(settings as MelonSettings);
|
||||||
PutSyncSettings(syncSettings as MelonSyncSettings);
|
PutSyncSettings(syncSettings as MelonSyncSettings);
|
||||||
|
|
||||||
|
if (!Init())
|
||||||
|
throw new Exception("Failed to init NDS.");
|
||||||
|
InitMemoryDomains();
|
||||||
|
|
||||||
fixed (byte* f = file)
|
fixed (byte* f = file)
|
||||||
{
|
{
|
||||||
LoadROM(f, file.Length);
|
LoadROM(f, file.Length);
|
||||||
|
|
Loading…
Reference in New Issue