basic ppu background rendering
This commit is contained in:
parent
f9f401c6c0
commit
aef80e42fb
21 changed files with 468 additions and 41 deletions
|
@ -86,7 +86,15 @@ void PPUWatcher::OnRender()
|
|||
ImGui::Text("Pattern Tile Lo: %02X", ppu->patternTableLo);
|
||||
ImGui::Text("Pattern Tile Hi: %02X", ppu->patternTableHi);
|
||||
}
|
||||
|
||||
|
||||
if (ImGui::CollapsingHeader("Shift Registers"))
|
||||
{
|
||||
ImGui::Text("Pattern Tile Lo: %04X", ppu->loTile.Raw);
|
||||
ImGui::Text("Pattern Tile Hi: %02X", ppu->hiTile.Raw);
|
||||
ImGui::Text("Attribute Lo : %02X", ppu->loAttribute.Raw);
|
||||
ImGui::Text("Attribute Hi : %02X", ppu->hiAttribute.Raw);
|
||||
}
|
||||
|
||||
if (ImGui::CollapsingHeader("Registers"))
|
||||
{
|
||||
if (ImGui::TreeNode("PPUCTRL"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue