in gpsnes9x.cpp:
switch (gp32_clockfreq)
{
case 133:
gp32_clockfreq=144;
break;
case 144:
gp32_clockfreq=156;
break;
case 156:
gp32_clockfreq=166;
break;
case 166:
gp32_clockfreq=180;
break;
case 180:
gp32_clockfreq=200;
break;
case 200:
gp32_clockfreq=220;
break;
case 220:
gp32_clockfreq=240;
break;
case 240:
gp32_clockfreq=256;
break;
case 256:
gp32_clockfreq=133;
break;
}
in gp32_func.cpp:
switch (gp32_clockfreq)
{
case 133:
GpClockSpeedChange(132000000, 0x3a011, 3);
gp32_timermul=(67800*256/132000);
break;
case 144:
GpClockSpeedChange(144000000, 0x28001, 3);
gp32_timermul=(67800*256/144000);
break;
case 156:
GpClockSpeedChange(156000000, 0x2c001, 3);
gp32_timermul=(67800*256/156000);
break;
case 166:
GpClockSpeedChange(166000000, 0x4B011, 3);
gp32_timermul=(67800*256/166000);
break;
case 180:
GpClockSpeedChange(180000000, 0x16000, 3);
gp32_timermul=(67800*256/180000);
break;
case 200:
GpClockSpeedChange (200000000, 0x2A010, 3);
gp32_timermul=(67800*256/200000);
break;
case 220:
GpClockSpeedChange (220000000, 0x2f010, 3);
gp32_timermul=(67800*256/220000);
break;
case 240:
GpClockSpeedChange (240000000, 0x20000, 3);
gp32_timermul=(67800*256/240000);
break;
case 256:
GpClockSpeedChange (256000000, 0x38010, 3);
gp32_timermul=(67800*256/256000);
break;
}
see you :lol: