]> git.sesse.net Git - pistorm/blobdiff - emulator.c
Fix silly RTC and emulator.c mistakes
[pistorm] / emulator.c
index d2d3eabfd5e6f65568c021ac572c6accc0250718..a8985412fcaa20f16d0956c0f55d7a2a22e6de0f 100644 (file)
@@ -566,7 +566,7 @@ void m68k_write_memory_8(unsigned int address, unsigned int value) {
   PLATFORM_CHECK_WRITE(OP_TYPE_BYTE);
 
   if (address == 0xbfe001) {
-    if (ovl != (value & (1 << 0)) {
+    if (ovl != (value & (1 << 0))) {
       ovl = (value & (1 << 0));
       printf("OVL:%x\n", ovl);
     }