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) {
|
if (s > 1) {
|
||||||
p.Do(UMDReplacePermit);
|
p.Do(UMDReplacePermit);
|
||||||
|
#ifdef USING_WIN_UI
|
||||||
if (UMDReplacePermit)
|
if (UMDReplacePermit)
|
||||||
MainWindow::ChangeMenu();
|
MainWindowMenu:MainWindow::_ChangeMenu();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if (s > 2) {
|
if (s > 2) {
|
||||||
p.Do(umdInsertChangeEvent);
|
p.Do(umdInsertChangeEvent);
|
||||||
@ -538,7 +540,7 @@ static u32 sceUmdReplaceProhibit()
|
|||||||
UMDReplacePermit = false;
|
UMDReplacePermit = false;
|
||||||
DEBUG_LOG(SCEIO,"sceUmdReplaceProhibit()");
|
DEBUG_LOG(SCEIO,"sceUmdReplaceProhibit()");
|
||||||
#ifdef USING_WIN_UI
|
#ifdef USING_WIN_UI
|
||||||
MainWindow::ChangeMenu();
|
MainWindowMenu:MainWindow::_ChangeMenu();
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -548,7 +550,7 @@ static u32 sceUmdReplacePermit()
|
|||||||
UMDReplacePermit = true;
|
UMDReplacePermit = true;
|
||||||
DEBUG_LOG(SCEIO,"sceUmdReplacePermit()");
|
DEBUG_LOG(SCEIO,"sceUmdReplacePermit()");
|
||||||
#ifdef USING_WIN_UI
|
#ifdef USING_WIN_UI
|
||||||
MainWindow::ChangeMenu();
|
MainWindowMenu:MainWindow::_ChangeMenu();
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1259,7 +1259,7 @@ namespace MainWindow {
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChangeMenu() {
|
void _ChangeMenu() {
|
||||||
SetIngameMenuItemStates(GetMenu(GetHWND()), UISTATE_INGAME);
|
SetIngameMenuItemStates(GetMenu(GetHWND()), UISTATE_INGAME);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user