From 0587cd2174e3be07b4bf5f37fbd9085ab3a2647a Mon Sep 17 00:00:00 2001 From: Sour Date: Fri, 15 Sep 2023 18:18:19 +0900 Subject: [PATCH] PCE: Supergrafx - Fixed background color when neither layer is enabled --- Core/PCE/PceVpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/PCE/PceVpc.cpp b/Core/PCE/PceVpc.cpp index 0fad7689..0f50b6e8 100644 --- a/Core/PCE/PceVpc.cpp +++ b/Core/PCE/PceVpc.cpp @@ -198,7 +198,7 @@ void PceVpc::ProcessScanlineEnd(PceVdc* vdc, uint16_t scanline, uint16_t* rowBuf uint16_t color; switch(enabledLayers) { default: - case 0: color = 0; break; + case 0: color = _vce->GetPalette(0); break; case 1: color = rowBuffer[i]; break; case 2: color = rowBufferVdc2[i]; break;