[64DD] Load 64DD IPL on g_DDRom seperately

Fixes double g_Rom delete which makes Windows not happy.
This commit is contained in:
luigiblood 2016-02-01 01:31:14 +01:00
parent 02d94ce57b
commit f63b746c73
1 changed files with 3 additions and 1 deletions

View File

@ -219,7 +219,9 @@ bool CN64System::RunFileImage(const char * FileLoc)
if (g_Rom->CicChipID() == CIC_NUS_8303) if (g_Rom->CicChipID() == CIC_NUS_8303)
{ {
//64DD IPL //64DD IPL
g_DDRom = g_Rom; if (g_DDRom == NULL)
g_DDRom = new CN64Rom();
g_DDRom->LoadN64ImageIPL(FileLoc);
g_Settings->SaveString(File_DiskIPLPath, FileLoc); g_Settings->SaveString(File_DiskIPLPath, FileLoc);
} }