Resume after closing enhancement window

This commit is contained in:
zilmar 2021-03-02 17:15:24 +10:30
parent 62920525d0
commit 605dbafd15
1 changed files with 4 additions and 0 deletions

View File

@ -167,6 +167,10 @@ LRESULT CEnhancementUI::OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lPa
LRESULT CEnhancementUI::OnCloseCmd(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
if (g_BaseSystem)
{
g_BaseSystem->ExternalEvent(SysEvent_ResumeCPU_Enhancement);
}
if (m_bModal)
{
EndDialog(0);