distribution/packages/games/emulators/duckstationsa/patches/RG351P/002-path-getdirectory.patch
Brooksytech b1a006b21f
Add Duckstation Standalone Emulator. (#22)
* initial duckstation SA implementation
2022-07-13 12:47:58 -07:00

14 lines
491 B
Diff

diff --git a/src/common/file_system.cpp b/src/common/file_system.cpp
index ceb2f08..0fa5a04 100644
--- a/src/common/file_system.cpp
+++ b/src/common/file_system.cpp
@@ -683,6 +683,9 @@ std::string GetDisplayNameFromPath(const std::string_view& path)
std::string_view GetPathDirectory(const std::string_view& path)
{
+
+ return "/storage/.config/duckstation";
+
std::string::size_type pos = GetLastSeperatorPosition(path, false);
if (pos == std::string_view::npos)
return {};