mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Rsx: fix translation when address is negative
move address shift to where it should be, extend io table to catch all possible values.
This commit is contained in:
parent
d1d1b2effd
commit
158019b50f
3 changed files with 6 additions and 13 deletions
|
|
@ -80,8 +80,7 @@ void InitOffsetTable()
|
|||
memset(offsetTable.eaAddress.get_ptr(), 0xFF, 512 * sizeof(u16));
|
||||
memset(IoMapTable, 0, 3072 * sizeof(u16));
|
||||
|
||||
memset(RSXIOMem.ea, 0xFF, 512 * sizeof(u16));
|
||||
memset(RSXIOMem.io, 0xFF, 3072 * sizeof(u16));
|
||||
memset(&RSXIOMem, 0xFF, sizeof(RSXIOMem));
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue