frontend: get rid of plat_rescan_inputs
[pcsx_rearmed.git] / frontend / main.c
index b699659..c902142 100644 (file)
@@ -245,6 +245,10 @@ void do_emu_action(void)
                                snprintf(hud_msg, sizeof(hud_msg), "SCREENSHOT TAKEN");
                        break;
                }
+       case SACTION_VOLUME_UP:
+       case SACTION_VOLUME_DOWN:
+               plat_step_volume(emu_action == SACTION_VOLUME_UP);
+               return;
        default:
                return;
        }
@@ -359,7 +363,6 @@ int main(int argc, char *argv[])
        plat_init();
        menu_init(); // loads config
        pl_init();
-       plat_rescan_inputs();
 
        if (psxout)
                Config.PsxOut = 1;