TIMER_RATIO set to 12. Bus clock should be 1/3 of CPU clock.

This could slowdown games but it's indeed more accurate. So, possible perf hack there.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1194 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
memberTwo.mb2 2008-11-17 10:06:18 +00:00
parent 92b98d2d58
commit 39e44b0482
1 changed files with 5 additions and 3 deletions

View File

@ -38,10 +38,12 @@ u32 CPU_CORE_CLOCK = 486000000u; // 486 mhz (its not 485, stop bugg
s64 fakeDec;
//ratio of TB and Decrementer to clock cycles
//4 or 8? not really sure, but think it's 8
// ratio of TB and Decrementer to clock cycles
// With TB clk at 1/4 of BUS clk
// and it seems BUS clk is really 1/3 of CPU clk
// note: ZWW is ok and faster with TIMER_RATIO=8 though.
enum {
TIMER_RATIO = 8
TIMER_RATIO = 12
};
int et_Dec;