shithub: riscv

Download patch

ref: 7381779ba2a18a8a75331c3b851d15be224e7b98
parent: eeb0a660244d28067d92660bd4bde598d64805b5
author: cinap_lenrek <cinap_lenrek@localhost>
date: Wed Apr 20 11:28:16 EDT 2011

realemu: typo

--- a/sys/src/cmd/aux/realemu/decode.c
+++ b/sys/src/cmd/aux/realemu/decode.c
@@ -348,7 +348,7 @@
 		i->off = ar(areg(ip->cpu, 4, i->rm + RAX));
 		break;
 	case 4:
-		b = ar(ip); i->off++;
+		b = ar(ip); ip->off++;
 		i->scale = b>>6;
 		i->index = (b>>3)&7;
 		i->base = b&7;