[GSP::GPU] Implement writeHwRegs

This commit is contained in:
wheremyfoodat 2022-09-18 22:52:24 +03:00
parent a5384095df
commit 99e795c141
4 changed files with 35 additions and 3 deletions

View file

@ -55,7 +55,7 @@ void Kernel::controlMemory() {
switch (operation & 0xFF) {
case Operation::Commit: {
std::optional<u32> address = mem.allocateMemory(addr0, 0, size, linear);
std::optional<u32> address = mem.allocateMemory(addr0, 0, size, linear, r, w, x);
if (!address.has_value())
Helpers::panic("ControlMemory: Failed to allocate memory");