From ee8399c80d0b81d73cc0252c39eb989fcfc18168 Mon Sep 17 00:00:00 2001 From: purplemarshmallow Date: Sun, 3 Jan 2016 23:57:12 +0100 Subject: [PATCH] correct cfb mode if screeen update on color buffer change is selected In cfb mode the screen always needs to be updated --- src/VI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VI.cpp b/src/VI.cpp index 289128aa..b1da442a 100644 --- a/src/VI.cpp +++ b/src/VI.cpp @@ -127,7 +127,7 @@ void VI_UpdateScreen() bNeedSwap = bCFB ? true : (*REG.VI_ORIGIN != VI.lastOrigin); break; case Config::bsOnColorImageChange: - bNeedSwap = gDP.colorImage.changed != 0; + bNeedSwap = bCFB ? true : (gDP.colorImage.changed != 0); break; }