Remove onhold requeststate to allow Super Bomberman R2 ingame
This commit is contained in:
parent
090ea0281c
commit
565a4fd7b7
1 changed files with 0 additions and 11 deletions
|
@ -221,10 +221,6 @@ private:
|
||||||
void Submit(HLERequestContext& ctx) {
|
void Submit(HLERequestContext& ctx) {
|
||||||
LOG_DEBUG(Service_NIFM, "(STUBBED) called");
|
LOG_DEBUG(Service_NIFM, "(STUBBED) called");
|
||||||
|
|
||||||
if (state == RequestState::NotSubmitted) {
|
|
||||||
UpdateState(RequestState::OnHold);
|
|
||||||
}
|
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(ResultSuccess);
|
rb.Push(ResultSuccess);
|
||||||
}
|
}
|
||||||
|
@ -245,13 +241,6 @@ private:
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case RequestState::NotSubmitted:
|
case RequestState::NotSubmitted:
|
||||||
return has_connection ? ResultSuccess : ResultNetworkCommunicationDisabled;
|
return has_connection ? ResultSuccess : ResultNetworkCommunicationDisabled;
|
||||||
case RequestState::OnHold:
|
|
||||||
if (has_connection) {
|
|
||||||
UpdateState(RequestState::Accepted);
|
|
||||||
} else {
|
|
||||||
UpdateState(RequestState::Invalid);
|
|
||||||
}
|
|
||||||
return ResultPendingConnection;
|
|
||||||
case RequestState::Accepted:
|
case RequestState::Accepted:
|
||||||
default:
|
default:
|
||||||
return ResultSuccess;
|
return ResultSuccess;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue