ddrio: Fix p3io and extio lighting output being swapped with one another

the header, mm and smx modules had it right

also fixes p3io responses being the wrong size in 2 cases
This commit is contained in:
Will Xyen
2020-06-29 06:47:31 -07:00
parent d1080905e5
commit be4df516fd
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ void ddr_io_set_lights_p3io(uint32_t lights)
{
uint8_t i;
for (i = 0x0E; i <= 0x1E; i++) {
for (i = 0x00; i <= 0x07; i++) {
mapper_write_light(i, lights & (1 << i) ? 255 : 0);
}
}