Skip to content

Commit

Permalink
fix: mark netplay dolphin as open after hitting play
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Aug 11, 2023
1 parent f4b1d53 commit 0046aa2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/renderer/lib/dolphin/useDolphinActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ export const useDolphinActions = (dolphinService: DolphinService) => {
return;
}

dolphinService.launchNetplayDolphin({ bootToCss }).catch(showError);
dolphinService
.launchNetplayDolphin({ bootToCss })
.then(() => {
setDolphinOpened(DolphinLaunchType.NETPLAY);
})
.catch(showError);
},
[getInstallStatus, dolphinService, showError],
);
Expand Down

0 comments on commit 0046aa2

Please sign in to comment.