This is essentially to improve loading times, and reduce Ram usage a bit.
By skipping the first ISFS_Write we'll gain about 5s for 32MB pagefile creation.
Flushing pages at 64 also speed up writing.
I haven't noticed any differences in performance but I can't guarantee any side effects.
By reducing RomCache to the minimum size, it lets about 1MB of Ram.
There's no more crashes(or much less) when launching another game now. It still needs enough Ram for some games to fully load though.
For example, for KOF2003 it must be started on first Retroarch launch.
One of the remaining bug with these very large games is a crash when changing video options(bilinear etc.) also due missing memory.
There's also potential crashes with overlays which may be fixed with that pull request: https://github.com/libretro/RetroArch/pull/8294
Hi there @Wiimpathy , sorry for taking so long to merge this. Should be done now! We didn't make it to merge this in time for 1.7.7, but 1.7.8 should be good to go and hopefully wont' take that long to release!
This is essentially to improve loading times, and reduce Ram usage a bit.
By skipping the first ISFS_Write we'll gain about 5s for 32MB pagefile creation. Flushing pages at 64 also speed up writing. I haven't noticed any differences in performance but I can't guarantee any side effects.
By reducing RomCache to the minimum size, it lets about 1MB of Ram.
There's no more crashes(or much less) when launching another game now. It still needs enough Ram for some games to fully load though. For example, for KOF2003 it must be started on first Retroarch launch.
One of the remaining bug with these very large games is a crash when changing video options(bilinear etc.) also due missing memory. There's also potential crashes with overlays which may be fixed with that pull request: https://github.com/libretro/RetroArch/pull/8294