bugfix: fixed a bug that caused SUNSHINE_CLIENT_HDR to always be false

This commit is contained in:
Chase Payne 2023-08-14 18:27:59 -05:00 committed by Cameron Gutman
parent 980e396c4f
commit 2c953a3ce7

View File

@ -287,7 +287,7 @@ namespace nvhttp {
launch_session.enable_sops = util::from_view(get_arg(args, "sops", "0"));
launch_session.surround_info = util::from_view(get_arg(args, "surroundAudioInfo", "196610"));
launch_session.gcmap = util::from_view(get_arg(args, "gcmap", "0"));
launch_session.enable_hdr = util::from_view(get_arg(args, "enableHdr", "0"));
launch_session.enable_hdr = util::from_view(get_arg(args, "hdrMode", "0"));
uint32_t prepend_iv = util::endian::big<uint32_t>(util::from_view(get_arg(args, "rikeyid")));
auto prepend_iv_p = (uint8_t *) &prepend_iv;