distribution/packages/games/emulators/duckstationsa/patches/new/001-path-program.patch

23 lines
629 B
Diff
Raw Normal View History

diff --git a/src/common/file_system.cpp b/src/common/file_system.cpp
2022-09-16 19:02:49 +00:00
index b22db26e..092fa9ee 100644
--- a/src/common/file_system.cpp
+++ b/src/common/file_system.cpp
2022-09-16 19:02:49 +00:00
@@ -1308,6 +1308,8 @@ bool FileSystem::DeleteDirectory(const char* path)
2022-09-16 19:02:49 +00:00
std::string FileSystem::GetProgramPath()
{
+ return "/storage/.config/duckstation";
+
std::wstring buffer;
buffer.resize(MAX_PATH);
2022-09-16 19:02:49 +00:00
@@ -1789,6 +1791,8 @@ bool FileSystem::DeleteDirectory(const char* path)
2022-09-16 19:02:49 +00:00
std::string FileSystem::GetProgramPath()
{
+ return "/storage/.config/duckstation";
+
#if defined(__linux__)
static const char* exeFileName = "/proc/self/exe";