notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psxhw: debug-log more weird writes
[pcsx_rearmed.git]
/
libpcsxcore
/
gpu.h
diff --git
a/libpcsxcore/gpu.h
b/libpcsxcore/gpu.h
index
21384e5
..
ec5019c
100644
(file)
--- 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_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)
#define HW_GPU_STATUS psxHu32ref(0x1814)
@@
-43,4
+43,12
@@
HW_GPU_STATUS |= SWAP32(GPU_readStatus() & ~PSXGPU_TIMING_BITS); \
}
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__ */
#endif /* __GPU_H__ */