1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Fix running the emulator with AUDIT enabled

This commit is contained in:
kd-11 2022-10-02 02:58:34 +03:00 committed by kd-11
parent af8c871411
commit 0dd9c386ee
2 changed files with 2 additions and 2 deletions

View File

@ -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
{
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;

View File

@ -1544,7 +1544,7 @@ namespace vm
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)
{