X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.c;h=dc5be3cfeb8232e2f208f6008817b5181890d0e2;hp=0dd488effd3d9268f04f1bc4b73e69a589a503d1;hb=b07c18e8645a17be916266820ae564e0d320cc1a;hpb=746fee5107b5548577f57cf2aa53e2dbb6a1dffc diff --git a/frontend/main.c b/frontend/main.c index 0dd488ef..dc5be3cf 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -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 @@ -531,6 +533,9 @@ int emu_save_state(int slot) return ret; ret = SaveState(fname); +#ifndef __ARM_ARCH_7A__ /* XXX */ + sync(); +#endif printf("* %s \"%s\" [%d]\n", ret == 0 ? "saved" : "failed to save", fname, slot); return ret; }