mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-26 09:02:44 -06:00
arm: Do not try to access null page table. (#6930)
This commit is contained in:
parent
df57012c50
commit
04aeecabcf
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue