mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-26 04:24:16 +01:00
Update preferences.cpp
on wii, it tries to access 5 elements even though filepath only holds 4, meaning it overwrites part of the stack leading to random crashes etc.
This commit is contained in:
parent
221a547c3e
commit
c6fb52762b
@ -813,7 +813,7 @@ bool LoadPrefs()
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
bool prefFound = false;
|
bool prefFound = false;
|
||||||
char filepath[4][MAXPATHLEN];
|
char filepath[5][MAXPATHLEN];
|
||||||
int numDevices;
|
int numDevices;
|
||||||
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
|
Loading…
Reference in New Issue
Block a user