1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-02 08:42:15 +00:00

fs.mitm: Remove debugging test, fix postprocessing.

This commit is contained in:
Michael Scire 2018-06-10 01:19:21 -06:00
parent ff9412feef
commit 548903e3fb

View file

@ -3,17 +3,17 @@
Result FsMitMService::dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size) { Result FsMitMService::dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size) {
Result rc = 0xF601; Result rc = 0xF601;
while (cmd_id == 18) {
}
return rc; return rc;
} }
Result FsMitMService::postprocess(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size) { Result FsMitMService::postprocess(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size) {
Result rc = 0xF601; struct {
while (cmd_id == 18) { u64 magic;
u64 result;
} *resp = (decltype(resp))r.Raw;
} Result rc = (Result)resp->result;
/* TODO: Hook here, if needed. */
return rc; return rc;
} }