Merge pull request #3232 from jriwanek-forks/tmacm-fix

Fix mistake in Thrustmaster ACM code
This commit is contained in:
Miran Grča
2023-04-02 13:06:58 +02:00
committed by GitHub

View File

@@ -427,16 +427,16 @@ tmacm_init(const device_t *info)
port = device_get_config_hex16("port2_addr"); port = device_get_config_hex16("port2_addr");
switch (port) { switch (port) {
case 0x201: case 0x209:
dev = gameport_add(&gameport_209_device); dev = gameport_add(&gameport_209_device);
break; break;
case 0x203: case 0x20b:
dev = gameport_add(&gameport_20b_device); dev = gameport_add(&gameport_20b_device);
break; break;
case 0x205: case 0x20d:
dev = gameport_add(&gameport_20d_device); dev = gameport_add(&gameport_20d_device);
break; break;
case 0x207: case 0x20f:
dev = gameport_add(&gameport_20f_device); dev = gameport_add(&gameport_20f_device);
break; break;
default: default: