fixed ppu postfetching
This commit is contained in:
parent
a7808815a1
commit
ca3eac8393
17 changed files with 343 additions and 31 deletions
|
@ -63,6 +63,8 @@ void PatternTableViewer::DecodePatternTable(int index, std::vector<Color>& buffe
|
|||
{
|
||||
// uint8_t stride = 128;
|
||||
Word baseAddr = 0x1000 * index;
|
||||
if (baseAddr >= mapper->CHR_ROM.size())
|
||||
return;
|
||||
|
||||
for (int y = 0; y < 16; y++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue