https://gitlab.synchro.net/main/sbbs/-/commit/75b6cedd181ccf74603e7c05
Modified Files:
src/doors/syncretro/retro_core.c
Log Message:
syncretro: name the content, not the core, when a ROM is refused
rc_core_load_game() logged a rejected ROM with a bare fprintf and returned
-1 without setting rc_err, so main.c's sr_fatal(rc_core_error()) fell back
to the default string and told the PLAYER "the libretro core could not be loaded" -- blaming the core for what is virtually always the content.
That is exactly the contract retro_core.c's own header sets out: every
fatal reason has to be recoverable as a string, because a door's stderr
reaches nobody. It mattered little while a console either had its cartridge
or did not; it matters a lot for an arcade core, where a romset built for a different MAME version is the commonest failure and looks nothing like a
broken core.
Introduced in 5d08adc15a (cycle-3-decreased).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net