Fixed FDS/VS System games no longer loading properly
This commit is contained in:
parent
f544688b64
commit
279c395271
1 changed files with 4 additions and 4 deletions
|
@ -310,6 +310,10 @@ bool Console::Initialize(VirtualFile &romFile, VirtualFile &patchFile)
|
|||
_cpu.reset(new CPU(shared_from_this()));
|
||||
_apu.reset(new APU(shared_from_this()));
|
||||
|
||||
_mapper->SetConsole(shared_from_this());
|
||||
_mapper->Initialize(romData);
|
||||
GetNotificationManager()->RegisterNotificationListener(_mapper);
|
||||
|
||||
if(_slave) {
|
||||
_slave->Release(false);
|
||||
_slave.reset();
|
||||
|
@ -367,10 +371,6 @@ bool Console::Initialize(VirtualFile &romFile, VirtualFile &patchFile)
|
|||
_ppu.reset(new PPU(shared_from_this()));
|
||||
}
|
||||
|
||||
_mapper->SetConsole(shared_from_this());
|
||||
_mapper->Initialize(romData);
|
||||
GetNotificationManager()->RegisterNotificationListener(_mapper);
|
||||
|
||||
_memoryManager->SetMapper(_mapper);
|
||||
_memoryManager->RegisterIODevice(_ppu.get());
|
||||
_memoryManager->RegisterIODevice(_apu.get());
|
||||
|
|
Loading…
Add table
Reference in a new issue