tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mame: 0.250 -> 0.251
Thiago Kenji Okada
3 years ago
ecc06edd
b29899b8
+28
-31
2 changed files
expand all
collapse all
unified
split
pkgs
applications
emulators
mame
001-use-absolute-paths.diff
default.nix
+26
-29
pkgs/applications/emulators/mame/001-use-absolute-paths.diff
···
1
1
-
--- a/src/emu/emuopts.cpp 2022-10-29 15:05:18.591381088 +0200
2
2
-
+++ b/src/emu/emuopts.cpp 2022-10-29 15:10:10.938037551 +0200
3
3
-
@@ -39,16 +39,16 @@
1
1
+
diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp
2
2
+
index 3defd33d0bb..33daacc4fc8 100644
3
3
+
--- a/src/emu/emuopts.cpp
4
4
+
+++ b/src/emu/emuopts.cpp
5
5
+
@@ -39,16 +39,16 @@ const options_entry emu_options::s_option_entries[] =
4
6
{ nullptr, nullptr, core_options::option_type::HEADER, "CORE SEARCH PATH OPTIONS" },
5
5
-
{ OPTION_PLUGINDATAPATH, ".", core_options::option_type::STRING, "path to base folder for plugin data (read/write)" },
6
6
-
{ OPTION_MEDIAPATH ";rp;biospath;bp", "roms", core_options::option_type::STRING, "path to ROM sets and hard disk images" },
7
7
-
- { OPTION_HASHPATH ";hash_directory;hash", "hash", core_options::option_type::STRING, "path to software definition files" },
8
8
-
- { OPTION_SAMPLEPATH ";sp", "samples", core_options::option_type::STRING, "path to audio sample sets" },
9
9
-
- { OPTION_ARTPATH, "artwork", core_options::option_type::STRING, "path to artwork files" },
10
10
-
- { OPTION_CTRLRPATH, "ctrlr", core_options::option_type::STRING, "path to controller definitions" },
11
11
-
- { OPTION_INIPATH, ".;ini;ini/presets", core_options::option_type::STRING, "path to ini files" },
12
12
-
- { OPTION_FONTPATH, ".", core_options::option_type::STRING, "path to font files" },
13
13
-
+ { OPTION_HASHPATH ";hash_directory;hash", "hash;@mamePath@/hash", core_options::option_type::STRING, "path to software definition files" },
14
14
-
+ { OPTION_SAMPLEPATH ";sp", "samples;@mamePath@/samples", core_options::option_type::STRING, "path to audio sample sets" },
15
15
-
+ { OPTION_ARTPATH, "artwork;@mamePath@/artwork", core_options::option_type::STRING, "path to artwork files" },
16
16
-
+ { OPTION_CTRLRPATH, "ctrlr;@mamePath@/ctrlr", core_options::option_type::STRING, "path to controller definitions" },
17
17
-
+ { OPTION_INIPATH, ".;ini;ini/presets;@mamePath@/ini/presets", core_options::option_type::STRING, "path to ini files" },
18
18
-
+ { OPTION_FONTPATH, ".;@mamePath@", core_options::option_type::STRING, "path to font files" },
19
19
-
{ OPTION_CHEATPATH, "cheat", core_options::option_type::STRING, "path to cheat files" },
20
20
-
{ OPTION_CROSSHAIRPATH, "crosshair", core_options::option_type::STRING, "path to crosshair files" },
21
21
-
- { OPTION_PLUGINSPATH, "plugins", core_options::option_type::STRING, "path to plugin files" },
22
22
-
- { OPTION_LANGUAGEPATH, "language", core_options::option_type::STRING, "path to UI translation files" },
23
23
-
+ { OPTION_PLUGINSPATH, "plugins;@mamePath@/plugins", core_options::option_type::STRING, "path to plugin files" },
24
24
-
+ { OPTION_LANGUAGEPATH, "language;@mamePath@/language", core_options::option_type::STRING, "path to UI translation files" },
25
25
-
{ OPTION_SWPATH, "software", core_options::option_type::STRING, "path to loose software" },
7
7
+
{ OPTION_PLUGINDATAPATH, ".", core_options::option_type::PATH, "path to base folder for plugin data (read/write)" },
8
8
+
{ OPTION_MEDIAPATH ";rp;biospath;bp", "roms", core_options::option_type::MULTIPATH, "path to ROM sets and hard disk images" },
9
9
+
- { OPTION_HASHPATH ";hash_directory;hash", "hash", core_options::option_type::MULTIPATH, "path to software definition files" },
10
10
+
- { OPTION_SAMPLEPATH ";sp", "samples", core_options::option_type::MULTIPATH, "path to audio sample sets" },
11
11
+
- { OPTION_ARTPATH, "artwork", core_options::option_type::MULTIPATH, "path to artwork files" },
12
12
+
- { OPTION_CTRLRPATH, "ctrlr", core_options::option_type::MULTIPATH, "path to controller definitions" },
13
13
+
- { OPTION_INIPATH, ".;ini;ini/presets", core_options::option_type::MULTIPATH, "path to ini files" },
14
14
+
- { OPTION_FONTPATH, ".", core_options::option_type::MULTIPATH, "path to font files" },
15
15
+
+ { OPTION_HASHPATH ";hash_directory;hash", "hash;@mamePath@/hash", core_options::option_type::MULTIPATH, "path to software definition files" },
16
16
+
+ { OPTION_SAMPLEPATH ";sp", "samples;@mamePath@/samples", core_options::option_type::MULTIPATH, "path to audio sample sets" },
17
17
+
+ { OPTION_ARTPATH, "artwork;@mamePath@/artwork", core_options::option_type::MULTIPATH, "path to artwork files" },
18
18
+
+ { OPTION_CTRLRPATH, "ctrlr;@mamePath@/ctrlr", core_options::option_type::MULTIPATH, "path to controller definitions" },
19
19
+
+ { OPTION_INIPATH, ".;ini;ini/presets;@mamePath@/ini/presets", core_options::option_type::MULTIPATH, "path to ini files" },
20
20
+
+ { OPTION_FONTPATH, ".;@mamePath@", core_options::option_type::MULTIPATH, "path to font files" },
21
21
+
{ OPTION_CHEATPATH, "cheat", core_options::option_type::MULTIPATH, "path to cheat files" },
22
22
+
{ OPTION_CROSSHAIRPATH, "crosshair", core_options::option_type::MULTIPATH, "path to crosshair files" },
23
23
+
- { OPTION_PLUGINSPATH, "plugins", core_options::option_type::MULTIPATH, "path to plugin files" },
24
24
+
- { OPTION_LANGUAGEPATH, "language", core_options::option_type::MULTIPATH, "path to UI translation files" },
25
25
+
+ { OPTION_PLUGINSPATH, "plugins;@mamePath@/plugins", core_options::option_type::MULTIPATH, "path to plugin files" },
26
26
+
+ { OPTION_LANGUAGEPATH, "language;@mamePath@/language", core_options::option_type::MULTIPATH, "path to UI translation files" },
27
27
+
{ OPTION_SWPATH, "software", core_options::option_type::MULTIPATH, "path to loose software" },
26
28
27
29
// output directory options
28
28
-
@@ -1301,3 +1301,4 @@
29
29
-
m_entry = entry;
30
30
-
return entry;
31
31
-
}
32
32
-
+
+2
-2
pkgs/applications/emulators/mame/default.nix
···
39
39
in
40
40
stdenv.mkDerivation rec {
41
41
pname = "mame";
42
42
-
version = "0.250";
42
42
+
version = "0.251";
43
43
srcVersion = builtins.replaceStrings [ "." ] [ "" ] version;
44
44
45
45
src = fetchFromGitHub {
46
46
owner = "mamedev";
47
47
repo = "mame";
48
48
rev = "mame${srcVersion}";
49
49
-
sha256 = "sha256-jexs/1ovRk9Is5orD7hT9fN+dYm+WA+57aZ6JH7zjL4=";
49
49
+
hash = "sha256-x+QV4gunnERBHyYB2fXJ2LvMv437Z2omvk+fYkmZfqA=";
50
50
};
51
51
52
52
outputs = [ "out" "tools" ];