PCE: Supergrafx - Fixed background color when neither layer is enabled

This commit is contained in:
Sour 2023-09-15 18:18:19 +09:00
parent 9be40aa4a1
commit 0587cd2174

View file

@ -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;