diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 03:14:24 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 12:39:39 -0500 |
| commit | 37446d60a63d1b6fc81373eed1f14014bc756368 (patch) | |
| tree | 2a982e45536c1161bb3b3f0564668ef92826485d /src/common/host_memory.cpp | |
| parent | a07b8a31908ef8cc56e430449f374cdf997cd4fb (diff) | |
nx2: give the gsv commands games call their real behavior
The commands every Switch 2 title sends while setting up graphics, written
from how the console's server handles them:
- 201, 301, 401-403, 1101, 1102, 1501-1503: permission checks against the
session's capabilities; games only ask for what they are granted, so
answer success.
- 115 (u64 requested features): reply with the granted subset. A zeroed
reply denied every feature.
- 126: one bit of session state; clear.
- 434 (address space id from nx2:gpu 33): the session takes a reference on
that address space; remember the id.
- 11 (copy handle): handed over once per session; a second call fails.
- 1111 (u32): a version or mode value; accept it.
Diffstat (limited to 'src/common/host_memory.cpp')
0 files changed, 0 insertions, 0 deletions
