diff options
| author | memberTwo.mb2 <memberTwo.mb2@gmail.com> | 2008-11-17 10:06:18 +0000 |
|---|---|---|
| committer | memberTwo.mb2 <memberTwo.mb2@gmail.com> | 2008-11-17 10:06:18 +0000 |
| commit | 39e44b0482c402e2ddbb30722875e29e4308f3df (patch) | |
| tree | db8f4080c40b3301dee0d413adfd5f6223234dd8 /Source/Core | |
| parent | 92b98d2d58e9f826ff81f509e5ee4f1c598479c7 (diff) | |
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
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/HW/SystemTimers.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Core/Core/Src/HW/SystemTimers.cpp b/Source/Core/Core/Src/HW/SystemTimers.cpp index 819537f3b8..acc21f4098 100644 --- a/Source/Core/Core/Src/HW/SystemTimers.cpp +++ b/Source/Core/Core/Src/HW/SystemTimers.cpp @@ -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;
|
