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);
|
||||
|
||||
SetUpFiles();
|
||||
if (!Init())
|
||||
throw new Exception("Failed to init NDS.");
|
||||
InitMemoryDomains();
|
||||
|
||||
PutSettings(settings as MelonSettings);
|
||||
PutSyncSettings(syncSettings as MelonSyncSettings);
|
||||
|
||||
if (!Init())
|
||||
throw new Exception("Failed to init NDS.");
|
||||
InitMemoryDomains();
|
||||
|
||||
fixed (byte* f = file)
|
||||
{
|
||||
LoadROM(f, file.Length);
|
||||
|
|
Loading…
Reference in New Issue