Francisco José García GarcíaandClaude Opus 5.5 a65b2f7df5 cpu/mem: Invalidate the aliases of a flushed range, not the whole JIT cache
With kubridge guest mappings active, every kuKernelFlushCaches cleared the whole dynarmic cache,
since a write through one alias may change code cached at another. Guests with their own JIT
(Flycast's SH4 dynarec) flush once per compiled block, tens of times per second, so dynarmic kept
retranslating everything: about 94% of the emulated thread's time in Flycast.

Invalidate the flushed range plus the pages that share backing with it instead. Backing pages keep
the addresses mapped to them (pruned lazily when a mapping changes), so the lookup only walks the
pages of the range. Flycast's dynarec goes from ~24 s to ~11 s of host time per emulated second.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 17:50:22 +02:00
2021-06-16 15:12:10 +09:00
2023-04-06 23:04:05 +02:00
2026-07-23 20:02:15 -03:00
2026-05-20 20:06:57 -04:00
2019-04-23 08:22:56 +07:00
2023-02-27 18:38:35 +01:00
2026-05-25 22:54:28 -04:00

Vita3K

C/C++ CI Release Vita3K discord server

Introduction

Vita3K is an experimental PlayStation Vita emulator for Windows, Linux, macOS and Android.

Compatibility

The emulator currently runs most homebrew programs and commercial games.

Persona 4 Golden by Atlus A Rose in the Twilight by Nippon Ichi Software
Persona 4 Golden screenshot A Rose in the Twilight screenshot
Alone with You by Benjamin Rivers VA-11 HALL-A by Sukeban Games
Alone with You screenshot VA-11 HALL-A screenshot
Fruit Ninja by Halfbrick Studios Jetpack Joyride by Halfbrick Studios
Fruit Ninja Screenshot Jetpack Joyride Screenshot

License

Vita3K is licensed under the GPLv2 license. This is largely dictated by external dependencies, most notably Unicorn.

Downloads

You can download the latest builds from here.

Building

Please see building.md.

Running

Check our quickstart guide to make sure your computer meets the minimum requirements to run Vita3K.
Don't forget to have your graphics driver up to date and to install the Visual C++ 2015-2022 Redistributable if you are a Windows user.

Bugs and issues

The project is in an early stage, so please be mindful when opening new issues. Expect crashes, glitches, low compatibility and poor performance.

Thanks

Thanks go out to people who offered advice or otherwise made this project possible, such as Davee, korruptor, Rinnegatamante, ScHlAuChi, Simon Kilroy, TheFlow, xerpi, xyz, Yifan Lu and many others.

Donations

ko-fi
Thank you to the supporters and to all those who support us on our ko-fi.

  • Among them, those who subscribed to the Nibble Tier and upper: j0hnnybrav0, Mored4u, TacoOblivion, Undeadbob and uplush

Note

The purpose of this emulator is not to enable illegal activity. You can dump games from a Vita by using NoNpDrm or FAGDec. You can get homebrew programs from VitaDB.

PlayStation, PlayStation Vita and PlayStation Network are all registered trademarks of Sony Interactive Entertainment Inc. This emulator is not related to or endorsed by Sony, or derived from confidential materials belonging to Sony.

Languages
C++ 90%
Kotlin 6.7%
Java 1.1%
CMake 0.6%
HLSL 0.6%
Other 1%