diff --git a/thermosphere/src/hvisor_watchpoint_manager.cpp b/thermosphere/src/hvisor_watchpoint_manager.cpp index 60be23745..83e3c4d89 100644 --- a/thermosphere/src/hvisor_watchpoint_manager.cpp +++ b/thermosphere/src/hvisor_watchpoint_manager.cpp @@ -105,7 +105,7 @@ namespace ams::hvisor { } else { size_t off = addr & 7ull; wp.vr = addr & ~7ul; - wp.cr.bas = MASK2(off + size, off); + wp.cr.bas = MASK2(off + size - 1, off); } return AddImpl(addr, size, wp);