Normalized whitespaces for changed lines

This commit is contained in:
Marco Köpcke 2022-03-30 18:33:04 +02:00 committed by Parakoopa
parent 8699544185
commit dc02de0a4a
1 changed files with 8 additions and 8 deletions

View File

@ -98,21 +98,21 @@ EXPORTED void desmume_set_language(u8 lang)
EXPORTED int desmume_open(const char *filename) EXPORTED int desmume_open(const char *filename)
{ {
int i; int i;
if (rom_opened) { if (rom_opened) {
NDS_FreeROM(); NDS_FreeROM();
} }
clear_savestates(); clear_savestates();
i = NDS_LoadROM(filename); i = NDS_LoadROM(filename);
if (i > 0) { if (i > 0) {
rom_opened = true; rom_opened = true;
} }
return i; return i;
} }
EXPORTED void desmume_close() EXPORTED void desmume_close()
{ {
NDS_FreeROM(); NDS_FreeROM();
rom_opened = false; rom_opened = false;
} }
EXPORTED void desmume_set_savetype(int type) { EXPORTED void desmume_set_savetype(int type) {