aboutsummaryrefslogtreecommitdiff
path: root/src/NDSCart.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-06-20 02:23:45 +0200
committerArisotura <thetotalworm@gmail.com>2021-06-20 02:23:45 +0200
commitdd2b86d0269a5a35c5a0a819eddebaec1621f1c3 (patch)
tree4f2e364c9e3feab47a9abee015be17aa0cb98599 /src/NDSCart.cpp
parent5b9f9726251717ede5f040d276dd700278e8963e (diff)
add missing default return value. fixes #1105
Diffstat (limited to 'src/NDSCart.cpp')
-rw-r--r--src/NDSCart.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp
index a0bd68c..96cbaa3 100644
--- a/src/NDSCart.cpp
+++ b/src/NDSCart.cpp
@@ -1118,6 +1118,8 @@ u8 CartRetailIR::SPIWrite(u8 val, u32 pos, bool last)
case 0x08: // ID
return 0xAA;
}
+
+ return 0;
}