mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-06-08 09:29:31 +00:00
Remove debug
This commit is contained in:
parent
2e2f2a6b46
commit
856a58ef61
|
@ -225,10 +225,8 @@ void* vm_acquire(size_t size, int options){
|
|||
int fd = zero_fd;
|
||||
int the_map_flags = translate_map_flags(options) | map_flags;
|
||||
|
||||
printf("mmap addr=%p size=%p flags=%p\n",addr,size,the_map_flags);
|
||||
if ((addr = mmap(addr, size, VM_PAGE_DEFAULT, the_map_flags, fd, 0))==(void*)MAP_FAILED)
|
||||
return VM_MAP_FAILED;
|
||||
printf("mmap got=%p\n",addr);
|
||||
|
||||
// If MAP_32BIT fails to ensure a 32bit address, crash now instead of later.
|
||||
// FIXME: Make JIT 64bit clean and tear all this VM_MAP_32BIT hackery out.
|
||||
|
|
|
@ -90,7 +90,6 @@ bool InitMacMem(void){
|
|||
|
||||
#if USE_JIT
|
||||
JITCacheSize = compiler_get_jit_cache_size();
|
||||
printf("JITCacheSize=%p\n",JITCacheSize);
|
||||
#endif
|
||||
|
||||
// Initialize VM system
|
||||
|
@ -108,16 +107,12 @@ bool InitMacMem(void){
|
|||
ErrorAlert(STR_NO_MEM_ERR);
|
||||
return false;
|
||||
}
|
||||
printf("RAMBaseHost=%p\n",RAMBaseHost);
|
||||
ROMBaseHost = RAMBaseHost + RAMSize + ScratchMemSize;
|
||||
printf("ROMBaseHost=%p\n",ROMBaseHost);
|
||||
MacFrameBaseHost = ROMBaseHost + MAX_ROM_SIZE;
|
||||
printf("MacFrameBaseHost=%p\n",MacFrameBaseHost);
|
||||
|
||||
#if USE_SCRATCHMEM_SUBTERFUGE
|
||||
// points to middle of scratch memory
|
||||
ScratchMem = RAMBaseHost + RAMSize + ScratchMemSize/2;
|
||||
printf("ScratchMem=%p\n",ScratchMem);
|
||||
#endif
|
||||
|
||||
// Get rom file path from preferences
|
||||
|
|
Loading…
Reference in New Issue
Block a user