correct range invalidation start index (dynamic core, fixes Archimedean Dynasty)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2835
This commit is contained in:
parent
2147dc647b
commit
9afe1037a7
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public:
|
|||
}
|
||||
}
|
||||
bool InvalidateRange(Bitu start,Bitu end) {
|
||||
Bits index=1+(start>>DYN_HASH_SHIFT);
|
||||
Bits index=1+(end>>DYN_HASH_SHIFT);
|
||||
bool is_current_block=false;
|
||||
Bit32u ip_point=SegPhys(cs)+reg_eip;
|
||||
ip_point=((paging.tlb.phys_page[ip_point>>12]-phys_page)<<12)+(ip_point&0xfff);
|
||||
|
|
Loading…
Add table
Reference in a new issue