mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-23 20:29:06 -05:00
fix: read mame hiscore.dat where the cores open it
mame2000 opens hiscore.dat, history.dat and mameinfo.dat from IMAMEBASEPATH, the content directory (src/libretro/fileio.c:1002-1014, libretro.c:1044-1052). mame2014 and mame2015 open hiscore.dat through emu_file with no search path, the working directory (src/emu/hiscore.c:330-337, fileio.c:141-143). With no load_from the entries claimed system/ and the packs shipped files neither core opens there. ANoteOutsideTheSystemDirCarriesLoadFrom holds libretro notes and load_from together.
This commit is contained in:
1 parent
62a4f19ce3
commit
e255348f52
4 files changed
+41
-6
No files matched your search
@@ -34,15 +34,16 @@ notes: |
|
||||
|
||||
files:
|
||||
- name: hiscore.dat
|
||||
load_from: content_dir
|
||||
required: false
|
||||
category: game_data
|
||||
system: arcade
|
||||
sha1: "21ddda0c61bd4f1cc04fb9d09e16d403d620f9e8"
|
||||
md5: "9b262149ec70cbda741a8ba55784f8e1"
|
||||
size: 36182
|
||||
source_ref: "src/hiscore.c:18,132-146,252-254, src/cpuintrf.c:664-666"
|
||||
source_ref: "src/hiscore.c:18,132-146,252-254, src/cpuintrf.c:664-666, src/libretro/fileio.c:1002-1014, src/libretro/libretro.c:1044-1052"
|
||||
note: >-
|
||||
high score definitions, loaded from ROM directory. metadata/hiscore.dat
|
||||
high score definitions, opened from IMAMEBASEPATH, the directory of the loaded content. metadata/hiscore.dat
|
||||
of the core repository. is_mem_range reads only "cpu:addr:len:start:end"
|
||||
lines under a "gamename:" header.
|
||||
|
||||
@@ -55,18 +56,20 @@ files:
|
||||
note: "cheat definitions, loaded from system_dir/mame2000/cheat/"
|
||||
|
||||
- name: history.dat
|
||||
load_from: content_dir
|
||||
required: false
|
||||
category: game_data
|
||||
system: arcade
|
||||
source_ref: "src/datafile.c:52,281,541"
|
||||
note: "game history database, loaded from ROM directory"
|
||||
source_ref: "src/datafile.c:52,281,541, src/libretro/fileio.c:1002-1014"
|
||||
note: "game history database, opened from IMAMEBASEPATH, the directory of the loaded content"
|
||||
|
||||
- name: mameinfo.dat
|
||||
load_from: content_dir
|
||||
required: false
|
||||
category: game_data
|
||||
system: arcade
|
||||
source_ref: "src/datafile.c:53,281,568"
|
||||
note: "game technical info database, loaded from ROM directory"
|
||||
source_ref: "src/datafile.c:53,281,568, src/libretro/fileio.c:1002-1014"
|
||||
note: "game technical info database, opened from IMAMEBASEPATH, the directory of the loaded content"
|
||||
|
||||
- name: neogeo.zip
|
||||
required: true
|
||||
|
||||
@@ -102,6 +102,7 @@ notes: |
|
||||
files:
|
||||
# Data files
|
||||
- name: hiscore.dat
|
||||
load_from: working_directory
|
||||
required: false
|
||||
category: game_data
|
||||
system: arcade
|
||||
|
||||
@@ -91,6 +91,7 @@ notes: |
|
||||
files:
|
||||
# Data files
|
||||
- name: hiscore.dat
|
||||
load_from: working_directory
|
||||
installed_on: [recalbox]
|
||||
required: false
|
||||
category: game_data
|
||||
|
||||
Reference in new issue
Block a user