MMU: Fix non-integral HostTryRead not passing space

Randomly spotted. Didn't test, but it was obviously wrong.
Fixes regression from 8a97ce9124.
This commit is contained in:
Martino Fontana
2026-08-19 21:12:10 +02:00
parent a795eaf01d
commit 2944fd26e3

View File

@@ -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>>