Removed verified TODO

This commit is contained in:
Lior Halphon 2019-01-14 20:32:52 +02:00
parent ba5c07bed9
commit 879d3b607d
1 changed files with 1 additions and 2 deletions

View File

@ -515,8 +515,7 @@ static void write_mbc_ram(GB_gameboy_t *gb, uint16_t addr, uint8_t value)
if (!gb->mbc_ram_enable || !gb->mbc_ram_size) return; if (!gb->mbc_ram_enable || !gb->mbc_ram_size) return;
if (gb->cartridge_type->has_rtc && gb->mbc_ram_bank >= 8 && gb->mbc_ram_bank <= 0xC) { if (gb->cartridge_type->has_rtc && gb->mbc_ram_bank >= 8 && gb->mbc_ram_bank <= 0xC) {
/* RTC read */ gb->rtc_latched.data[gb->mbc_ram_bank - 8] = gb->rtc_real.data[gb->mbc_ram_bank - 8] = value;
gb->rtc_latched.data[gb->mbc_ram_bank - 8] = gb->rtc_real.data[gb->mbc_ram_bank - 8] = value; /* Todo: does it really write both? */
} }
if (!gb->mbc_ram) { if (!gb->mbc_ram) {