Overclock support for all SH3 and SH4 calculators supported by Gint/fxSDk : Fx9860Gs and fxCGs #23

Closed
Slyvtt wants to merge 16 commits from Slyvtt/gint:dev into dev
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 1f4fbcec43 - Show all commits

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 = {