mirror of
https://github.com/holub/mame
synced 2025-06-18 02:08:56 +03:00
if (this) leftover, need to check if this causes some issue (nw)
This commit is contained in:
parent
a46635346d
commit
d213ae836e
@ -742,7 +742,6 @@ WRITE_LINE_MEMBER( m68000_base_device::write_irq7 )
|
|||||||
bool m68000_base_device::memory_translate(address_spacenum space, int intention, offs_t &address)
|
bool m68000_base_device::memory_translate(address_spacenum space, int intention, offs_t &address)
|
||||||
{
|
{
|
||||||
/* only applies to the program address space and only does something if the MMU's enabled */
|
/* only applies to the program address space and only does something if the MMU's enabled */
|
||||||
if (this)
|
|
||||||
{
|
{
|
||||||
/* 68040 needs to call the MMU even when disabled so transparent translation works */
|
/* 68040 needs to call the MMU even when disabled so transparent translation works */
|
||||||
if ((space == AS_PROGRAM) && ((pmmu_enabled) || (CPU_TYPE_IS_040_PLUS(cpu_type))))
|
if ((space == AS_PROGRAM) && ((pmmu_enabled) || (CPU_TYPE_IS_040_PLUS(cpu_type))))
|
||||||
@ -2646,7 +2645,6 @@ void m68020pmmu_device::device_start()
|
|||||||
bool m68020hmmu_device::memory_translate(address_spacenum space, int intention, offs_t &address)
|
bool m68020hmmu_device::memory_translate(address_spacenum space, int intention, offs_t &address)
|
||||||
{
|
{
|
||||||
/* only applies to the program address space and only does something if the MMU's enabled */
|
/* only applies to the program address space and only does something if the MMU's enabled */
|
||||||
if (this)
|
|
||||||
{
|
{
|
||||||
if ((space == AS_PROGRAM) && (hmmu_enabled))
|
if ((space == AS_PROGRAM) && (hmmu_enabled))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user