X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fgpu.h;h=9dfe63475c9f976a1549f7cb8efe1192520c6d1d;hb=ececcc61fa9115edcc51892a27aaa720d983e23e;hp=63a5572034d10e58dabe036cefb140ed1df3a1df;hpb=c2502333b2e56e520bb9ecc2f931a639eee415d7;p=pcsx_rearmed.git diff --git a/libpcsxcore/gpu.h b/libpcsxcore/gpu.h index 63a55720..9dfe6347 100644 --- a/libpcsxcore/gpu.h +++ b/libpcsxcore/gpu.h @@ -35,6 +35,6 @@ #define PSXGPU_TIMING_BITS (PSXGPU_LCF | PSXGPU_nBUSY) #define gpuSyncPluginSR() { \ - HW_GPU_STATUS &= PSXGPU_TIMING_BITS; \ - HW_GPU_STATUS |= GPU_readStatus() & ~PSXGPU_TIMING_BITS; \ + HW_GPU_STATUS &= SWAP32(PSXGPU_TIMING_BITS); \ + HW_GPU_STATUS |= SWAP32(GPU_readStatus() & ~PSXGPU_TIMING_BITS); \ }