fix: merge w/ previous
This commit is contained in:
parent
2291710409
commit
470c774836
|
@ -65,7 +65,7 @@ pub fn parse(self: *Self, allocator: Allocator, emu: Emulator) !String {
|
|||
const ret = try allocator.alloc(u8, r.len * reg_len + reg_len); // r0 -> r15 + CPSR
|
||||
|
||||
{
|
||||
var i: usize = 0;
|
||||
var i: u32 = 0;
|
||||
while (i < r.len + 1) : (i += 1) {
|
||||
const reg: u32 = if (i < r.len) r[i] else cpsr;
|
||||
|
||||
|
@ -93,7 +93,7 @@ pub fn parse(self: *Self, allocator: Allocator, emu: Emulator) !String {
|
|||
const ret = try allocator.alloc(u8, len * 2);
|
||||
|
||||
{
|
||||
var i: usize = 0;
|
||||
var i: u32 = 0;
|
||||
while (i < len) : (i += 1) {
|
||||
const value: u8 = emu.read(addr + i);
|
||||
|
||||
|
|
Loading…
Reference in New Issue