mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-27 11:11:50 +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;
|
||||
|
||||
bool prefFound = false;
|
||||
char filepath[4][MAXPATHLEN];
|
||||
char filepath[5][MAXPATHLEN];
|
||||
int numDevices;
|
||||
|
||||
#ifdef HW_RVL
|
||||
|
Loading…
Reference in New Issue
Block a user