From 9808936975fb901b89bf026e7196813c120b226a Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 6 Nov 2026 03:29:01 +0100 Subject: [PATCH] docs: cite three lines that sat above their code mame2003 src/hiscore.c:14, np2pi np2ver.h:1 and osmose Version.h:3 are blank at their pins. db_filename, NP2VER_CORE and __OSMOSE_VERSION__ are at lines 15, 2 and 5. --- emulators/mame2003.yml | 2 +- emulators/np2pi.yml | 2 +- emulators/osmose.yml | 2 +- tests/test_cited_lines.py | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/emulators/mame2003.yml b/emulators/mame2003.yml index 62cebd8ad..d7d388e64 100644 --- a/emulators/mame2003.yml +++ b/emulators/mame2003.yml @@ -62,7 +62,7 @@ files: sha1: "a22ec279222ec6aeb3249932f7d377b7cf1e7bf1" md5: "c6f35123264db9cdfb216e8fdb673679" size: 215475 - source_ref: "src/hiscore.c:14,102-116,248-262, src/cpuexec.c:280-282" + source_ref: "src/hiscore.c:15,102-116,248-262, src/cpuexec.c:280-282" note: >- high score definitions, auto-generated if missing from precompile/hiscore_dat.h, which holds metadata/hiscore.dat with CRLF line diff --git a/emulators/np2pi.yml b/emulators/np2pi.yml index a8d3b5267..6dbe13830 100644 --- a/emulators/np2pi.yml +++ b/emulators/np2pi.yml @@ -19,7 +19,7 @@ systems: notes: | Raspberry Pi build by eagle0wl of Yui's Neko Project II 0.83 - (np2ver.h:1), the SDL front end compiled with sdl/makefile.rpi and + (np2ver.h:2), the SDL front end compiled with sdl/makefile.rpi and sdl/raspberrypi/compiler.h. That header defines SUPPORT_SASI and SUPPORT_SCSI but not SUPPORT_PC9821, and bios/bios.c defines BIOS_SIMULATE, so bios9821.rom and itf.rom are never opened: the ITF diff --git a/emulators/osmose.yml b/emulators/osmose.yml index b10fb7273..f53997c5c 100644 --- a/emulators/osmose.yml +++ b/emulators/osmose.yml @@ -20,7 +20,7 @@ systems: notes: | Bruno Vedder's OsmOse 0.8.1 as ported to the Raspberry Pi by palerider, with badman12345's joystick quit option (readme.rpi:1-13, - Version.h:3). RetroPie builds the tree with make and launches + Version.h:5). RetroPie builds the tree with make and launches osmose with the ROM and -tv -fs. The cartridge is mapped directly at reset. No BIOS image is loaded: diff --git a/tests/test_cited_lines.py b/tests/test_cited_lines.py index 7a722ef88..bbf380f4f 100644 --- a/tests/test_cited_lines.py +++ b/tests/test_cited_lines.py @@ -28,6 +28,9 @@ CITATIONS = [ 295, "AppPath = this.getExternalFilesDir(null)!!.absolutePath", ), + ("mame2003", "src/hiscore.c", 15, 'const char *db_filename = "hiscore.dat";'), + ("np2pi", "np2ver.h", 2, '"ver.0.83"'), + ("osmose", "Version.h", 5, '"OsmOse 0.8.1+rpi20121122"'), ]