mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-30 13:24:16 +01:00
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() {
|
std::unique_ptr<Dynarmic::A32::Jit> ARM_Dynarmic::MakeJit() {
|
||||||
Dynarmic::A32::UserConfig config;
|
Dynarmic::A32::UserConfig config;
|
||||||
config.callbacks = cb.get();
|
config.callbacks = cb.get();
|
||||||
|
if (current_page_table) {
|
||||||
config.page_table = ¤t_page_table->GetPointerArray();
|
config.page_table = ¤t_page_table->GetPointerArray();
|
||||||
|
}
|
||||||
config.coprocessors[15] = std::make_shared<DynarmicCP15>(cp15_state);
|
config.coprocessors[15] = std::make_shared<DynarmicCP15>(cp15_state);
|
||||||
config.define_unpredictable_behaviour = true;
|
config.define_unpredictable_behaviour = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user