Tweak Inputlist so P.O.W. works via netplay

This commit is contained in:
dinkc64 2014-05-26 16:51:03 +00:00
parent 97edd16806
commit f976f01cb0
1 changed files with 16 additions and 19 deletions

View File

@ -6,7 +6,6 @@
// To Do: // To Do:
// Analog Inputs // Analog Inputs
// Fix savestates (crash due to snd?)
static UINT8 DrvJoy1[8]; static UINT8 DrvJoy1[8];
static UINT8 DrvJoy2[8]; static UINT8 DrvJoy2[8];
@ -54,9 +53,7 @@ static INT32 pow_charbase;
#define A(a, b, c, d) { a, b, (UINT8*)(c), d } #define A(a, b, c, d) { a, b, (UINT8*)(c), d }
static struct BurnInputInfo DrvInputList[] = { static struct BurnInputInfo DrvInputList[] = {
{"Coin 1" , BIT_DIGITAL , DrvJoy3 + 4, "p1 coin" }, {"P1 Coin", BIT_DIGITAL , DrvJoy3 + 4, "p1 coin" },
{"Coin 2" , BIT_DIGITAL , DrvJoy3 + 5, "p2 coin" },
{"P1 Start", BIT_DIGITAL , DrvJoy1 + 7, "p1 start" }, {"P1 Start", BIT_DIGITAL , DrvJoy1 + 7, "p1 start" },
{"P1 Up", BIT_DIGITAL , DrvJoy1 + 0, "p1 up", }, {"P1 Up", BIT_DIGITAL , DrvJoy1 + 0, "p1 up", },
{"P1 Down", BIT_DIGITAL , DrvJoy1 + 1, "p1 down", }, {"P1 Down", BIT_DIGITAL , DrvJoy1 + 1, "p1 down", },
@ -66,6 +63,7 @@ static struct BurnInputInfo DrvInputList[] = {
{"P1 Button 2" , BIT_DIGITAL , DrvJoy1 + 5, "p1 fire 2"}, {"P1 Button 2" , BIT_DIGITAL , DrvJoy1 + 5, "p1 fire 2"},
{"P1 Button 3" , BIT_DIGITAL , DrvJoy1 + 6, "p1 fire 3"}, {"P1 Button 3" , BIT_DIGITAL , DrvJoy1 + 6, "p1 fire 3"},
{"P2 Coin", BIT_DIGITAL , DrvJoy3 + 5, "p2 coin" },
{"P2 Start", BIT_DIGITAL , DrvJoy2 + 7, "p2 start" }, {"P2 Start", BIT_DIGITAL , DrvJoy2 + 7, "p2 start" },
{"P2 Up", BIT_DIGITAL , DrvJoy2 + 0, "p2 up", }, {"P2 Up", BIT_DIGITAL , DrvJoy2 + 0, "p2 up", },
{"P2 Down", BIT_DIGITAL , DrvJoy2 + 1, "p2 down", }, {"P2 Down", BIT_DIGITAL , DrvJoy2 + 1, "p2 down", },
@ -85,9 +83,7 @@ static struct BurnInputInfo DrvInputList[] = {
STDINPUTINFO(Drv) STDINPUTINFO(Drv)
static struct BurnInputInfo IkariInputList[] = { static struct BurnInputInfo IkariInputList[] = {
{"Coin 1" , BIT_DIGITAL , DrvJoy3 + 4, "p1 coin" }, {"P1 Coin", BIT_DIGITAL , DrvJoy3 + 4, "p1 coin" },
{"Coin 2" , BIT_DIGITAL , DrvJoy3 + 5, "p2 coin" },
{"P1 Start", BIT_DIGITAL , DrvJoy1 + 7, "p1 start" }, {"P1 Start", BIT_DIGITAL , DrvJoy1 + 7, "p1 start" },
{"P1 Up", BIT_DIGITAL , DrvJoy1 + 0, "p1 up", }, {"P1 Up", BIT_DIGITAL , DrvJoy1 + 0, "p1 up", },
{"P1 Down", BIT_DIGITAL , DrvJoy1 + 1, "p1 down", }, {"P1 Down", BIT_DIGITAL , DrvJoy1 + 1, "p1 down", },
@ -99,6 +95,7 @@ static struct BurnInputInfo IkariInputList[] = {
A("P1 Right / left", BIT_ANALOG_REL, DrvAxis + 0, "p1 z-axis"), A("P1 Right / left", BIT_ANALOG_REL, DrvAxis + 0, "p1 z-axis"),
{"P2 Coin", BIT_DIGITAL , DrvJoy3 + 5, "p2 coin" },
{"P2 Start", BIT_DIGITAL , DrvJoy2 + 7, "p2 start" }, {"P2 Start", BIT_DIGITAL , DrvJoy2 + 7, "p2 start" },
{"P2 Up", BIT_DIGITAL , DrvJoy2 + 0, "p2 up", }, {"P2 Up", BIT_DIGITAL , DrvJoy2 + 0, "p2 up", },
{"P2 Down", BIT_DIGITAL , DrvJoy2 + 1, "p2 down", }, {"P2 Down", BIT_DIGITAL , DrvJoy2 + 1, "p2 down", },