fs.mitm: Get Title ID on fsp-srv init, Add worker to handle subinterfaces.
This commit is contained in:
1 parent
ec78fa5977
commit
3cbdf0b2b9
7 files changed
+160
-2
No files matched your search
@@ -3,7 +3,15 @@
|
||||
#include <stratosphere/iserviceobject.hpp>
|
||||
#include "imitmserviceobject.hpp"
|
||||
|
||||
class FsMitMService : public IMitMServiceObject {
|
||||
enum FspSrvCmd {
|
||||
FspSrv_Cmd_SetCurrentProcess = 1,
|
||||
};
|
||||
|
||||
class FsMitMService : public IMitMServiceObject {
|
||||
private:
|
||||
bool has_initialized;
|
||||
u64 process_id;
|
||||
u64 title_id;
|
||||
public:
|
||||
virtual Result dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size);
|
||||
virtual Result postprocess(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size);
|
||||
|
||||
Reference in new issue
Block a user