Merge pull request #4088 from hp9k/fix_mmu_typo

m68k: fix typo in SRP type check (nw)
This commit is contained in:
R. Belmont 2018-10-08 10:24:34 -04:00 committed by GitHub
commit ad129a4673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1057,8 +1057,8 @@ void m68881_mmu_ops()
m_mmu_srp_limit = (temp64>>32) & 0xffffffff;
m_mmu_srp_aptr = temp64 & 0xffffffff;
// printf("PMMU: SRP limit = %08x aptr = %08x\n", m_mmu_srp_limit, m_mmu_srp_aptr);
// CRP type 0 is not allowed
if ((m_mmu_crp_limit & 3) == 0) {
// SRP type 0 is not allowed
if ((m_mmu_srp_limit & 3) == 0) {
m68ki_exception_trap(EXCEPTION_MMU_CONFIGURATION);
return;
}