X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.c;h=d3df71472945d8a91a84b10bf8a0daaf7aa9fcd3;hp=0dd488effd3d9268f04f1bc4b73e69a589a503d1;hb=e60da1599d018abcd8256f7a7259678b601d306d;hpb=746fee5107b5548577f57cf2aa53e2dbb6a1dffc diff --git a/frontend/main.c b/frontend/main.c index 0dd488ef..d3df7147 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; @@ -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; }