Warning clean up
Removing some old unused routines Addind some newlines after some files. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1077
This commit is contained in:
parent
d5231d4351
commit
b222a9576a
13 changed files with 52 additions and 81 deletions
|
@ -811,15 +811,15 @@ void CPU_HLT(void) {
|
|||
|
||||
|
||||
static void CPU_CycleIncrease(void) {
|
||||
Bitu old_cycles=CPU_CycleMax;
|
||||
CPU_CycleMax=(Bitu)(CPU_CycleMax*1.2);
|
||||
Bits old_cycles=CPU_CycleMax;
|
||||
CPU_CycleMax=(Bits)(CPU_CycleMax*1.2);
|
||||
CPU_CycleLeft=0;CPU_Cycles=0;
|
||||
if (CPU_CycleMax==old_cycles) CPU_CycleMax++;
|
||||
LOG_MSG("CPU:%d cycles",CPU_CycleMax);
|
||||
}
|
||||
|
||||
static void CPU_CycleDecrease(void) {
|
||||
CPU_CycleMax=(Bitu)(CPU_CycleMax/1.2);
|
||||
CPU_CycleMax=(Bits)(CPU_CycleMax/1.2);
|
||||
CPU_CycleLeft=0;CPU_Cycles=0;
|
||||
if (!CPU_CycleMax) CPU_CycleMax=1;
|
||||
LOG_MSG("CPU:%d cycles",CPU_CycleMax);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue