From 40f3455357fc9f8c2e4f7fd45a41559752a97e3a Mon Sep 17 00:00:00 2001 From: cam900 Date: Mon, 3 Apr 2023 00:35:02 +0900 Subject: [PATCH] Fix build --- src/engine/platform/k053260.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/k053260.cpp b/src/engine/platform/k053260.cpp index b35bc5a2..1705f156 100644 --- a/src/engine/platform/k053260.cpp +++ b/src/engine/platform/k053260.cpp @@ -22,7 +22,7 @@ #include "../../ta-log.h" #include -#define rWrite(a,v) {if(!skipRegisterWrites && a<0x30) {k053260.write(a,v); regPool[a]=v; if(dumpWrites) addWrite(a,v);}} +#define rWrite(a,v) {if((!skipRegisterWrites) && (a<0x30)) {k053260.write(a,v); regPool[a]=v; if(dumpWrites) addWrite(a,v);}} #define CHIP_DIVIDER 16 #define TICK_DIVIDER 64 // for match to YM3012 output rate