Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor changes

  • Loading branch information...
commit 6e3945b4fae4718d643c38b37777e3ff6a037c6b 1 parent 997599f
@buffer authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/pylibemu.pyx
View
7 src/pylibemu.pyx
@@ -616,16 +616,13 @@ cdef class Emulator:
return 0
def cpu_reg32_get(self, reg):
- cdef c_emu_cpu *_cpu
+ cdef c_emu_cpu *_cpu
if self._emu is NULL:
return -1
_cpu = emu_cpu_get(self._emu)
-
- val = emu_cpu_reg32_get(_cpu, reg)
-
- return val
+ return <uint32_t>emu_cpu_reg32_get(_cpu, reg)
def cpu_step(self):
if self._emu is NULL:
Please sign in to comment.
Something went wrong with that request. Please try again.