mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-27 18:30:56 +00:00
Build fix for non-windows
First step to fix UnitTest
This commit is contained in:
parent
2c58d34f3e
commit
860661dc14
@ -102,8 +102,10 @@ void __UmdDoState(PointerWrap &p)
|
||||
|
||||
if (s > 1) {
|
||||
p.Do(UMDReplacePermit);
|
||||
#ifdef USING_WIN_UI
|
||||
if (UMDReplacePermit)
|
||||
MainWindow::ChangeMenu();
|
||||
MainWindowMenu:MainWindow::_ChangeMenu();
|
||||
#endif
|
||||
}
|
||||
if (s > 2) {
|
||||
p.Do(umdInsertChangeEvent);
|
||||
@ -538,7 +540,7 @@ static u32 sceUmdReplaceProhibit()
|
||||
UMDReplacePermit = false;
|
||||
DEBUG_LOG(SCEIO,"sceUmdReplaceProhibit()");
|
||||
#ifdef USING_WIN_UI
|
||||
MainWindow::ChangeMenu();
|
||||
MainWindowMenu:MainWindow::_ChangeMenu();
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
@ -548,7 +550,7 @@ static u32 sceUmdReplacePermit()
|
||||
UMDReplacePermit = true;
|
||||
DEBUG_LOG(SCEIO,"sceUmdReplacePermit()");
|
||||
#ifdef USING_WIN_UI
|
||||
MainWindow::ChangeMenu();
|
||||
MainWindowMenu:MainWindow::_ChangeMenu();
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
@ -1259,7 +1259,7 @@ namespace MainWindow {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void ChangeMenu() {
|
||||
void _ChangeMenu() {
|
||||
SetIngameMenuItemStates(GetMenu(GetHWND()), UISTATE_INGAME);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user