mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
PCE: Supergrafx - Fixed background color when neither layer is enabled
This commit is contained in:
parent
9be40aa4a1
commit
0587cd2174
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue