mirror of https://github.com/mgba-emu/mgba.git
GB Core: Fix uninitialized variable
This commit is contained in:
parent
40333fb69c
commit
cca3a94617
|
@ -261,7 +261,7 @@ static void _GBCoreReset(struct mCore* core) {
|
|||
}
|
||||
if (!found) {
|
||||
GBDetectModel(gb);
|
||||
const char* configPath;
|
||||
const char* configPath = NULL;
|
||||
|
||||
switch (gb->model) {
|
||||
case GB_MODEL_DMG:
|
||||
|
|
Loading…
Reference in New Issue