|
|
@ -155,7 +155,7 @@ public:
|
|
|
|
const auto match{parent.MatchingWatchpoint(addr, size, type)};
|
|
|
|
const auto match{parent.MatchingWatchpoint(addr, size, type)};
|
|
|
|
if (match) {
|
|
|
|
if (match) {
|
|
|
|
parent.halted_watchpoint = match;
|
|
|
|
parent.halted_watchpoint = match;
|
|
|
|
ReturnException(parent.jit.load()->Regs()[15], ARM_Interface::watchpoint);
|
|
|
|
parent.jit.load()->HaltExecution(ARM_Interface::watchpoint);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -204,7 +204,6 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
|
|
|
|
|
|
|
|
|
|
|
|
// Code cache size
|
|
|
|
// Code cache size
|
|
|
|
config.code_cache_size = 512_MiB;
|
|
|
|
config.code_cache_size = 512_MiB;
|
|
|
|
config.far_code_offset = 400_MiB;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Allow memory fault handling to work
|
|
|
|
// Allow memory fault handling to work
|
|
|
|
if (system.DebuggerEnabled()) {
|
|
|
|
if (system.DebuggerEnabled()) {
|
|
|
@ -215,7 +214,6 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
|
|
|
|
if (!page_table) {
|
|
|
|
if (!page_table) {
|
|
|
|
// Don't waste too much memory on null_jit
|
|
|
|
// Don't waste too much memory on null_jit
|
|
|
|
config.code_cache_size = 8_MiB;
|
|
|
|
config.code_cache_size = 8_MiB;
|
|
|
|
config.far_code_offset = 4_MiB;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Safe optimizations
|
|
|
|
// Safe optimizations
|
|
|
|