mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 04:03:49 +01:00
Fix some bad "for (auto x : y)" usage
This commit is contained in:
1 parent
62e4b2852c
commit
dbe6ec80a0
17 files changed
+31
-27
No files matched your search
+8
-4
@@ -345,8 +345,10 @@ void EmuScreen::ProcessGameBoot(const Path &filename) {
|
||||
return;
|
||||
}
|
||||
|
||||
loadingViewColor_->Divert(0xFFFFFFFF, 0.75f);
|
||||
loadingViewVisible_->Divert(UI::V_VISIBLE, 0.75f);
|
||||
if (loadingViewColor_)
|
||||
loadingViewColor_->Divert(0xFFFFFFFF, 0.75f);
|
||||
if (loadingViewVisible_)
|
||||
loadingViewVisible_->Divert(UI::V_VISIBLE, 0.75f);
|
||||
|
||||
screenManager()->getDrawContext()->ResetStats();
|
||||
|
||||
@@ -431,8 +433,10 @@ void EmuScreen::bootComplete() {
|
||||
|
||||
saveStateSlot_ = SaveState::GetCurrentSlot();
|
||||
|
||||
loadingViewColor_->Divert(0x00FFFFFF, 0.2f);
|
||||
loadingViewVisible_->Divert(UI::V_INVISIBLE, 0.2f);
|
||||
if (loadingViewColor_)
|
||||
loadingViewColor_->Divert(0x00FFFFFF, 0.2f);
|
||||
if (loadingViewVisible_)
|
||||
loadingViewVisible_->Divert(UI::V_INVISIBLE, 0.2f);
|
||||
|
||||
std::string gameID = g_paramSFO.GetValueString("DISC_ID");
|
||||
g_Config.TimeTracker().Start(gameID);
|
||||
|
||||
Reference in new issue
Block a user