diff --git a/Source/Project64/N64 System/N64 Class.cpp b/Source/Project64/N64 System/N64 Class.cpp index e8f166c6b..fd79bc143 100644 --- a/Source/Project64/N64 System/N64 Class.cpp +++ b/Source/Project64/N64 System/N64 Class.cpp @@ -351,14 +351,6 @@ void CN64System::StartEmulation(bool NewThread) } } -void CN64System::DisplayRomInfo(HWND hParent) -{ - if (!g_Rom) { return; } - - RomInformation Info(g_Rom); - Info.DisplayInformation(hParent); -} - void CN64System::Pause() { if (m_EndEmulation) diff --git a/Source/Project64/N64 System/N64 Class.h b/Source/Project64/N64 System/N64 Class.h index fff998f72..5c38179c0 100644 --- a/Source/Project64/N64 System/N64 Class.h +++ b/Source/Project64/N64 System/N64 Class.h @@ -47,7 +47,6 @@ public: void CloseCpu(); void ExternalEvent(SystemEvent action); //covers gui interacting and timers etc.. - void DisplayRomInfo(HWND hParent); void StartEmulation(bool NewThread); void SyncToAudio(); void IncreaseSpeed() { m_Limitor.IncreaseSpeed(); } diff --git a/Source/Project64/User Interface/Main Menu Class.cpp b/Source/Project64/User Interface/Main Menu Class.cpp index 7b760a9f5..83c477ac6 100644 --- a/Source/Project64/User Interface/Main Menu Class.cpp +++ b/Source/Project64/User Interface/Main Menu Class.cpp @@ -101,7 +101,11 @@ bool CMainMenu::ProcessMessage(HWND hWnd, DWORD /*FromAccelerator*/, DWORD MenuI break; case ID_FILE_ROM_INFO: { - g_BaseSystem->DisplayRomInfo(hWnd); + if (g_Rom) + { + RomInformation Info(g_Rom); + Info.DisplayInformation(hWnd); + } } break; case ID_FILE_STARTEMULATION: