Last Clang

This commit is contained in:
Dmugetsu 2025-02-16 12:27:43 -06:00
parent 86a10d6e4a
commit eda0db6995

View File

@ -336,7 +336,7 @@ void Emulator::Restart() {
return;
}
}
void Core::Emulator::LoadSystemModules(const std::string& game_serial) {
void Core::Emulator::LoadSystemModules(const std::string& game_serial) {
constexpr std::array<SysModules, 11> ModulesToLoad{
{{"libSceNgs2.sprx", &Libraries::Ngs2::RegisterlibSceNgs2},
{"libSceUlt.sprx", nullptr},
@ -379,10 +379,10 @@ void Emulator::Restart() {
linker->LoadModule(entry.path());
}
}
}
}
#ifdef ENABLE_QT_GUI
void Core::Emulator::UpdatePlayTime(const std::string& serial) const {
void Core::Emulator::UpdatePlayTime(const std::string& serial) const {
const auto user_dir = Common::FS::GetUserPath(Common::FS::PathType::UserDir);
QString filePath = QString::fromStdString((user_dir / "play_time.txt").string());
@ -448,7 +448,7 @@ void Emulator::Restart() {
}
}
LOG_INFO(Loader, "Playing time for {}: {}", serial, playTimeSaved.toStdString());
}
}
#endif
} // namespace Core