Revert "Replace GetEmuDir() with GetExeDir() in handle_rpcs3"

This reverts commit f9eb6a31bd.
This commit is contained in:
Ivan
2021-02-09 22:18:32 +03:00
parent bc938ce630
commit 04c187deb5
+2 -2
View File
@@ -385,7 +385,7 @@ bool update_manager::handle_rpcs3(const QByteArray& data)
usz outBufferSize = 0;
// Creates temp folder for moving active files
const std::string tmp_folder = Emulator::GetExeDir() + "rpcs3_old/";
const std::string tmp_folder = Emulator::GetEmuDir() + "rpcs3_old/";
fs::create_dir(tmp_folder);
for (UInt32 i = 0; i < db.NumFiles; i++)
@@ -420,7 +420,7 @@ bool update_manager::handle_rpcs3(const QByteArray& data)
temp_u8[len] = 0;
std::string name((char*)temp_u8);
name = Emulator::GetExeDir() + name;
name = Emulator::GetEmuDir() + name;
if (!isDir)
{