fs.mitm: Get Title ID on fsp-srv init, Add worker to handle subinterfaces.
This commit is contained in:
@@ -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