Просмотр исходного кода

adjust it to work again with XMame 0.74.1 and higher

master
Dr. Ralf S. Engelschall 23 лет назад
Родитель
Сommit
32b1d014bf
  1. 24
      gxmame/gxmame.patch
  2. 6
      gxmame/gxmame.spec

24
gxmame/gxmame.patch

@ -0,0 +1,24 @@
--- src/options.c.old 2003-06-08 20:48:37.000000000 +0200
+++ src/options.c 2003-10-09 20:51:45.000000000 +0200
@@ -6555,8 +6555,8 @@
"-%sanalogstick "
"%s " /* joy */
"-%smouse "
- "-%shotrod "
- "-%shotrodse "
+ "-%s " /* fixed for new hotrod options in mame >= 0.74.1 */
+ "-%s "
"-%susbpspad "
"-%srapidfire "
"%s " /* trackball1 */
@@ -6571,8 +6571,8 @@
(target->analogstick)?"":"no",
joy?joy:"",
(target->mouse)?"":"no",
- (target->hotrod)?"":"no",
- (target->hotrodse)?"":"no",
+ (target->hotrod)?"-ctrlr HotRod":"",
+ (target->hotrodse)?"-ctrlr HotRodSE":"",
(target->usbpspad)?"":"no",
(target->rapidfire)?"":"no",
trackball1?trackball1:"",

6
gxmame/gxmame.spec

@ -33,16 +33,17 @@ Distribution: OpenPKG [EVAL]
Group: Games
License: GPL
Version: 0.33
Release: 20030814
Release: 20031010
# list of sources
Source0: http://osdn.dl.sourceforge.net/gxmame/gxmame-%{version}.tar.gz
Patch0: gxmame.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20030103, gcc
PreReq: OpenPKG, openpkg >= 20030103
PreReq: OpenPKG, openpkg >= 20030103, xmame >= 0.74.1
BuildPreReq: X11, gtk, gdk-pixbuf >= 0.22.0-20030721
PreReq: X11, gtk, gdk-pixbuf >= 0.22.0-20030721
AutoReq: no
@ -55,6 +56,7 @@ AutoReqProv: no
%prep
%setup -q
%patch -p0
%build
CC="%{l_cc}" \

Загрузка…
Отмена
Сохранить