mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-22 13:25:51 +12:00
[GSP::GPU] Implement writeHwRegs
This commit is contained in:
parent
a5384095df
commit
99e795c141
4 changed files with 35 additions and 3 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue