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
|
@ -139,4 +139,4 @@
|
|||
} else { \
|
||||
GetEAa;FPU_ESC ## code ## _EA(rm,eaa); \
|
||||
} \
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
Bitu add_mask;
|
||||
Bitu count,count_left;
|
||||
Bits add_index;
|
||||
bool restart=false;
|
||||
|
||||
if (inst.prefix & PREFIX_SEG) si_base=inst.seg.base;
|
||||
else si_base=SegBase(ds);
|
||||
|
@ -63,7 +62,7 @@
|
|||
break;
|
||||
case R_INSB:
|
||||
for (;count>0;count--) {
|
||||
reg_dx,SaveMb(di_base+di_index,IO_Read(reg_dx));
|
||||
SaveMb(di_base+di_index,IO_Read(reg_dx));
|
||||
di_index=(di_index+add_index) & add_mask;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -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