[Prject64] Move display rom information out of N64 Class.cpp
This commit is contained in:
parent
3a80cd7138
commit
165bdc160b
|
@ -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()
|
void CN64System::Pause()
|
||||||
{
|
{
|
||||||
if (m_EndEmulation)
|
if (m_EndEmulation)
|
||||||
|
|
|
@ -47,7 +47,6 @@ public:
|
||||||
|
|
||||||
void CloseCpu();
|
void CloseCpu();
|
||||||
void ExternalEvent(SystemEvent action); //covers gui interacting and timers etc..
|
void ExternalEvent(SystemEvent action); //covers gui interacting and timers etc..
|
||||||
void DisplayRomInfo(HWND hParent);
|
|
||||||
void StartEmulation(bool NewThread);
|
void StartEmulation(bool NewThread);
|
||||||
void SyncToAudio();
|
void SyncToAudio();
|
||||||
void IncreaseSpeed() { m_Limitor.IncreaseSpeed(); }
|
void IncreaseSpeed() { m_Limitor.IncreaseSpeed(); }
|
||||||
|
|
|
@ -101,7 +101,11 @@ bool CMainMenu::ProcessMessage(HWND hWnd, DWORD /*FromAccelerator*/, DWORD MenuI
|
||||||
break;
|
break;
|
||||||
case ID_FILE_ROM_INFO:
|
case ID_FILE_ROM_INFO:
|
||||||
{
|
{
|
||||||
g_BaseSystem->DisplayRomInfo(hWnd);
|
if (g_Rom)
|
||||||
|
{
|
||||||
|
RomInformation Info(g_Rom);
|
||||||
|
Info.DisplayInformation(hWnd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ID_FILE_STARTEMULATION:
|
case ID_FILE_STARTEMULATION:
|
||||||
|
|
Loading…
Reference in New Issue