| 296 | } |
| 297 | |
| 298 | void ckpt_sav_open_shared(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 299 | { |
| 300 | // A shared archive belongs to the console, not a title, so it is keyed by |
| 301 | // id instead of a catalog index. The id crosses the boundary as a 16-hex |
| 302 | // string like a title id (picoc has no reliable 64-bit ints); what its |
| 303 | // halves mean is the platform's business. |
| 304 | const uint64_t id = strtoull(ScriptArgs(Parser, Param, NumArgs, "sav_open_shared").str(0), nullptr, 16); |
| 305 | ReturnValue->Val->Integer = host().savOpenShared(id); |
| 306 | } |
| 307 | |
| 308 | void ckpt_sav_read(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 309 | { |
nothing calls this directly
no test coverage detected