distribution/packages/emulators/standalone/duckstation-sa/patches/wayland/aarch64/001-path-program.patch
2023-10-02 02:03:08 +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";