summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Pierezan Camargo (camargo) <tcamargo@gmail.com>2007-10-22 00:19:49 +0000
committerTiago Pierezan Camargo (camargo) <tcamargo@gmail.com>2007-10-22 00:19:49 +0000
commitaadca7973d2a61ca670665c4dca36d6f67de407c (patch)
tree341e97f730d134dd0cc62c9cad32dc745154edd3 /games-emulation/sdlmame/files/0.120a/dipports113.patch
parentgames-emulation/sdlmame: Version bump, Applying Wolfmame patches. (diff)
downloadsunrise-aadca7973d2a61ca670665c4dca36d6f67de407c.tar.gz
sunrise-aadca7973d2a61ca670665c4dca36d6f67de407c.tar.bz2
sunrise-aadca7973d2a61ca670665c4dca36d6f67de407c.zip
games-emulation/sdlmame: Removed version information from patches names.
svn path=/sunrise/; revision=4834
Diffstat (limited to 'games-emulation/sdlmame/files/0.120a/dipports113.patch')
-rw-r--r--games-emulation/sdlmame/files/0.120a/dipports113.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/games-emulation/sdlmame/files/0.120a/dipports113.patch b/games-emulation/sdlmame/files/0.120a/dipports113.patch
deleted file mode 100644
index c0c871380..000000000
--- a/games-emulation/sdlmame/files/0.120a/dipports113.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -Nru base0113s/src/emu/info.c w0113/src/emu/info.c
---- base0113s/src/emu/info.c 2007-02-12 16:43:00.000000000 +1300
-+++ w0113/src/emu/info.c 2007-03-06 10:40:09.000000000 +1300
-@@ -36,6 +36,7 @@
- static void print_game_switch(FILE* out, const game_driver* game)
- {
- const input_port_entry* input;
-+ int port = -1;
-
- begin_resource_tracking();
-
-@@ -43,6 +44,9 @@
-
- while (input->type != IPT_END)
- {
-+ if(input->start.tag != NULL)
-+ port++;
-+
- if (input->type==IPT_DIPSWITCH_NAME)
- {
- int def = input->default_value;
-@@ -50,6 +54,8 @@
- fprintf(out, "\t\t<dipswitch");
-
- fprintf(out, " name=\"%s\"", xml_normalize_string(input->name));
-+ fprintf(out, " mask=\"%i\"", input->mask);
-+ fprintf(out, " port=\"%i\"", port);
- ++input;
-
- fprintf(out, ">\n");
-@@ -58,6 +64,7 @@
- {
- fprintf(out, "\t\t\t<dipvalue");
- fprintf(out, " name=\"%s\"", xml_normalize_string(input->name));
-+ fprintf(out, " value=\"%i\"", input->default_value);
- if (def == input->default_value)
- fprintf(out, " default=\"yes\"");
-