diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 8a29f152e9..9c4282170b 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -224,8 +224,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base) })); // Token register, readonly. - mmio->Register(base | PE_TOKEN_REG, MMIO::ComplexRead([](u32) { return s_token; }), - MMIO::InvalidWrite()); + mmio->Register(base | PE_TOKEN_REG, MMIO::DirectRead(&s_token), MMIO::InvalidWrite()); // BBOX registers, readonly and need to update a flag. for (int i = 0; i < 4; ++i)