mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
More random changes
This commit is contained in:
parent
a485957130
commit
a16d8ba3ea
211 changed files with 576 additions and 748 deletions
|
@ -592,7 +592,7 @@ std::string Emulator::GetBackgroundPicturePath() const
|
|||
return path;
|
||||
}
|
||||
|
||||
std::string Emulator::PPUCache() const
|
||||
std::string Emulator::PPUCache()
|
||||
{
|
||||
auto& _main = g_fxo->get<ppu_module>();
|
||||
|
||||
|
@ -865,8 +865,8 @@ std::string Emulator::GetExeDir()
|
|||
wchar_t buffer[32767];
|
||||
GetModuleFileNameW(nullptr, buffer, sizeof(buffer)/2);
|
||||
|
||||
std::string path_to_exe = wchar_to_utf8(buffer);
|
||||
usz last = path_to_exe.find_last_of("\\");
|
||||
const std::string path_to_exe = wchar_to_utf8(buffer);
|
||||
const usz last = path_to_exe.find_last_of('\\');
|
||||
return last == std::string::npos ? std::string("") : path_to_exe.substr(0, last+1);
|
||||
}
|
||||
#endif
|
||||
|
@ -2222,7 +2222,7 @@ void Emulator::ConfigureLogs()
|
|||
was_silenced = silenced;
|
||||
}
|
||||
|
||||
void Emulator::ConfigurePPUCache()
|
||||
void Emulator::ConfigurePPUCache() const
|
||||
{
|
||||
auto& _main = g_fxo->get<ppu_module>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue