mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-11-16 11:03:59 +01:00
arm: Do not try to access null page table. (#6930)
This commit is contained in:
1 parent
df57012c50
commit
04aeecabcf
1 file changed
+3
-1
@@ -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
Block a user