Legend of Legaia Recompiled for PC, Fixes CD-ROM Battle Freezes
Legaia_Recomp v0.1.0 runs Legend of Legaia on Windows and fixes freezes caused by a PsyQ CD interrupt bug.

Legend of Legaia (PlayStation), a classic RPG, now runs on Windows through the first v0.1.0 prerelease of Legaia_Recomp. It is built on Matthew Stanley’s psxrecomp framework and recomp-ui. The static recompilation outputs a native executable that needs your own USA disc image (SCUS-94254) and ships with an open-source OpenBIOS.
This release fixes a bug inherited from the upstream scaffolding. Certain attack transitions, notably Meta Gimard and sometimes Tornado Flame, caused a reproducible freeze of 30 to 60 seconds during battle. The game resumed afterward without crashing.
The root cause sat in the emulated CD-ROM controller (psxrecomp/runtime/src/cdrom.c). It delayed the CD interrupt line by 5000 cycles, but the guest-visible state ignored that delay. The interrupt flag and response-ready bit were readable as soon as a command was written. During the roughly 11-second XA audio wait, the game’s PsyQ libcd routine kept seeing a pending interrupt, re-entered itself and never returned to the main thread until the wait ended. The developer RebelPatLive hides the interrupt flag and response-ready bit until the presentation delay has elapsed, through the new cd_irq_visible() check.
The launcher’s Mods page holds two experimental mods, both off by default. Smooth Motion blends frames to present at 60 Hz, your display’s refresh rate, or another rate you pick. It is a crossfade rather than true in-between motion, so fast objects can ghost slightly. It works only with OpenGL, turns VSync off while active and pauses during movies. Widescreen uses a projection-squash method to present 3D fields, towns, the world map and battles at 16:9 or wider. It is not tuned for Legaia, so expect edge pop-in and odd HUD or menu placement in places. Menus, BIOS logos and movies stay 4:3. The launcher also offers built-in options such as internal resolution up to 8K, image filtering, a CRT filter and enhanced audio.
How to try it
- Grab the latest release from the Legaia_Recomp GitHub repository.
- Supply your own legally purchased USA disc image (
SCUS-94254). - Run the executable and set optional enhancements or mods in the launcher.
