fix: merge w/ previous

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-12-15 04:15:24 -04:00
parent 2291710409
commit 470c774836
1 changed files with 2 additions and 2 deletions

View File

@ -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);