mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 09:39:44 +00:00
rsx: Fix potential out of range methods execution (can result in segfaults)
This commit is contained in:
parent
51188db717
commit
500a4fa2fb
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ namespace rsx
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const u32 reg = command.reg >> 2;
|
const u32 reg = (command.reg & 0xffff) >> 2;
|
||||||
const u32 value = command.value;
|
const u32 value = command.value;
|
||||||
|
|
||||||
method_registers.decode(reg, value);
|
method_registers.decode(reg, value);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue