aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-31 10:16:50 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 12:39:41 -0500
commitc5a270afc8d3a7530f30ac1103bdb94e4416413a (patch)
treefcf7f51a07b3d89db611e9a8472abc2b6cae4461 /src/core
parent2f803fa2271c1f9e847e72262ce6e030523f3242 (diff)
nx2: report SDR output from vi2 104
The SDK takes 104's format 1 as SDR and 2 as HDR and fails the query on anything else, so the zero format answered an error. Report SDR with a typical SDR panel's 400-nit peak instead of 0 nits.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/nx2_gsv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/nx2_gsv.h b/src/core/hle/service/nx2_gsv.h
index 3f58f3d12a..6fbfc22edd 100644
--- a/src/core/hle/service/nx2_gsv.h
+++ b/src/core/hle/service/nx2_gsv.h
@@ -1847,8 +1847,11 @@ private:
// anything above 1. With the empty auto stub reply it read the request's leftover words as
// the format; Kirby Air Riders re-queries whenever its HDR status event fires and rebuilt its
// window images every few frames, which showed black. Report SDR output.
+ // nn::vi2::QueryDisplayHdrStatus(display name): u64 output format, u16 peak luminance in
+ // nits. The sdk takes format 1 as SDR and 2 as HDR and fails the query on any other value.
+ // Report SDR output with a typical SDR panel's peak.
void QueryDisplayHdrStatus(HLERequestContext& ctx) {
- TipcReplyWords(ctx, {0, 0, 0});
+ TipcReplyWords(ctx, {1, 0, 400});
}
// 212(u64 layer): u64 bits of the layer's buffer slots that are ready. The client polls it once