mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Added GSP services
This commit is contained in:
parent
818ade660d
commit
a56b67f3ba
9 changed files with 96 additions and 5 deletions
21
src/core/services/gsp_gpu.cpp
Normal file
21
src/core/services/gsp_gpu.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "services/gsp_gpu.hpp"
|
||||
|
||||
namespace GPUCommands {
|
||||
enum : u32 {
|
||||
};
|
||||
}
|
||||
|
||||
namespace Result {
|
||||
enum : u32 {
|
||||
Success = 0,
|
||||
};
|
||||
}
|
||||
|
||||
void GPUService::reset() {}
|
||||
|
||||
void GPUService::handleSyncRequest(u32 messagePointer) {
|
||||
const u32 command = mem.read32(messagePointer);
|
||||
switch (command) {
|
||||
default: Helpers::panic("GPU service requested. Command: %08X\n", command);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue