micro opt
This commit is contained in:
parent
7be8362ed4
commit
5bf9f4d782
1 changed files with 1 additions and 1 deletions
2
mmu.h
2
mmu.h
|
@ -82,7 +82,7 @@ public:
|
|||
void show_state(console *const cnsl) const override;
|
||||
|
||||
bool is_enabled() const { return MMR0 & 1; }
|
||||
bool is_locked() const { return !!(MMR0 & 0160000); }
|
||||
bool is_locked() const { return MMR0 & 0160000; }
|
||||
|
||||
void set_page_trapped (const int run_mode, const bool d, const int apf) { pages[run_mode][d][apf].pdr |= 1 << 7; }
|
||||
void set_page_written_to(const int run_mode, const bool d, const int apf) { pages[run_mode][d][apf].pdr |= 1 << 6; }
|
||||
|
|
Loading…
Add table
Reference in a new issue