distribution/packages/games/emulators/duckstationsa/patches/wayland/001-path-program.patch
2023-01-08 22:49:32 +00:00

22 lines
629 B
Diff

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