mirror of
https://github.com/Cxbx-Reloaded/unicorn.git
synced 2024-12-11 04:54:11 +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
|
||||
pass
|
||||
|
||||
|
||||
# emulate from @begin, and stop when reaching address @until
|
||||
def emu_start(self, begin, until, timeout=0, count=0):
|
||||
status = _uc.uc_emu_start(self._uch, begin, until, timeout, count)
|
||||
|
@ -629,7 +629,6 @@ int x86_reg_write(struct uc_struct *uc, unsigned int regid, const void *value)
|
||||
break;
|
||||
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;
|
||||
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);
|
||||
@ -654,6 +653,7 @@ int x86_reg_write(struct uc_struct *uc, unsigned int regid, const void *value)
|
||||
fptag >>= 2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
switch(uc->mode) {
|
||||
|
Loading…
Reference in New Issue
Block a user