diff --git a/pfba/input.cpp b/pfba/input.cpp index 90f6ba0..47f7677 100644 --- a/pfba/input.cpp +++ b/pfba/input.cpp @@ -6,7 +6,6 @@ unsigned char inputP1P2Switch; #define MAX_INPUT_inp (17) -/// www.SoftechSoftware.it #define MAX_GAME_INPUT (6) struct GameInput { @@ -27,7 +26,6 @@ struct DIPInfo { struct GameInput *DIPData; } DIPInfo; // Mapping of PC inputs to game inputs -/// www.SoftechSoftware.it struct GameInput GameInput[MAX_GAME_INPUT/*4*/][MAX_INPUT_inp]; unsigned int nGameInpCount = 0; static bool bInputOk = false; @@ -66,12 +64,10 @@ int DoInputBlank(int /*bDipSwitch*/) { DIPInfo.DIPData[i - DIPInfo.nFirstDIP].nBit = 0; } - if ((bii.szInfo[0] == 'p') || (bii.szInfo[0] == 'm')) - { + if ((bii.szInfo[0] == 'p') || (bii.szInfo[0] == 'm')) { if (bii.szInfo[0] == 'm') iJoyNum = 0; else iJoyNum = bii.szInfo[1] - '1'; - /// www.SoftechSoftware.it - ///if (iJoyNum > 3) iJoyNum = 3; // Sperimental fix - } + ///if (iJoyNum > 3) iJoyNum = 3; // Sperimental fix + } else { if (strcmp(bii.szInfo, "diag") == 0 || strcmp(bii.szInfo, "test") == 0) { ServiceDip = bii.pVal; @@ -261,7 +257,6 @@ int InpInit() { } } - /// www.SoftechSoftware.it memset(GameInput, 0, MAX_INPUT_inp * MAX_GAME_INPUT/*4*/ * sizeof(struct GameInput)); DoInputBlank(1);