arm: Do not try to access null page table. (#6930)
This commit is contained in:
parent
df57012c50
commit
04aeecabcf
|
@ -365,7 +365,9 @@ void ARM_Dynarmic::ServeBreak() {
|
|||
std::unique_ptr<Dynarmic::A32::Jit> ARM_Dynarmic::MakeJit() {
|
||||
Dynarmic::A32::UserConfig config;
|
||||
config.callbacks = cb.get();
|
||||
config.page_table = ¤t_page_table->GetPointerArray();
|
||||
if (current_page_table) {
|
||||
config.page_table = ¤t_page_table->GetPointerArray();
|
||||
}
|
||||
config.coprocessors[15] = std::make_shared<DynarmicCP15>(cp15_state);
|
||||
config.define_unpredictable_behaviour = true;
|
||||
|
||||
|
|
Reference in New Issue