Skip to content

Commit 25b40ff

Browse files
committed
Fix hang on stop program.
1 parent 2a0bbdf commit 25b40ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ SingleSwitchProgramInstance::SingleSwitchProgramInstance(
7373

7474

7575
void SingleSwitchProgramInstance::program(SingleSwitchProgramEnvironment& env, CancellableScope& scope){
76-
ProControllerContext context(env.console.pro_controller());
76+
ProControllerContext context(scope, env.console.pro_controller());
7777
program(env, context);
7878
}
7979
void SingleSwitchProgramInstance::program(SingleSwitchProgramEnvironment& env, ProControllerContext& context){

0 commit comments

Comments
 (0)