Added GSP services

This commit is contained in:
wheremyfoodat 2022-09-18 16:38:10 +03:00
parent 818ade660d
commit a56b67f3ba
9 changed files with 96 additions and 5 deletions

View 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);
}
}