GBA: Fix unintialized stack variable
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 Apr 2015 21:45:46 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/supervisor/overrides.c
→
src/gba/supervisor/overrides.c
@@ -156,7 +156,7 @@ bool GBAOverrideFind(const struct Configuration* config, struct GBACartridgeOverride* override) {
override->savetype = SAVEDATA_AUTODETECT; override->hardware = HW_NONE; override->idleLoop = IDLE_LOOP_NONE; - bool found; + bool found = false; if (override->id[0] == 'F') { // Classic NES Series