mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
GRAAAAAAAHH
can we be done with the stupidity now pls
This commit is contained in:
@ -1717,10 +1717,10 @@ bool LoadROM(const char* path, const char* sram, bool direct)
|
||||
|
||||
NDS::Reset();
|
||||
|
||||
char* romname = strrchr(path, '/');
|
||||
char* romname = strrchr((char*)path, '/');
|
||||
if (!romname)
|
||||
{
|
||||
romname = strrchr(path, '\\');
|
||||
romname = strrchr((char*)path, '\\');
|
||||
if (!romname)
|
||||
romname = (char*)&path[-1];
|
||||
}
|
||||
|
Reference in New Issue
Block a user