[Prject64] Move display rom information out of N64 Class.cpp

This commit is contained in:
zilmar 2015-11-15 20:54:23 +11:00
parent 3a80cd7138
commit 165bdc160b
3 changed files with 5 additions and 10 deletions

View File

@ -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)

View File

@ -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(); }

View File

@ -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: