Start separating CFG:U and CFG:I

This commit is contained in:
wheremyfoodat 2023-08-11 16:56:10 +03:00
parent 3f29eb5f6c
commit 26bb05bd8e
3 changed files with 7 additions and 5 deletions
include
kernel
services

View file

@ -17,7 +17,8 @@ namespace KernelHandles {
BOSS, // Streetpass stuff?
CAM, // Camera service
CECD, // More Streetpass stuff?
CFG, // CFG service (Console & region info)
CFG_U, // CFG service (Console & region info)
CFG_I,
DLP_SRVR, // Download Play: Server. Used for network play.
DSP, // DSP service (Used for audio decoding and output)
HID, // HID service (Handles input-related things including gyro. Does NOT handle New3DS controls or CirclePadPro)
@ -67,7 +68,8 @@ namespace KernelHandles {
case BOSS: return "BOSS";
case CAM: return "CAM";
case CECD: return "CECD";
case CFG: return "CFG";
case CFG_U: return "CFG:U";
case CFG_I: return "CFG:I";
case DSP: return "DSP";
case DLP_SRVR: return "DLP::SRVR";
case HID: return "HID";

View file

@ -7,7 +7,6 @@
#include "result/result.hpp"
class CFGService {
Handle handle = KernelHandles::CFG;
Memory& mem;
CountryCodes country = CountryCodes::US; // Default to USA
MAKE_LOG_FUNCTION(log, cfgLogger)