Linux: Fixed save files/screenshots folder
This commit is contained in:
parent
d1f10fddd8
commit
6547594f14
2 changed files with 2 additions and 2 deletions
|
@ -341,7 +341,7 @@ uint32_t BaseMapper::GetCHRPageCount()
|
||||||
|
|
||||||
string BaseMapper::GetBatteryFilename()
|
string BaseMapper::GetBatteryFilename()
|
||||||
{
|
{
|
||||||
return FolderUtilities::GetSaveFolder() + FolderUtilities::GetFilename(_romName, false) + ".sav";
|
return FolderUtilities::CombinePath(FolderUtilities::GetSaveFolder(), FolderUtilities::GetFilename(_romName, false) + ".sav");
|
||||||
}
|
}
|
||||||
|
|
||||||
void BaseMapper::RestoreOriginalPrgRam()
|
void BaseMapper::RestoreOriginalPrgRam()
|
||||||
|
|
|
@ -82,7 +82,7 @@ void BaseVideoFilter::TakeScreenshot()
|
||||||
}
|
}
|
||||||
|
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
string baseFilename = FolderUtilities::GetScreenshotFolder() + romFilename;
|
string baseFilename = FolderUtilities::CombinePath(FolderUtilities::GetScreenshotFolder(), romFilename);
|
||||||
string ssFilename;
|
string ssFilename;
|
||||||
while(true) {
|
while(true) {
|
||||||
string counterStr = std::to_string(counter);
|
string counterStr = std::to_string(counter);
|
||||||
|
|
Loading…
Add table
Reference in a new issue