Working on ppu

This commit is contained in:
2025-02-18 22:39:56 -07:00
parent 89a1b4cec6
commit c8ec44fa39
7 changed files with 38 additions and 9 deletions

View File

@ -52,7 +52,7 @@ typedef enum {
SS_LYC = (1 << 6)
} stat_src;
#define LCDS_STAT_INT(src) (lcd_get_context()->lcds & src)
#define LCDS_STAT_INT(src) ((lcd_get_context()->lcds & src) == src)
void lcd_init();

View File

@ -82,6 +82,7 @@ typedef struct {
u32 target_frame_time;
bool paused;
bool frame;
bool debug;
} ppu_context;
void ppu_init();