diff options
| author | DadaCap <167002618+DadaCap@users.noreply.github.com> | 2026-11-26 16:21:19 +0100 |
|---|---|---|
| committer | DadaCap <167002618+DadaCap@users.noreply.github.com> | 2026-11-26 16:21:19 +0100 |
| commit | be829a4d649b011c9e3c31f017923b0a0af21d86 (patch) | |
| tree | 31ec7a812111cc8fb5d7ab3fb7576a48839d4f2a /runtime/src/bcpack.cpp | |
| parent | fbf100b1b10e391625585fe6a8bf4e653662ca9a (diff) | |
xgameruntime_gamesave: accept an XGameSaveReadBlobData buffer of the unpadded size
A title sizes the read buffer as the sum of sizeof(XGameSaveBlob), the data and
the name with its NUL for each blob. The shim required the 8-byte aligned layout
and refused such a buffer with E_GS_PROVIDED_BUFFER_TOO_SMALL. The minimum (and
the async result size) is now the unpadded sum; the blobs are packed aligned
when the buffer has room for that and back to back otherwise.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gt9hwNPurxyJ9LAfUbNiYr
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions