fixed lyc interrupt when lyc = 0

This commit is contained in:
2025-02-19 07:34:36 -07:00
parent c8ec44fa39
commit 2ab09f9b4c
2 changed files with 10 additions and 3 deletions

View File

@ -59,11 +59,11 @@ void lcd_write(u16 address, u8 value) {
p[offset] = value;
if(offset == 2) {
printf("YScroll: %02X\n", value);
//printf("YScroll: %02X\n", value);
}
if(offset == 0xA) {
printf("WinY: %02X\n", value);
//printf("WinY: %02X\n", value);
}
if(offset == 6) {