diff --git a/mupen64plus-core/src/device/rcp/pi/pi_controller.c b/mupen64plus-core/src/device/rcp/pi/pi_controller.c index 60ccaa5..6004a84 100644 --- a/mupen64plus-core/src/device/rcp/pi/pi_controller.c +++ b/mupen64plus-core/src/device/rcp/pi/pi_controller.c @@ -59,7 +59,7 @@ static void dma_pi_read(struct pi_controller* pi) const uint8_t* dram = (uint8_t*)pi->ri->rdram->dram; if ((length & 0x1) && length >= 0x7F) - length +=1; + length += 1; if (dram_addr & 0x7) length -= dram_addr & 0x7; @@ -99,7 +99,7 @@ static void dma_pi_write(struct pi_controller* pi) uint8_t* dram = (uint8_t*)pi->ri->rdram->dram; if ((length & 0x1) && length >= 0x7F) - length +=1; + length += 1; if (dram_addr & 0x7) length -= dram_addr & 0x7;