mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-12 16:19:44 -06:00
rsx: Fix swapped width/height in NV309E_SET_FORMAT decoder
This commit is contained in:
parent
fb1c1eeaef
commit
892b7d8bb2
@ -3775,12 +3775,12 @@ struct registers_decoder<NV309E_SET_FORMAT>
|
||||
|
||||
u8 sw_height_log2() const
|
||||
{
|
||||
return bf_decoder<16, 8>(value);
|
||||
return bf_decoder<24, 8>(value);
|
||||
}
|
||||
|
||||
u8 sw_width_log2() const
|
||||
{
|
||||
return bf_decoder<24, 8>(value);
|
||||
return bf_decoder<16, 8>(value);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user