From dd2b86d0269a5a35c5a0a819eddebaec1621f1c3 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sun, 20 Jun 2021 02:23:45 +0200 Subject: [PATCH] add missing default return value. fixes #1105 --- src/NDSCart.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index a0bd68c0..96cbaa33 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; }