aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/gpu.h
diff options
context:
space:
mode:
authorAutechre2020-08-04 17:40:56 +0200
committerGitHub2020-08-04 17:40:56 +0200
commitedfb913768c9ebd50a0ba810697e2ab7056bcc3e (patch)
tree7a12bf7b69f7f47fa3fed0d625530a3250d81be7 /libpcsxcore/gpu.h
parent31afa58d0576516307bb1f634bd23595d676f2f3 (diff)
parent908e426cc1ef2187357ed8fb59edd99b8a8060c9 (diff)
downloadpcsx_rearmed-edfb913768c9ebd50a0ba810697e2ab7056bcc3e.tar.gz
pcsx_rearmed-edfb913768c9ebd50a0ba810697e2ab7056bcc3e.tar.bz2
pcsx_rearmed-edfb913768c9ebd50a0ba810697e2ab7056bcc3e.zip
Merge pull request #443 from negativeExponent/add-header-guards
Add header guards
Diffstat (limited to 'libpcsxcore/gpu.h')
-rw-r--r--libpcsxcore/gpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpcsxcore/gpu.h b/libpcsxcore/gpu.h
index 63a5572..98a22a0 100644
--- a/libpcsxcore/gpu.h
+++ b/libpcsxcore/gpu.h
@@ -21,6 +21,9 @@
* that GPU plugin doesn't.
*/
+#ifndef __GPU_H__
+#define __GPU_H__
+
#define PSXGPU_LCF (1<<31)
#define PSXGPU_nBUSY (1<<26)
#define PSXGPU_ILACE (1<<22)
@@ -38,3 +41,5 @@
HW_GPU_STATUS &= PSXGPU_TIMING_BITS; \
HW_GPU_STATUS |= GPU_readStatus() & ~PSXGPU_TIMING_BITS; \
}
+
+#endif /* __GPU_H__ */