mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 09:35:40 +00:00
fixed go bindings typo
This commit is contained in:
parent
266c387a7d
commit
4021b635b1
|
@ -154,7 +154,7 @@ func (u *uc) RegReadBatch(regs []int) ([]uint64, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (u *uc) MemRegions() ([]*MemRegion, error) {
|
func (u *uc) MemRegions() ([]*MemRegion, error) {
|
||||||
var regions *C.struct_uc_mem_region
|
var regions *C.uc_mem_region
|
||||||
var count C.uint32_t
|
var count C.uint32_t
|
||||||
ucerr := C.uc_mem_regions(u.handle, ®ions, &count)
|
ucerr := C.uc_mem_regions(u.handle, ®ions, &count)
|
||||||
if ucerr != C.UC_ERR_OK {
|
if ucerr != C.UC_ERR_OK {
|
||||||
|
|
Loading…
Reference in a new issue