Get rid of the input_state global linkage.

This commit is contained in:
Unknown W. Brackets 2016-05-27 20:24:01 -07:00
parent fd0af5b271
commit 95d912c378
8 changed files with 18 additions and 23 deletions

View file

@ -859,7 +859,7 @@ int main(int argc, char *argv[]) {
SimulateGamepad(keys, &input_state);
input_state.pad_buttons = pad_buttons;
UpdateInputState(&input_state, true);
UpdateRunLoop();
UpdateRunLoop(&input_state);
if (g_QuitRequested)
break;
#if defined(PPSSPP) && !defined(MOBILE_DEVICE)