X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fgpu.h;h=ec5019c9cf2317e7ef3a40185b9701c6fad503b5;hb=1e98ada32a77394ce8d14a33d689680764d8e41a;hp=21384e5825e6a1a2a7a8ae9f894313bd043b7e57;hpb=4db82c07d8cd8357720ab8305a14a325dd7f2dc4;p=pcsx_rearmed.git diff --git a/libpcsxcore/gpu.h b/libpcsxcore/gpu.h index 21384e58..ec5019c9 100644 --- a/libpcsxcore/gpu.h +++ b/libpcsxcore/gpu.h @@ -31,7 +31,7 @@ #define PSXGPU_FIELD (1u<<13) // both must be set for interlace to work -#define PSXGPU_ILACE_BITS (PSXGPU_ILACE | PSXGPU_DHEIGHT | PSXGPU_FIELD) +#define PSXGPU_ILACE_BITS (PSXGPU_ILACE | PSXGPU_DHEIGHT) #define HW_GPU_STATUS psxHu32ref(0x1814) @@ -43,4 +43,12 @@ HW_GPU_STATUS |= SWAP32(GPU_readStatus() & ~PSXGPU_TIMING_BITS); \ } +enum psx_gpu_state { + PGS_VRAM_TRANSFER_START, + PGS_VRAM_TRANSFER_END, + PGS_PRIMITIVE_START, // for non-dma only +}; + +void gpu_state_change(int what); + #endif /* __GPU_H__ */