Merge pull request #4765 from degasus/token
PixelEngine: Use a DirectRead for the token.
This commit is contained in:
commit
cf18ed0a52
|
@ -224,8 +224,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
|
|||
}));
|
||||
|
||||
// Token register, readonly.
|
||||
mmio->Register(base | PE_TOKEN_REG, MMIO::ComplexRead<u16>([](u32) { return s_token; }),
|
||||
MMIO::InvalidWrite<u16>());
|
||||
mmio->Register(base | PE_TOKEN_REG, MMIO::DirectRead<u16>(&s_token), MMIO::InvalidWrite<u16>());
|
||||
|
||||
// BBOX registers, readonly and need to update a flag.
|
||||
for (int i = 0; i < 4; ++i)
|
||||
|
|
Loading…
Reference in New Issue