mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 13:20:57 -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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
strncpy_s(ROMPath, file, 1023);
|
strncpy(ROMPath, file, 1023);
|
||||||
ROMPath[1023] = '\0';
|
ROMPath[1023] = '\0';
|
||||||
uiFreeText(file);
|
uiFreeText(file);
|
||||||
// TODO: change libui to store strings in stack-allocated buffers?
|
// TODO: change libui to store strings in stack-allocated buffers?
|
||||||
|
Reference in New Issue
Block a user