aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorgbc dev <gbc@localhost>2026-07-04 22:05:31 +0200
committergbc dev <gbc@localhost>2026-07-04 22:05:31 +0200
commit0d0f4f1d23851c0c34e518834f7d316e61dec1f3 (patch)
treee46296c247617ee0ead1fb93e9d0dc475a07f9b9 /src/types.h
downloadsl0pboy-0d0f4f1d23851c0c34e518834f7d316e61dec1f3.tar.gz
sl0pboy-0d0f4f1d23851c0c34e518834f7d316e61dec1f3.tar.xz
sl0pboy-0d0f4f1d23851c0c34e518834f7d316e61dec1f3.zip
scaffolding: build system, cartridge loader with MBC1/2/3/5, core types
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
new file mode 100644
index 0000000..ceed8a0
--- /dev/null
+++ b/src/types.h
@@ -0,0 +1,16 @@
+#ifndef GBC_TYPES_H
+#define GBC_TYPES_H
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <stddef.h>
+
+typedef uint8_t u8;
+typedef uint16_t u16;
+typedef uint32_t u32;
+typedef uint64_t u64;
+typedef int8_t s8;
+typedef int16_t s16;
+typedef int32_t s32;
+
+#endif