mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 16:30:44 +00:00
Fix 64-bit builds in REAL_ADDRESSING mode with gcc4.1.
This commit is contained in:
parent
9dfecc4279
commit
9e252b413e
@ -68,8 +68,8 @@ bool Init680x0(void)
|
|||||||
{
|
{
|
||||||
#if REAL_ADDRESSING
|
#if REAL_ADDRESSING
|
||||||
// Mac address space = host address space
|
// Mac address space = host address space
|
||||||
RAMBaseMac = (uint32)RAMBaseHost;
|
RAMBaseMac = (uintptr)RAMBaseHost;
|
||||||
ROMBaseMac = (uint32)ROMBaseHost;
|
ROMBaseMac = (uintptr)ROMBaseHost;
|
||||||
#elif DIRECT_ADDRESSING
|
#elif DIRECT_ADDRESSING
|
||||||
// Mac address space = host address space minus constant offset (MEMBaseDiff)
|
// Mac address space = host address space minus constant offset (MEMBaseDiff)
|
||||||
// NOTE: MEMBaseDiff is set up in main_unix.cpp/main()
|
// NOTE: MEMBaseDiff is set up in main_unix.cpp/main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user