distribution/packages/emulators/standalone/vita3k-sa/patches/001-base-path.patch
2023-09-07 21:08:45 +00:00

15 lines
761 B
Diff

diff --git a/vita3k/main.cpp b/vita3k/main.cpp
index 4439ad9b6e..c26b84ff82 100644
--- a/vita3k/main.cpp
+++ b/vita3k/main.cpp
@@ -84,8 +84,8 @@ static void run_execv(char *argv[], EmuEnvState &emuenv) {
int main(int argc, char *argv[]) {
ZoneScoped; // Tracy - Track main function scope
Root root_paths;
- root_paths.set_base_path(string_utils::utf_to_wide(SDL_GetBasePath()));
- root_paths.set_pref_path(string_utils::utf_to_wide(SDL_GetPrefPath(org_name, app_name)));
+ root_paths.set_base_path(string_utils::utf_to_wide("/storage/.config/vita3k/"));
+ root_paths.set_pref_path(string_utils::utf_to_wide("/storage/psvita/vita3k/"));
// Create default preference path for safety
if (!fs::exists(root_paths.get_pref_path()))