mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
Merge pull request #14165 from unknownbrackets/windows-chat
Windows: Enable chat when selecting Enable Chat
This commit is contained in:
1 file changed
+5
@@ -626,6 +626,10 @@ namespace MainWindow {
|
||||
osm.ShowOnOff(gr->T("Cheats"), g_Config.bEnableCheats);
|
||||
break;
|
||||
case ID_EMULATION_CHAT:
|
||||
if (!g_Config.bEnableNetworkChat) {
|
||||
g_Config.bEnableNetworkChat = true;
|
||||
UpdateCommands();
|
||||
}
|
||||
if (GetUIState() == UISTATE_INGAME) {
|
||||
NativeMessageReceived("chat screen", "");
|
||||
}
|
||||
@@ -1367,6 +1371,7 @@ namespace MainWindow {
|
||||
|
||||
bool isPaused = Core_IsStepping() && GetUIState() == UISTATE_INGAME;
|
||||
TranslateMenuItem(menu, ID_TOGGLE_BREAK, L"\tF8", isPaused ? "Run" : "Break");
|
||||
TranslateMenuItem(menu, ID_EMULATION_CHAT, L"\tCtrl+C", g_Config.bEnableNetworkChat ? "Open Chat" : "Enable Chat");
|
||||
}
|
||||
|
||||
void UpdateSwitchUMD() {
|
||||
|
||||
Reference in new issue
Block a user