Set DMA in defined state

This commit is contained in:
Jaby
2024-03-09 23:37:07 -06:00
parent 9c6b47e0fa
commit 948f59dde0
2 changed files with 16 additions and 0 deletions

View File

@@ -161,6 +161,10 @@ namespace JabyEngine {
static constexpr auto MasterEnableDPCR = Bit(23);
static constexpr auto EnableDPCR = BitRange::from_to(16, 22);
static constexpr auto ForceIRQ = Bit(15);
static constexpr DICR empty() {
return DICR{0};
}
};
__declare_value_at(, Registers, MDECin, 0x1F801080);