mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
better json scheme for the mmap data
This commit is contained in:
parent
a5e39f5ca9
commit
ea84c8a787
@ -212,8 +212,10 @@ static int httpserver_handle_get_mmap(struct mg_connection* conn, void* cbdata)
|
||||
mg_printf(conn,
|
||||
"{"
|
||||
"\"length\":" STRING_REP_UINT64 ","
|
||||
"\"compression\":\"deflate\","
|
||||
"\"compressedLength\":" STRING_REP_ULONG ","
|
||||
"\"bytesZ85\":\"%s\""
|
||||
"\"encoding\":\"Z85\","
|
||||
"\"data\":\"%s\""
|
||||
"}",
|
||||
mmap->len,
|
||||
(size_t)buflen,
|
||||
|
Loading…
x
Reference in New Issue
Block a user