Merge branch 'master' into mii_selector

This commit is contained in:
wheremyfoodat 2023-08-10 12:18:43 +03:00
commit f614bcb005
26 changed files with 310 additions and 17 deletions

View file

@ -13,6 +13,7 @@ class ACTService {
// Service commands
void initialize(u32 messagePointer);
void generateUUID(u32 messagePointer);
void getAccountDataBlock(u32 messagePointer);
public:
ACTService(Memory& mem) : mem(mem) {}

View file

@ -11,6 +11,7 @@ class BOSSService {
MAKE_LOG_FUNCTION(log, bossLogger)
// Service commands
void cancelTask(u32 messagePointer);
void initializeSession(u32 messagePointer);
void getNsDataIdList(u32 messagePointer);
void getOptoutFlag(u32 messagePointer);

View file

@ -16,6 +16,7 @@ class CFGService {
// Service functions
void getConfigInfoBlk2(u32 messagePointer);
void getCountryCodeID(u32 messagePointer);
void getRegionCanadaUSA(u32 messagePointer);
void getSystemModel(u32 messagePointer);
void genUniqueConsoleHash(u32 messagePointer);

21
include/services/http.hpp Normal file
View file

@ -0,0 +1,21 @@
#pragma once
#include "helpers.hpp"
#include "kernel_types.hpp"
#include "logger.hpp"
#include "memory.hpp"
class HTTPService {
Handle handle = KernelHandles::HTTP;
Memory& mem;
MAKE_LOG_FUNCTION(log, httpLogger)
bool initialized = false;
// Service commands
void initialize(u32 messagePointer);
public:
HTTPService(Memory& mem) : mem(mem) {}
void reset();
void handleSyncRequest(u32 messagePointer);
};

View file

@ -21,6 +21,7 @@
#include "services/gsp_gpu.hpp"
#include "services/gsp_lcd.hpp"
#include "services/hid.hpp"
#include "services/http.hpp"
#include "services/ir_user.hpp"
#include "services/ldr_ro.hpp"
#include "services/mic.hpp"
@ -53,6 +54,7 @@ class ServiceManager {
DlpSrvrService dlp_srvr;
DSPService dsp;
HIDService hid;
HTTPService http;
IRUserService ir_user;
FRDService frd;
FSService fs;