WIP 3 - OC working/tested on CG10/20/50 and on G35+EII - SH3 timers still to be adjusted/CPU accelerated OK

This commit is contained in:
Sylvain PILLOT 2022-12-06 13:37:41 +01:00
parent 1f16c6e968
commit 1f4fbcec43
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ enum {
thoug many more are involved.
On SH4 fx-9860G-likr:
(Not supported yet)
(Not tested yet)
On the fx 9860G-II series: (taken from Sentaro21's README)
F1: CPU @ 29 MHz, BFC @ 29 MHz [Default speed]

View File

@ -149,16 +149,16 @@ static void hsave(cpg_state_t *s)
{
if(isSH4()) {
s->SSCGCR = SH7305_CPG.SSCGCR.lword;
cpg_get_overclock_setting(&s->speed);
}
cpg_get_overclock_setting(&s->speed);
}
static void hrestore(cpg_state_t const *s)
{
if(isSH4()) {
SH7305_CPG.SSCGCR.lword = s->SSCGCR;
cpg_set_overclock_setting(&s->speed);
}
cpg_set_overclock_setting(&s->speed);
}
gint_driver_t drv_cpg = {