mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 10:35:46 -04:00
DMA: Properly handle infinite linked lists, add cycle stealing
Fixes Tekken 2, Hot Wheels Turbo Racing, probably others.
This commit is contained in:
@ -394,7 +394,7 @@ protected:
|
||||
#if 0
|
||||
const u32 draw_ticks = static_cast<u32>((std::abs(x1 * (y2 - y3) + x2 * (y3 - y1) + x3 * (y1 - y2)) + 1u) / 2u);
|
||||
#else
|
||||
const u32 draw_ticks = ((width + 1) / 2) * height;
|
||||
const u32 draw_ticks = ((width + 2) / 3) * height;
|
||||
#endif
|
||||
AddCommandTicks(draw_ticks);
|
||||
}
|
||||
|
Reference in New Issue
Block a user