From 213d6135348f979c9e267c1d4f44f83bdde1db0c Mon Sep 17 00:00:00 2001 From: cam900 Date: Thu, 20 Apr 2023 10:02:29 +0900 Subject: [PATCH] Fix regression --- src/engine/platform/x1_010.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/x1_010.cpp b/src/engine/platform/x1_010.cpp index 79f592cea..deb294f65 100644 --- a/src/engine/platform/x1_010.cpp +++ b/src/engine/platform/x1_010.cpp @@ -944,7 +944,7 @@ void DivPlatformX1_010::setFlags(const DivConfig& flags) { stereo=flags.getBool("stereo",false); bool prevBanked=isBanked; isBanked=flags.getBool("isBanked",false); - if (prevBanked|=isBanked) { + if (prevBanked!=isBanked) { parent->renderSamples(); } for (int i=0; i<16; i++) {