A bit more clang-format
This commit is contained in:
@@ -320,7 +320,9 @@ ymfm_drv_read(uint16_t port, void *priv)
|
||||
{
|
||||
YMFMChipBase *drv = (YMFMChipBase *) priv;
|
||||
|
||||
if (port == 0x381) { port += 4; } /* Point to register read port. */
|
||||
if (port == 0x381) {
|
||||
port += 4;
|
||||
} /* Point to register read port. */
|
||||
if (drv->flags() & FLAG_CYCLES) {
|
||||
cycles -= ((int) (isa_timing * 8));
|
||||
}
|
||||
@@ -337,7 +339,9 @@ ymfm_drv_write(uint16_t port, uint8_t val, void *priv)
|
||||
{
|
||||
YMFMChipBase *drv = (YMFMChipBase *) priv;
|
||||
ymfm_log("YMFM write port %04x value = %02x\n", port, val);
|
||||
if (port == 0x380 || port == 0x381) { port += 4; }
|
||||
if (port == 0x380 || port == 0x381) {
|
||||
port += 4;
|
||||
}
|
||||
drv->write(port, val);
|
||||
drv->update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user