summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-02-20 19:26:15 +0100
committerbunnei <bunneidev@gmail.com>2015-02-20 19:26:15 +0100
commit3c5aaafb402dec431517faeb49a4b30c5ac42495 (patch)
treeccb75b767a8228c3d27ffbdc37dd761c1cd332c4 /src
parentMerge pull request #588 from archshift/somebranch (diff)
parentCommon: Change names containing “Dolphin” or “PPSSPP” to something more generic. (diff)
downloadyuzu-3c5aaafb402dec431517faeb49a4b30c5ac42495.tar
yuzu-3c5aaafb402dec431517faeb49a4b30c5ac42495.tar.gz
yuzu-3c5aaafb402dec431517faeb49a4b30c5ac42495.tar.bz2
yuzu-3c5aaafb402dec431517faeb49a4b30c5ac42495.tar.lz
yuzu-3c5aaafb402dec431517faeb49a4b30c5ac42495.tar.xz
yuzu-3c5aaafb402dec431517faeb49a4b30c5ac42495.tar.zst
yuzu-3c5aaafb402dec431517faeb49a4b30c5ac42495.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/file_util.cpp14
-rw-r--r--src/common/mem_arena.cpp2
2 files changed, 8 insertions, 8 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index 706e7c842..457376bf4 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -622,15 +622,15 @@ std::string GetBundleDirectory()
#ifdef _WIN32
std::string& GetExeDirectory()
{
- static std::string DolphinPath;
- if (DolphinPath.empty())
+ static std::string exe_path;
+ if (exe_path.empty())
{
- TCHAR Dolphin_exe_Path[2048];
- GetModuleFileName(nullptr, Dolphin_exe_Path, 2048);
- DolphinPath = Common::TStrToUTF8(Dolphin_exe_Path);
- DolphinPath = DolphinPath.substr(0, DolphinPath.find_last_of('\\'));
+ TCHAR tchar_exe_path[2048];
+ GetModuleFileName(nullptr, tchar_exe_path, 2048);
+ exe_path = Common::TStrToUTF8(tchar_exe_path);
+ exe_path = exe_path.substr(0, exe_path.find_last_of('\\'));
}
- return DolphinPath;
+ return exe_path;
}
#endif
diff --git a/src/common/mem_arena.cpp b/src/common/mem_arena.cpp
index cc31a88cc..76c70701d 100644
--- a/src/common/mem_arena.cpp
+++ b/src/common/mem_arena.cpp
@@ -116,7 +116,7 @@ void MemArena::GrabLowMemSpace(size_t size)
GetSystemInfo(&sysInfo);
#elif defined(ANDROID)
// Use ashmem so we don't have to allocate a file on disk!
- fd = ashmem_create_region("PPSSPP_RAM", size);
+ fd = ashmem_create_region("Citra_RAM", size);
// Note that it appears that ashmem is pinned by default, so no need to pin.
if (fd < 0)
{