gpu-gles: enable texture garbage collection
[pcsx_rearmed.git] / frontend / main.c
index 0dd488e..c512175 100644 (file)
@@ -152,6 +152,7 @@ void emu_set_default_config(void)
        pl_rearmed_cbs.gpu_unai.no_light =
        pl_rearmed_cbs.gpu_unai.no_blend = 0;
        pl_rearmed_cbs.gpu_peopsgl.iVRamSize = 64;
+       pl_rearmed_cbs.gpu_peopsgl.iTexGarbageCollection = 1;
 
        iUseReverb = 2;
        iUseInterpolation = 1;
@@ -531,6 +532,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;
 }