fs.mitm: Fix c++ modernization breaking changes
This commit is contained in:
@@ -130,6 +130,8 @@ class MitMSession final : public ISession<T> {
|
||||
|
||||
MitMSession<T> *new_sess = new MitMSession<T>((MitMServer<T> *)this->server, s_h, c_h, cur_out_r.Handles[0]);
|
||||
new_sess->service_object = this->service_object;
|
||||
IServiceObject *obj = this->service_object.get();
|
||||
|
||||
if (this->is_domain) {
|
||||
new_sess->is_domain = true;
|
||||
new_sess->domain = this->domain;
|
||||
@@ -185,11 +187,7 @@ class MitMSession final : public ISession<T> {
|
||||
u64 retval_for_log = retval;
|
||||
Log(&retval_for_log, sizeof(u64));
|
||||
if (R_FAILED(retval)) {
|
||||
// Reboot();
|
||||
}
|
||||
|
||||
if (retval == 0xA08) {
|
||||
Reboot();
|
||||
//Reboot();
|
||||
}
|
||||
|
||||
return retval;
|
||||
|
||||
Reference in New Issue
Block a user