MAMEWorld >> Programming
Index   Flat Mode Flat  

specfire
MAME Fan
Reged: 11/09/06
Posts: 15
Send PM
Stargate controls hack - diff patch attempt - Question for Derrick Renaud
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)







Entire thread
Subject Posted by Posted on
* Stargate controls hack - diff patch attempt - Question for Derrick Renaud specfire 01/19/14 01:16 AM
. * Re: Stargate controls hack - diff patch attempt - Question for Derrick Renaud redk9258  01/19/14 06:49 AM
. * Re: Stargate controls hack - diff patch attempt - Question for Derrick Renaud specfire  01/19/14 08:32 AM
. * Re: Stargate controls hack - diff patch attempt - Question for Derrick Renaud redk9258  01/19/14 05:29 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 25 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3266