MMC5: Fixed fill mode attribute color information
This commit is contained in:
parent
510353cd7a
commit
3cfb179357
1 changed files with 2 additions and 1 deletions
|
@ -295,7 +295,8 @@ private:
|
|||
void SetFillModeColor(uint8_t color)
|
||||
{
|
||||
_fillModeColor = color;
|
||||
memset(GetNametable(NtFillModeIndex) + 32 * 30, color, 64); //Attribute table is 64 bytes
|
||||
uint8_t attributeByte = color | color << 2 | color << 4 | color << 6;
|
||||
memset(GetNametable(NtFillModeIndex) + 32 * 30, attributeByte, 64); //Attribute table is 64 bytes
|
||||
}
|
||||
|
||||
bool IsSpriteFetch()
|
||||
|
|
Loading…
Add table
Reference in a new issue