diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-27 23:57:40 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-27 23:57:40 +0000 |
commit | baf8ebf01a70782d222f0eaf29591dc60723f73c (patch) | |
tree | d12dc37b50ed46294dd49608c04f678f020e9797 | |
parent | 9d16dd550ee51431d83e9fbfbc0adc022219b4c1 (diff) | |
download | qemu-baf8ebf01a70782d222f0eaf29591dc60723f73c.tar.gz qemu-baf8ebf01a70782d222f0eaf29591dc60723f73c.tar.bz2 qemu-baf8ebf01a70782d222f0eaf29591dc60723f73c.zip |
fixed virtual memory access
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@416 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | disas.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |