mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-10 19:45:35 +00:00
Indentation
This commit is contained in:
parent
3038726a5b
commit
23b3f651f9
|
@ -206,6 +206,7 @@ class Uc(object):
|
||||||
except: # _uc might be pulled from under our feet
|
except: # _uc might be pulled from under our feet
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
# emulate from @begin, and stop when reaching address @until
|
# emulate from @begin, and stop when reaching address @until
|
||||||
def emu_start(self, begin, until, timeout=0, count=0):
|
def emu_start(self, begin, until, timeout=0, count=0):
|
||||||
status = _uc.uc_emu_start(self._uch, begin, until, timeout, count)
|
status = _uc.uc_emu_start(self._uch, begin, until, timeout, count)
|
||||||
|
|
|
@ -629,9 +629,8 @@ int x86_reg_write(struct uc_struct *uc, unsigned int regid, const void *value)
|
||||||
break;
|
break;
|
||||||
case UC_X86_REG_FP0 ... UC_X86_REG_FP7:
|
case UC_X86_REG_FP0 ... UC_X86_REG_FP7:
|
||||||
{
|
{
|
||||||
//floatx80 cpu_set_fp80(uint64_t mant, uint16_t upper);
|
|
||||||
uint64_t mant = *(uint64_t*) value;
|
uint64_t mant = *(uint64_t*) value;
|
||||||
uint16_t upper = *(uint16_t*) (value+sizeof(uint64_t));
|
uint16_t upper = *(uint16_t*) (value + sizeof(uint64_t));
|
||||||
X86_CPU(uc, mycpu)->env.fpregs[regid - UC_X86_REG_FP0].d = cpu_set_fp80(mant, upper);
|
X86_CPU(uc, mycpu)->env.fpregs[regid - UC_X86_REG_FP0].d = cpu_set_fp80(mant, upper);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -654,6 +653,7 @@ int x86_reg_write(struct uc_struct *uc, unsigned int regid, const void *value)
|
||||||
fptag >>= 2;
|
fptag >>= 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(uc->mode) {
|
switch(uc->mode) {
|
||||||
|
|
Loading…
Reference in a new issue