提交 baf8ebf0 编写于 作者: B bellard

fixed virtual memory access


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@416 c046a42c-6fe2-441c-8c8c-71466251a162
上级 9d16dd55
......@@ -42,7 +42,7 @@ target_read_memory (memaddr, myaddr, length, info)
{
int i;
for(i = 0; i < length; i++) {
myaddr[i] = ldub_code((void *)((long)memaddr));
myaddr[i] = ldub_code((void *)((long)memaddr + i));
}
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册