← Back to progress

Port nativo · #017 · 2026-10-08

Memory card: progress now gets saved


Saving after a race no longer hangs at “Checking...”. The port writes to the virtual memory card, shows “Saved Successfully” and, on a new boot, loads the save back with records and progress.

Memory card: progress now gets saved
  • The game’s memory card driver runs on BIOS events: one kind says the card answered (SwCARD), another that a 128-byte sector was transferred (HwCARD). The runtime fired both for every operation, and the game reads a SwCARD in the middle of a read or write as “abort and start over”. So the directory read never finished and the screen stayed at “Checking...”.
  • The reference was OpenBIOS, the BIOS of the PCSX-Redux emulator: sector reads and writes raise only HwCARD, and the card query raises SwCARD and then HwCARD. That also explains a detail in the game: it ignores the first HwCARD of every transfer, which is exactly the one arriving right after the SwCARD that started it.
  • Second fix: on the console each sector takes a few milliseconds, and the Load screen only notices the load is done by seeing the “loading” status change between polls. In the port all 60 reads finished within one frame and the screen stayed at “Loading...” forever; now each sector completes in one frame.
  • Tested in the port: saving to a blank card after a Single Race, overwriting an existing save, and loading from Game Options › Load and Save. The Copper Canyon record from the previous session comes back after Load.
  • The save takes 1 block (8 KB) on the virtual memory card, under the original name BASLUS-01068NASCRMBL.