mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +00:00
new NATMEM_OFFSET (0x02000000) makes it possible to allocate space for
the MacOS DR emulator code, though the usual limitations exist there
This commit is contained in:
parent
27eb7cccae
commit
ef8e363c5c
@ -301,15 +301,12 @@ int main(int argc, char **argv)
|
|||||||
D(bug("Emulator Data at %p (%08x)\n", emulator_data, KERNEL_DATA_BASE + offsetof(KernelData, ed)));
|
D(bug("Emulator Data at %p (%08x)\n", emulator_data, KERNEL_DATA_BASE + offsetof(KernelData, ed)));
|
||||||
|
|
||||||
// Create area for DR Cache
|
// Create area for DR Cache
|
||||||
#warning FIXME: support DR emulator
|
|
||||||
#if 0
|
|
||||||
if (vm_mac_acquire(DR_EMULATOR_BASE, DR_EMULATOR_SIZE) < 0) {
|
if (vm_mac_acquire(DR_EMULATOR_BASE, DR_EMULATOR_SIZE) < 0) {
|
||||||
sprintf(str, GetString(STR_DR_EMULATOR_MMAP_ERR), strerror(errno));
|
sprintf(str, GetString(STR_DR_EMULATOR_MMAP_ERR), strerror(errno));
|
||||||
ErrorAlert(str);
|
ErrorAlert(str);
|
||||||
goto quit;
|
goto quit;
|
||||||
}
|
}
|
||||||
dr_emulator_area_mapped = true;
|
dr_emulator_area_mapped = true;
|
||||||
#endif
|
|
||||||
if (vm_mac_acquire(DR_CACHE_BASE, DR_CACHE_SIZE) < 0) {
|
if (vm_mac_acquire(DR_CACHE_BASE, DR_CACHE_SIZE) < 0) {
|
||||||
sprintf(str, GetString(STR_DR_CACHE_MMAP_ERR), strerror(errno));
|
sprintf(str, GetString(STR_DR_CACHE_MMAP_ERR), strerror(errno));
|
||||||
ErrorAlert(str);
|
ErrorAlert(str);
|
||||||
|
Loading…
Reference in New Issue
Block a user