mirror of
https://github.com/libretro/beetle-wswan-libretro.git
synced 2024-11-23 07:59:40 +00:00
commit
b129bb3ee5
@ -540,7 +540,8 @@ void retro_init(void)
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY, &dir) && dir)
|
||||
{
|
||||
// If save directory is defined use it, otherwise use system directory
|
||||
retro_save_directory = *dir ? dir : retro_base_directory;
|
||||
// retro_save_directory = *dir ? dir : retro_base_directory;
|
||||
retro_save_directory = dir;
|
||||
// Make sure that we don't have any lingering slashes, etc, as they break Windows.
|
||||
size_t last = retro_save_directory.find_last_not_of("/\\");
|
||||
if (last != std::string::npos)
|
||||
|
Loading…
Reference in New Issue
Block a user