upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-23 00:38:01 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-23 00:38:01 -0500
commitde6713524633c63045583321291e6bad647dadf3 (patch)
tree9f488e737b1d48505f0026abb712db8b1f67357c /runtime/test/gameinput_test.cpp
parent98fa503f8a19c3ed65df1f4f2f0e4571aa42c4f7 (diff)
Runtime: offline XGameSaveImpl (save provider, containers, blobs, updates)
A GDK title opens its save provider at boot; QueryApiImpl now serves XGameSaveImpl (IXGameSaveImpl..3, 33 slots from xgameruntime-docs' layout, signatures and error codes from the public GDK reference). Saves are files in LEONIDA_SAVE_DIR\local-user\<container>\<blob> (default %LOCALAPPDATA%\Leonida\saves), %-encoded: the layout tools/saves.py import already writes. Updates are buffered and committed by write-then-rename; container names follow the documented rule; the 16 MB update limit, the documented E_GS_* codes, async variants through XAsync, and the XGameSaveFiles folder/quota slots. Assumptions (quota, blob-name length, nullptr blob list) are marked in the source and docs. xgameruntime_gamesave_test drives every slot (50 checks). The two tests that used XGameSaveImpl's id as "a class not served" now use a made-up id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions