aboutsummaryrefslogtreecommitdiff
path: root/src/GBACart.cpp
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-01-22 18:20:32 +0000
committerGitHub <noreply@github.com>2021-01-22 19:20:32 +0100
commit9994d3a6441c6fa7e7c4b7c2557db501f8961b6f (patch)
tree8c30dd2644f37df6b0f22a911b95fe377173dfc2 /src/GBACart.cpp
parent34da7f5cc3f1a8a93ddf6df4373c1b69d2429bdb (diff)
Add FreeBSD support (#939)
* Add FreeBSD support * Fix indentation * Fix Linux not finding OpenGL * Link POSIX Realtime Extensions library * Link POSIX Realtime Extensions when OpenGL is enabled too * Fail if shm_open memory exists and also check for errors * fix the last commit * (try to) Setup FreeBSD CI * Fix some issues with FreeBSD CI * Make with all cores * Remove FreeBSD CI It doesn't want to work for some reason
Diffstat (limited to 'src/GBACart.cpp')
-rw-r--r--src/GBACart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GBACart.cpp b/src/GBACart.cpp
index 9188408..97c83a7 100644
--- a/src/GBACart.cpp
+++ b/src/GBACart.cpp
@@ -546,8 +546,8 @@ void Eject()
HasSolarSensor = false;
CartROM = NULL;
CartROMSize = 0;
- CartCRC = NULL;
- CartID = NULL;
+ CartCRC = 0;
+ CartID = 0;
CartGPIO = {};
GBACart_SRAM::Eject();