Skip to content

Commit 0e5c196

Browse files
Swap X and Y in Dungeons & Dragons: Shadow over Mystara (make it use the same layout of Tower of Doom).
1 parent 3d66d17 commit 0e5c196

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
@@ -1208,6 +1208,20 @@ static void Input_Binding(running_machine &machine)
12081208
Buttons_mapping[4]=RETROPAD_L;
12091209
Buttons_mapping[5]=RETROPAD_R;
12101210
}
1211+
else if (
1212+
(core_stricmp(machine.system().name, "ddsom") == 0) ||
1213+
(core_stricmp(machine.system().parent, "ddsom") == 0)
1214+
)
1215+
{
1216+
/* Capcom CPS-2: Dungeons & Dragons: Shadow over Mystara (same layout of ddtod) */
1217+
1218+
Buttons_mapping[0]=RETROPAD_A;
1219+
Buttons_mapping[1]=RETROPAD_B;
1220+
Buttons_mapping[2]=RETROPAD_Y;
1221+
Buttons_mapping[3]=RETROPAD_X;
1222+
Buttons_mapping[4]=RETROPAD_L;
1223+
Buttons_mapping[5]=RETROPAD_R;
1224+
}
12111225
else if (
12121226
(core_stricmp(machine.system().parent, "aof") == 0) ||
12131227
(core_stricmp(machine.system().parent, "aof2") == 0) ||

0 commit comments

Comments
 (0)