mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-24 03:19:17 -05:00
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:
@@ -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>>
|
||||
|
||||
Reference in New Issue
Block a user