Skip to content

Commit

Permalink
naomi: limit rom dma delay to 1 sec
Browse files Browse the repository at this point in the history
Fixes crash at boot with jambo safari.
Fix for MINIDUMP-293
  • Loading branch information
flyinghead committed Dec 25, 2023
1 parent d069b45 commit c7b6f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/hw/naomi/naomi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static void Naomi_DmaStart(u32 addr, u32 data)
// Max G1 bus rate: 50 MHz x 16 bits
// SH4_access990312_e.xls: 14.4 MB/s from GD-ROM to system RAM
// Here: 7 MB/s
sh4_sched_request(dmaSchedId, SB_GDLEN * 27);
sh4_sched_request(dmaSchedId, std::min<int>(SB_GDLEN * 27, SH4_MAIN_CLOCK));
return;
}
else
Expand Down

0 comments on commit c7b6f22

Please sign in to comment.