Skip to content

Commit

Permalink
update sockdrive; skippable sync
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Feb 8, 2024
1 parent 6264507 commit c3d2a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native/jsdos/jsdos-asyncify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ extern "C" void asyncify_sleep(unsigned int ms, bool nonSkippable) {
std::this_thread::sleep_for(std::chrono::milliseconds(16));
}

if (ms == 0) {
if (ms == 0 || !nonSkippable) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion native/sockdrive

0 comments on commit c3d2a93

Please sign in to comment.