Add empty cfg:u service

This commit is contained in:
wheremyfoodat 2022-10-10 23:44:52 +03:00
parent e02ef8a213
commit 1ddba7737f
7 changed files with 55 additions and 9 deletions

21
src/core/services/cfg.cpp Normal file
View file

@ -0,0 +1,21 @@
#include "services/cfg.hpp"
namespace CFGCommands {
enum : u32 {
};
}
namespace Result {
enum : u32 {
Success = 0,
};
}
void CFGService::reset() {}
void CFGService::handleSyncRequest(u32 messagePointer) {
const u32 command = mem.read32(messagePointer);
switch (command) {
default: Helpers::panic("CFG service requested. Command: %08X\n", command);
}
}