frontend: input: pass default binds as argument
[pcsx_rearmed.git] / frontend / main.c
index a305312..dc5be3c 100644 (file)
@@ -151,7 +151,9 @@ void emu_set_default_config(void)
        pl_rearmed_cbs.gpu_unai.abe_hack =
        pl_rearmed_cbs.gpu_unai.no_light =
        pl_rearmed_cbs.gpu_unai.no_blend = 0;
+       memset(&pl_rearmed_cbs.gpu_peopsgl, 0, sizeof(pl_rearmed_cbs.gpu_peopsgl));
        pl_rearmed_cbs.gpu_peopsgl.iVRamSize = 64;
+       pl_rearmed_cbs.gpu_peopsgl.iTexGarbageCollection = 1;
 
        iUseReverb = 2;
        iUseInterpolation = 1;
@@ -362,9 +364,9 @@ int main(int argc, char *argv[])
                return 1;
 
        // frontend stuff
+       // init input but leave probing to platform code,
+       // they add input drivers and may need to modify them after probe
        in_init();
-       in_evdev_init();
-       //in_probe();
        pl_init();
        plat_init();
        menu_init(); // loads config