Refactoring (#6143)
Prefer vm::ptr<>::ptr over vm::get_addr.
Prefer vm::_ptr/base over vm::g_base_addr with offset.
Added methods atomic_t<>::bts and atomic_t<>::btr .
Removed obsolute rsx::thread::Read/WriteIO32 methods.
Removed wrong check in semaphore_release.
Added handling for PUTRx commands for RawSPU MFC proxy.
Prefer overloaded methods of v128 instead of _mm_... in VPKSHUS ppu interpreter precise.
Fixed more potential overflows that may result in wrong behaviour.
Added io/size alignment check for sys_rsx_context_iounmap.
Added rsx::constants::local_mem_base which represents RSX local memory base address.
Removed obsolute rsx::thread::main_mem_addr/ioSize/ioAddress members.
This commit is contained in:
+11
-1
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include "types.h"
|
||||
#include <functional>
|
||||
@@ -1163,4 +1163,14 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool bts(uint bit)
|
||||
{
|
||||
return atomic_storage<type>::bts(m_data, bit);
|
||||
}
|
||||
|
||||
bool btr(uint bit)
|
||||
{
|
||||
return atomic_storage<type>::btr(m_data, bit);
|
||||
}
|
||||
};
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <intrin.h>
|
||||
|
||||
Reference in New Issue
Block a user