implemented draw function in interpreter

This commit is contained in:
2024-11-28 19:38:11 -05:00
parent 5429c5fac1
commit ea4b961d53
5 changed files with 151 additions and 26 deletions

View File

@@ -7,7 +7,7 @@
class DisplaySDL : public chocochip8::Display {
public:
DisplaySDL(int w, int h, uint32_t fgCol, uint32_t bgCol);
DisplaySDL(int w, int h, uint32_t fgCol = 0xffffff, uint32_t bgCol = 0x000000);
~DisplaySDL() override;
void updateWindow() const;