diff options
| author | Martino Fontana <tinozzo123@gmail.com> | 2026-08-19 21:12:10 +0200 |
|---|---|---|
| committer | Martino Fontana <tinozzo123@gmail.com> | 2026-08-19 21:12:10 +0200 |
| commit | 2944fd26e339ff215360ac4116e357064409bbf9 (patch) | |
| tree | 5de844db78dcdf662807c07b088dd203d6347684 /Source | |
| parent | a795eaf01d832b22c7c6baa30ba11fdf643a9e29 (diff) | |
MMU: Fix non-integral HostTryRead not passing space
Randomly spotted. Didn't test, but it was obviously wrong.
Fixes regression from 8a97ce9124c94f868b078d67208f81795f259323.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/PowerPC/MMU.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/MMU.h b/Source/Core/Core/PowerPC/MMU.h index 14196df06d..65a4cb8830 100644 --- a/Source/Core/Core/PowerPC/MMU.h +++ b/Source/Core/Core/PowerPC/MMU.h @@ -167,7 +167,7 @@ public: requires(!std::unsigned_integral<T>) { using U = Common::MakeUnsignedSameSize<T>; - std::optional<ReadResult<U>> result = HostTryRead<U>(guard, address); + std::optional<ReadResult<U>> result = HostTryRead<U>(guard, address, space); return std::bit_cast<std::optional<ReadResult<T>>>(result); } static std::optional<ReadResult<u32>> |
