NamcoGunCon: Use correct GPU clock as reference

This commit is contained in:
Connor McLaughlin
2020-07-02 02:51:22 +10:00
parent 06b329b4c6
commit 8a8ce8d41c
3 changed files with 10 additions and 1 deletions

View File

@ -393,6 +393,11 @@ void GPU::DMAWrite(const u32* words, u32 word_count)
* PAL - sysclk * 709379 / 451584
*/
TickCount GPU::GetCRTCFrequency() const
{
return m_console_is_pal ? 53203425 : 53693175;
}
TickCount GPU::CRTCTicksToSystemTicks(TickCount gpu_ticks, TickCount fractional_ticks) const
{
// convert to master clock, rounding up as we want to overshoot not undershoot