mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Buildfixes
This commit is contained in:
parent
19e4de5088
commit
c0e5da02ff
@ -452,7 +452,7 @@ void OSXOpenURL(const char *url) {
|
||||
|
||||
-(void)chatAction: (NSMenuItem *)item {
|
||||
if (GetUIState() == UISTATE_INGAME) {
|
||||
System_PostUIMessage(UIMessage::REQUEST_CHAT_SCREEN);
|
||||
System_PostUIMessage(UIMessage::SHOW_CHAT_SCREEN);
|
||||
}
|
||||
}
|
||||
|
||||
@ -631,14 +631,14 @@ TOGGLE_METHOD(FullScreen, g_Config.bFullScreen, System_MakeRequest(SystemRequest
|
||||
}
|
||||
|
||||
-(void)openRecentItem: (NSMenuItem *)item {
|
||||
System_PostUIMessage(UIMessage::REQUEST_BOOT_GAME, g_Config.RecentIsos()[item.tag].c_str());
|
||||
System_PostUIMessage(UIMessage::REQUEST_GAME_BOOT, g_Config.RecentIsos()[item.tag].c_str());
|
||||
}
|
||||
|
||||
-(void)openSystemFileBrowser {
|
||||
int g = 0;
|
||||
DarwinDirectoryPanelCallback callback = [g] (bool succ, Path thePathChosen) {
|
||||
if (succ)
|
||||
System_PostUIMessage(UIMessage::REQUEST_BOOT_GAME, thePathChosen.c_str());
|
||||
System_PostUIMessage(UIMessage::REQUEST_GAME_BOOT, thePathChosen.c_str());
|
||||
};
|
||||
|
||||
DarwinFileSystemServices services;
|
||||
|
@ -95,7 +95,7 @@ public:
|
||||
std::string path = GetFilePath();
|
||||
// Delay to be able to launch on startup too
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
System_PostUIMessage("boot", path.c_str());
|
||||
System_PostUIMessage(UIMessage::REQUEST_GAME_BOOT, path);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -457,8 +457,8 @@ namespace MainWindow {
|
||||
|
||||
case ID_TOGGLE_BREAK:
|
||||
if (GetUIState() == UISTATE_PAUSEMENU) {
|
||||
// Causes hang
|
||||
//System_PostUIMessage("run", "");
|
||||
// Causes hang (outdated comment?)
|
||||
// System_PostUIMessage(UIMessage::REQUEST_GAME_RUN, "");
|
||||
|
||||
if (disasmWindow)
|
||||
SendMessage(disasmWindow->GetDlgHandle(), WM_COMMAND, IDC_STOPGO, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user