diff options
author | Nebuleon Fumika | 2013-02-05 01:33:39 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-02-05 01:33:39 -0500 |
commit | dfa2d3cc68616ddc7e5c5fd1bb9f250fa44cd2fd (patch) | |
tree | da3305b41ea030084bd15437b947cac4fb3518d0 /sdk-modifications/libsrc/core/ds2_cpuclock.c | |
parent | d1a7bf5eb558e7db4a1a27e15ebedb02e6b7f804 (diff) | |
download | snes9x2005-dfa2d3cc68616ddc7e5c5fd1bb9f250fa44cd2fd.tar.gz snes9x2005-dfa2d3cc68616ddc7e5c5fd1bb9f250fa44cd2fd.tar.bz2 snes9x2005-dfa2d3cc68616ddc7e5c5fd1bb9f250fa44cd2fd.zip |
Add include files from BassAceGold's library, release 2 fix 2.2.
Diffstat (limited to 'sdk-modifications/libsrc/core/ds2_cpuclock.c')
-rw-r--r-- | sdk-modifications/libsrc/core/ds2_cpuclock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdk-modifications/libsrc/core/ds2_cpuclock.c b/sdk-modifications/libsrc/core/ds2_cpuclock.c index 57f2143..145218d 100644 --- a/sdk-modifications/libsrc/core/ds2_cpuclock.c +++ b/sdk-modifications/libsrc/core/ds2_cpuclock.c @@ -192,7 +192,7 @@ static void detect_clockNew(void){ //udelay overclock void ds2_udelay(unsigned int usec) { - /*unsigned int i = usec * (_iclk / 2000000); + unsigned int i = usec * (_iclk / 2000000); __asm__ __volatile__ ( "\t.set noreorder\n" @@ -202,17 +202,17 @@ void ds2_udelay(unsigned int usec) ".set reorder\n" : "=r" (i) : "0" (i) - );*/ + ); } //mdelay overclock void ds2_mdelay(unsigned int msec) { - /*int i; + int i; for(i=0;i<msec;i++) { ds2_udelay(1000); - }*/ + } } |