mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-25 20:14:26 -06:00
rsx: Fix potential out of range methods execution (can result in segfaults)
This commit is contained in:
parent
51188db717
commit
500a4fa2fb
@ -548,7 +548,7 @@ namespace rsx
|
||||
}
|
||||
}
|
||||
|
||||
const u32 reg = command.reg >> 2;
|
||||
const u32 reg = (command.reg & 0xffff) >> 2;
|
||||
const u32 value = command.value;
|
||||
|
||||
method_registers.decode(reg, value);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user