Make the slow framerate warning yellow. Don't show it if running at "alternate speed".

This commit is contained in:
Henrik Rydgard 2017-04-03 20:58:51 +02:00
parent 8244b8246b
commit 6313d2a7af

View File

@ -670,10 +670,10 @@ void hleEnterVblank(u64 userdata, int cyclesLate) {
// Let the user know if we're running slow, so they know to adjust settings.
// Sometimes users just think the sound emulation is broken.
static bool hasNotifiedSlow = false;
if (!g_Config.bHideSlowWarnings && !hasNotifiedSlow && IsRunningSlow()) {
if (!g_Config.bHideSlowWarnings && !hasNotifiedSlow && PSP_CoreParameter().fpsLimit == FPS_LIMIT_NORMAL && IsRunningSlow()) {
#ifndef _DEBUG
I18NCategory *err = GetI18NCategory("Error");
host->NotifyUserMessage(err->T("Running slow: try frameskip, sound is choppy when slow"), 6.0f, 0xFF3030FF);
host->NotifyUserMessage(err->T("Running slow: try frameskip, sound is choppy when slow"), 6.0f, 0xFF30D0D0);
#endif
hasNotifiedSlow = true;
}