|
Stargate controls hack - diff patch attempt - Question for Derrick Renaud
#320533 - 01/19/14 01:16 AM Attachment: stargate_diffs.txt 5 KB (4 downloads)
|
|
|
Derrick created a diff patch posted on ArcadeControls for v.141 to add back hacked Defender controls for anyone interested. A member on that forum updated the diff for v.151
ArcadeControls - Single Joystick control of Defender and Battlezone (patch), ROTJ mouse patch...
I have made a poor attempt at adding Stargate support by manually editing the williams.c (both driver and machine) as well as williams.h but it won't compile...not much of a surprise.
The error was "unused-function" error: "src/mame/drivers/williams.c:1579:1: error: 'device_t* construct_machine_config_stargate(machine_config&, device_t*, device_t*)' defined but not used.
I don't know how to create diff files so I put the changes I made into a text file and noted the line numbers (attached.)
This is my first time back to MAME in about 6~7 years and also my first time looking/creating 'c' code in about 15 years so I am quite rusty.
Any guidance or observations welcome.
Thanks!
Edited by specfire (01/19/14 01:27 AM)
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: Stargate controls hack - diff patch attempt - Question for Derrick Renaud
[Re: specfire]
#320546 - 01/19/14 06:49 AM
|
|
|
Does that patch work for Defender in 0.152?
|
|
|
|
|
So, the file I attached above in my first post is not a patch (or "diff") file and it does not work.
The file at the link (and now attached here) does work for 152 as well as 151.
Edited by specfire (01/19/14 08:32 AM)
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: Stargate controls hack - diff patch attempt - Question for Derrick Renaud
[Re: specfire]
#320558 - 01/19/14 05:29 PM
|
|
|
I don't know if I can figure out how to get Stargate to work, but maybe I'll try later this week. I was able to compile 0.152 with the Defender change. Thanks for pointing out that patch. I haven't played in a long time. I still suck at it!
|
|
|