mirror of
https://github.com/holub/mame
synced 2025-05-17 11:15:06 +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
|
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)
|
static int ppc_is_protected(UINT32 pp, int flags)
|
||||||
{
|
{
|
||||||
if (flags & PPC_TRANSLATE_WRITE)
|
if (flags & PPC_TRANSLATE_WRITE)
|
||||||
@ -144,8 +135,6 @@ static int ppc_is_protected(UINT32 pp, int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int ppc_translate_address(offs_t *addr_ptr, int flags)
|
static int ppc_translate_address(offs_t *addr_ptr, int flags)
|
||||||
{
|
|
||||||
if (PPC_MMU_ENABLED)
|
|
||||||
{
|
{
|
||||||
const BATENT *bat;
|
const BATENT *bat;
|
||||||
UINT32 address;
|
UINT32 address;
|
||||||
@ -287,12 +276,6 @@ exception:
|
|||||||
}
|
}
|
||||||
return 0;
|
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)
|
static int ppc_translate_address_cb(int space, offs_t *addr)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user