Update menu state on setting frameskip value and also print new value
This commit is contained in:
parent
8461e2f08d
commit
79abd40913
|
@ -2373,6 +2373,11 @@ static void Modify_Frameskip(GSimpleAction *action, GVariant *parameter, gpointe
|
||||||
if (!autoframeskip) {
|
if (!autoframeskip) {
|
||||||
Frameskip = autoFrameskipMax;
|
Frameskip = autoFrameskipMax;
|
||||||
}
|
}
|
||||||
|
char buf[255];
|
||||||
|
memset(buf, 0, 255);
|
||||||
|
sprintf(buf, "Frameskip value is set to %s", string);
|
||||||
|
driver->AddLine(buf);
|
||||||
|
g_simple_action_set_state(action, parameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////// TOOLS MANAGEMENT ///////////////////////////////
|
/////////////////////////////// TOOLS MANAGEMENT ///////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue