mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-03 12:29:44 -06:00
oh also, fuck that shit
This commit is contained in:
@ -306,7 +306,7 @@ void OnOpenFile(uiMenuItem* item, uiWindow* window, void* blarg)
|
||||
return;
|
||||
}
|
||||
|
||||
strncpy_s(ROMPath, file, 1023);
|
||||
strncpy(ROMPath, file, 1023);
|
||||
ROMPath[1023] = '\0';
|
||||
uiFreeText(file);
|
||||
// TODO: change libui to store strings in stack-allocated buffers?
|
||||
|
Reference in New Issue
Block a user