mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
Fix running the emulator with AUDIT enabled
This commit is contained in:
parent
af8c871411
commit
0dd9c386ee
2 changed files with 2 additions and 2 deletions
|
@ -4326,7 +4326,7 @@ s64 spu_thread::get_ch_value(u32 ch)
|
||||||
atomic_wait_engine::set_one_time_use_wait_callback(mask1 != SPU_EVENT_LR ? nullptr : +[](u64 attempts) -> bool
|
atomic_wait_engine::set_one_time_use_wait_callback(mask1 != SPU_EVENT_LR ? nullptr : +[](u64 attempts) -> bool
|
||||||
{
|
{
|
||||||
const auto _this = static_cast<spu_thread*>(cpu_thread::get_current());
|
const auto _this = static_cast<spu_thread*>(cpu_thread::get_current());
|
||||||
AUDIT(_this->id_type() == 1);
|
AUDIT(_this->id_type() == 2);
|
||||||
|
|
||||||
const auto old = +_this->state;
|
const auto old = +_this->state;
|
||||||
|
|
||||||
|
|
|
@ -1544,7 +1544,7 @@ namespace vm
|
||||||
|
|
||||||
static void load_memory_bytes(utils::serial& ar, u8* ptr, usz size)
|
static void load_memory_bytes(utils::serial& ar, u8* ptr, usz size)
|
||||||
{
|
{
|
||||||
AUDIT(ar.is_writing() && !(size % 128));
|
AUDIT(!ar.is_writing() && !(size % 128));
|
||||||
|
|
||||||
for (; size; ptr += 128 * 8, size -= 128 * 8)
|
for (; size; ptr += 128 * 8, size -= 128 * 8)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue