Cleaned up turbo handling.
This commit is contained in:
parent
4f0fe705c5
commit
b530bdafea
9 changed files with 54 additions and 32 deletions
11
src/t3100e.c
11
src/t3100e.c
|
|
@ -376,16 +376,9 @@ void t3100e_turbo_set(uint8_t value)
|
|||
{
|
||||
t3100e_ems.turbo = value;
|
||||
if (!value)
|
||||
{
|
||||
int c = cpu;
|
||||
cpu = 0; /* 286/6 */
|
||||
cpu_set();
|
||||
cpu = c;
|
||||
}
|
||||
cpu_set_turbo(0);
|
||||
else
|
||||
{
|
||||
cpu_set();
|
||||
}
|
||||
cpu_set_turbo(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue