mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-10 10:30:35 +00:00
Merge pull request #3306 from thedax/reviseFrameskipOSMs
Make Win32 Frameskipping OSMs more translator-friendly.
This commit is contained in:
commit
ba15575ffa
@ -283,28 +283,27 @@ namespace MainWindow
|
|||||||
g_Config.iFrameSkip = framesToSkip;
|
g_Config.iFrameSkip = framesToSkip;
|
||||||
|
|
||||||
I18NCategory *g = GetI18NCategory("Graphics");
|
I18NCategory *g = GetI18NCategory("Graphics");
|
||||||
|
|
||||||
char message[256];
|
|
||||||
memset(message, 0, sizeof(message));
|
|
||||||
const char *frameskipStr = g->T("Frameskipping");
|
const char *frameskipStr = g->T("Frameskipping");
|
||||||
const char *offStr = g->T("Off");
|
const char *offStr = g->T("Off");
|
||||||
const char *autoStr = g->T("Auto");
|
const char *autoStr = g->T("Auto");
|
||||||
const char *framesStr = g->T("Frames");
|
|
||||||
|
char message[256];
|
||||||
|
memset(message, 0, sizeof(message));
|
||||||
|
|
||||||
switch(g_Config.iFrameSkip) {
|
switch(g_Config.iFrameSkip) {
|
||||||
case 0:
|
case 0:
|
||||||
sprintf(message, "%s: %s", frameskipStr, offStr);
|
sprintf(message, "%s: %s", frameskipStr, offStr);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
sprintf(message, "%s: %s", frameskipStr, autoStr);
|
sprintf(message, "%s: %s", frameskipStr, autoStr);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
sprintf(message, "%s: %d %s", frameskipStr, g_Config.iFrameSkip, framesStr);
|
sprintf(message, "%s: %d", frameskipStr, g_Config.iFrameSkip);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
osm.Show(message);
|
osm.Show(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
void enableCheats(bool cheats) {
|
void enableCheats(bool cheats) {
|
||||||
g_Config.bEnableCheats = cheats;
|
g_Config.bEnableCheats = cheats;
|
||||||
|
Loading…
Reference in New Issue
Block a user