mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
json: Optimize writing a bit.
This improves the responsiveness of certain APIs.
This commit is contained in:
1 parent
ccea863f00
commit
fc8ad3b47b
7 files changed
+121
-91
No files matched your search
@@ -46,7 +46,7 @@ void WebSocketGameStatus(DebuggerRequest &req) {
|
||||
json.writeString("title", g_paramSFO.GetValueString("TITLE"));
|
||||
json.pop();
|
||||
} else {
|
||||
json.writeRaw("game", "null");
|
||||
json.writeNull("game");
|
||||
}
|
||||
json.writeBool("paused", GetUIState() == UISTATE_PAUSEMENU);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user