- [NEW] Timer (interrupció inclosa) i divider register implementats

This commit is contained in:
2025-01-24 15:12:40 +01:00
parent 8c8afa220f
commit fddb194332
2 changed files with 32 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ namespace mbc_none
} else {
if ( (address==0xFF50) && ((value&0x01) != 1) ) return; //Only allow disabling boot room
if ( (address==0xFF00) ) { value = value & 0x30; }
if ( (address==0xFF04) ) { hram[address-0xFE00] = 0; return; }
if ( (address==0xFF46) ) mem::init_dma_transfer(value);
hram[address - 0xFE00] = value;
}