Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Commit a0ddaae

Browse files
committed
Fixing auto-load feature
1 parent 3fcd94f commit a0ddaae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/burn/devices/eeprom.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,16 @@ void EEPROMExit()
120120
#endif
121121

122122
char output[128];
123+
#ifdef __LIBRETRO__
124+
#ifdef _WIN32
125+
char slash = '\\';
126+
#else
127+
char slash = '/';
128+
#endif
129+
sprintf (output, "%s%c%s.nv", g_rom_dir, slash, BurnDrvGetTextA(DRV_NAME));
130+
#else
123131
sprintf (output, "config/games/%s.nv", BurnDrvGetTextA(DRV_NAME));
132+
#endif
124133

125134
neeprom_available = 0;
126135

0 commit comments

Comments
 (0)