Fixes Issue 1997
This also makes the CP FIFO hack obsolete. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4821 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
1e2f7c89c3
commit
ecdcffc7cf
3 files changed
+7
-10
No files matched your search
@@ -717,7 +717,9 @@ void UpdateParameters()
|
||||
case 0: // NTSC
|
||||
case 2: // PAL-M
|
||||
TargetRefreshRate = NTSC_FIELD_RATE;
|
||||
TicksPerFrame = SystemTimers::GetTicksPerSecond() / NTSC_FIELD_RATE;
|
||||
// AyuanX: Some games are pretty sensitive to this value
|
||||
// So we have to make it run a little faster to prevent potential time out
|
||||
TicksPerFrame = SystemTimers::GetTicksPerSecond() / (NTSC_FIELD_RATE + 1);
|
||||
s_lineCount = m_DisplayControlRegister.NIN ? NTSC_LINE_COUNT : (NTSC_LINE_COUNT+1)/2;
|
||||
//s_upperFieldBegin = NTSC_UPPER_BEGIN;
|
||||
//s_lowerFieldBegin = NTSC_LOWER_BEGIN;
|
||||
@@ -725,7 +727,9 @@ void UpdateParameters()
|
||||
|
||||
case 1: // PAL
|
||||
TargetRefreshRate = PAL_FIELD_RATE;
|
||||
TicksPerFrame = SystemTimers::GetTicksPerSecond() / PAL_FIELD_RATE;
|
||||
// AyuanX: Some games are pretty sensitive to this value
|
||||
// So we have to make it run a little faster to prevent potential time out
|
||||
TicksPerFrame = SystemTimers::GetTicksPerSecond() / (PAL_FIELD_RATE + 1);
|
||||
s_lineCount = m_DisplayControlRegister.NIN ? PAL_LINE_COUNT : (PAL_LINE_COUNT+1)/2;
|
||||
//s_upperFieldBegin = PAL_UPPER_BEGIN;
|
||||
//s_lowerFieldBegin = PAL_LOWER_BEGIN;
|
||||
|
||||
Reference in new issue
Block a user