mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Reservation implemented
Some SPU bugs fixed; sys_spu_thread_get_exit_status sys_spu_thread_group_destroy
This commit is contained in:
parent
cfe154d916
commit
6c606be09f
16 changed files with 272 additions and 148 deletions
|
@ -749,7 +749,7 @@ int32_t cellGcmUnmapEaIoAddress(u64 ea)
|
|||
ea = ea >> 20;
|
||||
io = Memory.Read16(offsetTable.io + (ea*sizeof(u16)));
|
||||
|
||||
for(int i=0; i<size; i++)
|
||||
for(u32 i=0; i<size; i++)
|
||||
{
|
||||
Memory.Write16(offsetTable.io + ((ea+i)*sizeof(u16)), 0xFFFF);
|
||||
Memory.Write16(offsetTable.ea + ((io+i)*sizeof(u16)), 0xFFFF);
|
||||
|
@ -772,7 +772,7 @@ int32_t cellGcmUnmapIoAddress(u64 io)
|
|||
io = io >> 20;
|
||||
ea = Memory.Read16(offsetTable.ea + (io*sizeof(u16)));
|
||||
|
||||
for(int i=0; i<size; i++)
|
||||
for(u32 i=0; i<size; i++)
|
||||
{
|
||||
Memory.Write16(offsetTable.io + ((ea+i)*sizeof(u16)), 0xFFFF);
|
||||
Memory.Write16(offsetTable.ea + ((io+i)*sizeof(u16)), 0xFFFF);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue