diff options
| author | 2015-02-20 16:53:22 +0000 | |
|---|---|---|
| committer | 2015-02-20 16:54:10 +0000 | |
| commit | 54d6f6c82b230b4934b1d52e6c2cf5f9d0d36396 (patch) | |
| tree | ccb75b767a8228c3d27ffbdc37dd761c1cd332c4 /src/common/file_util.cpp | |
| parent | Merge pull request #588 from archshift/somebranch (diff) | |
| download | yuzu-54d6f6c82b230b4934b1d52e6c2cf5f9d0d36396.tar.gz yuzu-54d6f6c82b230b4934b1d52e6c2cf5f9d0d36396.tar.xz yuzu-54d6f6c82b230b4934b1d52e6c2cf5f9d0d36396.zip | |
Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.
Diffstat (limited to 'src/common/file_util.cpp')
| -rw-r--r-- | src/common/file_util.cpp | 14 |
1 files changed, 7 insertions, 7 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() | |||
| 622 | #ifdef _WIN32 | 622 | #ifdef _WIN32 |
| 623 | std::string& GetExeDirectory() | 623 | std::string& GetExeDirectory() |
| 624 | { | 624 | { |
| 625 | static std::string DolphinPath; | 625 | static std::string exe_path; |
| 626 | if (DolphinPath.empty()) | 626 | if (exe_path.empty()) |
| 627 | { | 627 | { |
| 628 | TCHAR Dolphin_exe_Path[2048]; | 628 | TCHAR tchar_exe_path[2048]; |
| 629 | GetModuleFileName(nullptr, Dolphin_exe_Path, 2048); | 629 | GetModuleFileName(nullptr, tchar_exe_path, 2048); |
| 630 | DolphinPath = Common::TStrToUTF8(Dolphin_exe_Path); | 630 | exe_path = Common::TStrToUTF8(tchar_exe_path); |
| 631 | DolphinPath = DolphinPath.substr(0, DolphinPath.find_last_of('\\')); | 631 | exe_path = exe_path.substr(0, exe_path.find_last_of('\\')); |
| 632 | } | 632 | } |
| 633 | return DolphinPath; | 633 | return exe_path; |
| 634 | } | 634 | } |
| 635 | #endif | 635 | #endif |
| 636 | 636 | ||