Skip to content

Commit

Permalink
Fixed dumb mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
KiritoDv committed Apr 9, 2024
1 parent 2e58f21 commit ee95529
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/public/libultra/os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ int32_t osAiSetNextBuffer(void *buff, uint32_t len) {
}

int32_t __osMotorAccess(OSPfs* pfs, uint32_t vibrate) {
auto interface = LUS::Context::GetInstance()->GetControlDeck()->GetControllerByPort(pfs->channel)->GetRumble();
auto io = LUS::Context::GetInstance()->GetControlDeck()->GetControllerByPort(pfs->channel)->GetRumble();
if (vibrate) {
interface->StartRumble();
io->StartRumble();
} else {
interface->StopRumble();
io->StopRumble();
}

return 0;
Expand Down

0 comments on commit ee95529

Please sign in to comment.