Back to Provenance

3231

.changelog/3231.md

3.3.11.6 KB
Original Source

Added

  • Hatari TOS errors as native toasts — Atari ST TOS boot failures (missing ROM, ZIP not extracted, invalid header, unexpected version) now surface as native PVToastManager notifications during emulation instead of silently failing or crashing. Uses the existing PVOSDNotificationPVToastManager bridge.
  • Toast overlay wired into emulatorPVToastHostingController is now installed in PVEmulatorViewController.viewDidLoad, making the in-game toast overlay visible for all cores (not just Atari ST).

Fixed

  • Hatari TOS version bytes — when detecting the old-Provenance byte-swap pattern (address field stored as native LE integer), also fix the version bytes (2-3) which suffer the same endianness corruption. This resolves Hatari logging "TOS version 201, address $fc00" and rejecting an otherwise importable TOS 1.02 ROM.
  • Hatari crash in input_gui() — set nAlertDlgLogLevel = 0 in the bundled hatari.cfg so Hatari does not try to open SDL alert dialogs (which have a NULL input handler in the libretro context and cause a NULL-pointer crash at SDLGui_DoDialog → input_gui).
  • Hatari word-swapped ROM dumps — detect and fully byte-unswap ROMs where every 16-bit word has its bytes swapped (interleaved ROM dump format), correcting both the header and the executable code so the 68000 can run it.
  • Partially-repaired TOS detection — files previously "half-fixed" by old Provenance code (address corrected but version left byte-swapped) are now detected and their version bytes repaired, both when searching the BIOS directory and when writing to the system directory.