Skip to content

Commit 3d66d17

Browse files
Swap A and B in Dynasty Wars (makes sense to have B to left attack, A to right attack).
1 parent e8f2e81 commit 3d66d17

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/osd/retro/retromain.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,20 @@ static void Input_Binding(running_machine &machine)
11941194
Buttons_mapping[5]=RETROPAD_R;
11951195

11961196
}
1197+
else if (
1198+
(core_stricmp(machine.system().name, "dynwar") == 0) ||
1199+
(core_stricmp(machine.system().parent, "dynwar") == 0)
1200+
)
1201+
{
1202+
/* Capcom CPS-1: Dynasty Wars */
1203+
1204+
Buttons_mapping[0]=RETROPAD_B;
1205+
Buttons_mapping[1]=RETROPAD_A;
1206+
Buttons_mapping[2]=RETROPAD_X;
1207+
Buttons_mapping[3]=RETROPAD_Y;
1208+
Buttons_mapping[4]=RETROPAD_L;
1209+
Buttons_mapping[5]=RETROPAD_R;
1210+
}
11971211
else if (
11981212
(core_stricmp(machine.system().parent, "aof") == 0) ||
11991213
(core_stricmp(machine.system().parent, "aof2") == 0) ||

0 commit comments

Comments
 (0)