rendering is now kind of working

This commit is contained in:
Lauchmelder 2021-10-29 17:34:17 +02:00
parent 9039fa0ccf
commit 306516394b
4 changed files with 54 additions and 5 deletions

View file

@ -108,6 +108,7 @@ struct PPU
Byte* nameTables[2];
SDL_Texture* nameTableTextures[2];
SDL_Texture* renderedNameTableTextures[2];
Byte mirroring;
Byte* paletteIndexes;
@ -208,5 +209,6 @@ int tickPPU(struct PPU* ppu);
SDL_Texture* getNameTableTexture(struct PPU* ppu, int index);
SDL_Texture* getScreenTexture(struct PPU* ppu);
SDL_Texture* getRenderedNameTableTexture(struct PPU* ppu, int index);
#endif // _PPU_H_