cpu/m68k: Revert unwise cleanup. [R. Belmont]

This commit is contained in:
arbee 2023-07-05 11:25:11 -04:00
parent c1286973f8
commit 2954d4ff44
2 changed files with 3 additions and 3 deletions

View File

@ -1034,7 +1034,7 @@ void m68000_musashi_device::init_cpu_common(void)
/* disable all MMUs */
m_has_pmmu = false;
m_has_hmmu = false;
m_has_hmmu = 0;
m_pmmu_enabled = false;
m_hmmu_enabled = false;
m_emmu_enabled = false;
@ -2333,7 +2333,7 @@ void m68000_musashi_device::clear_all()
m_instr_mode= 0;
m_run_mode= 0;
m_has_pmmu= false;
m_has_hmmu= false;
m_has_hmmu= 0;
m_pmmu_enabled= false;
m_hmmu_enabled= false;
m_emmu_enabled= false;

View File

@ -174,7 +174,7 @@ protected:
u32 m_instr_mode; /* Stores whether we are in instruction mode or group 0/1 exception mode */
u32 m_run_mode; /* Stores whether we are processing a reset, bus error, address error, or something else */
bool m_has_pmmu; /* Indicates if a PMMU available (yes on 030, 040, no on EC030) */
bool m_has_hmmu; /* Indicates if an Apple HMMU is available in place of the 68851 (020 only) */
int m_has_hmmu; /* Indicates if an Apple HMMU is available in place of the 68851 (020 only) */
bool m_pmmu_enabled; /* Indicates if the PMMU is enabled */
bool m_hmmu_enabled; /* Indicates if the HMMU is enabled */
bool m_emmu_enabled; /* Indicates if external MMU is enabled */