mirror of
https://github.com/holub/mame
synced 2025-05-17 19:24:59 +03:00
Removed PPC_MMU_ENABLED flag (no whatsnew)
This commit is contained in:
parent
124ee70ef1
commit
1d7d5e7081
@ -119,15 +119,6 @@ enum
|
||||
PPC_TRANSLATE_NOEXCEPTION = 0x0004
|
||||
};
|
||||
|
||||
#ifdef MESS
|
||||
#define PPC_MMU_ENABLED 1
|
||||
#else /* !MESS */
|
||||
/* MMU not enabled in MAME; model3 drivers don't work properly */
|
||||
#define PPC_MMU_ENABLED 0
|
||||
#endif /* MESS */
|
||||
|
||||
|
||||
|
||||
static int ppc_is_protected(UINT32 pp, int flags)
|
||||
{
|
||||
if (flags & PPC_TRANSLATE_WRITE)
|
||||
@ -145,8 +136,6 @@ static int ppc_is_protected(UINT32 pp, int flags)
|
||||
|
||||
static int ppc_translate_address(offs_t *addr_ptr, int flags)
|
||||
{
|
||||
if (PPC_MMU_ENABLED)
|
||||
{
|
||||
const BATENT *bat;
|
||||
UINT32 address;
|
||||
UINT32 sr, vsid, hash;
|
||||
@ -286,12 +275,6 @@ exception:
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* MMU not enabled in MAME; model3 drivers don't work properly */
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
static int ppc_translate_address_cb(int space, offs_t *addr)
|
||||
|
Loading…
Reference in New Issue
Block a user