f06167ca4d
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@391 6952d904-891a-0410-993b-d76249ca496b
12 lines
581 B
Diff
12 lines
581 B
Diff
--- src/recompiler/exec.c
|
|
+++ src/recompiler/exec.c
|
|
@@ -1555,7 +1555,7 @@
|
|
ram_addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) +
|
|
tlb_entry->addend - (unsigned long)phys_ram_base;
|
|
#else
|
|
- ram_addr = remR3HCVirt2GCPhys(first_cpu, (tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend);
|
|
+ ram_addr = (ram_addr_t)remR3HCVirt2GCPhys(first_cpu, (void *)((tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend));
|
|
#endif
|
|
if (!cpu_physical_memory_is_dirty(ram_addr)) {
|
|
tlb_entry->addr_write |= IO_MEM_NOTDIRTY;
|