mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 08:00:05 +00:00
Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.
This commit is contained in:
parent
5f9939070e
commit
54d6f6c82b
@ -622,15 +622,15 @@ std::string GetBundleDirectory()
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
std::string& GetExeDirectory()
|
std::string& GetExeDirectory()
|
||||||
{
|
{
|
||||||
static std::string DolphinPath;
|
static std::string exe_path;
|
||||||
if (DolphinPath.empty())
|
if (exe_path.empty())
|
||||||
{
|
{
|
||||||
TCHAR Dolphin_exe_Path[2048];
|
TCHAR tchar_exe_path[2048];
|
||||||
GetModuleFileName(nullptr, Dolphin_exe_Path, 2048);
|
GetModuleFileName(nullptr, tchar_exe_path, 2048);
|
||||||
DolphinPath = Common::TStrToUTF8(Dolphin_exe_Path);
|
exe_path = Common::TStrToUTF8(tchar_exe_path);
|
||||||
DolphinPath = DolphinPath.substr(0, DolphinPath.find_last_of('\\'));
|
exe_path = exe_path.substr(0, exe_path.find_last_of('\\'));
|
||||||
}
|
}
|
||||||
return DolphinPath;
|
return exe_path;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ void MemArena::GrabLowMemSpace(size_t size)
|
|||||||
GetSystemInfo(&sysInfo);
|
GetSystemInfo(&sysInfo);
|
||||||
#elif defined(ANDROID)
|
#elif defined(ANDROID)
|
||||||
// Use ashmem so we don't have to allocate a file on disk!
|
// 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.
|
// Note that it appears that ashmem is pinned by default, so no need to pin.
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user