Fixed HDMA timing )But still not verified)
This commit is contained in:
parent
b1cc55b786
commit
ce80acc818
@ -823,8 +823,8 @@ void GB_display_run(GB_gameboy_t *gb, uint8_t cycles)
|
|||||||
|
|
||||||
/* Todo: Measure this value */
|
/* Todo: Measure this value */
|
||||||
|
|
||||||
gb->cycles_for_line += 16;
|
gb->cycles_for_line += 12;
|
||||||
GB_SLEEP(gb, display, 25, 16);
|
GB_SLEEP(gb, display, 25, 12);
|
||||||
|
|
||||||
if (gb->hdma_on_hblank) {
|
if (gb->hdma_on_hblank) {
|
||||||
gb->hdma_starting = true;
|
gb->hdma_starting = true;
|
||||||
|
@ -465,7 +465,7 @@ static void reset_ram(GB_gameboy_t *gb)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#if 0
|
#if 0
|
||||||
/* Not emulated yet, for documentation only*/
|
/* Not emulated yet, for documentation only */
|
||||||
case GB_MODEL_SGB2:
|
case GB_MODEL_SGB2:
|
||||||
for (unsigned i = 0; i < gb->ram_size; i++) {
|
for (unsigned i = 0; i < gb->ram_size; i++) {
|
||||||
gb->ram[i] = 0x55;
|
gb->ram[i] = 0x55;
|
||||||
|
Loading…
Reference in New Issue
Block a user