Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for #183 #284

Merged
merged 1 commit into from
May 15, 2022
Merged

Conversation

Sirius902
Copy link
Contributor

@Sirius902 Sirius902 commented May 10, 2022

Implements a workaround that closes #183 by updating the controllers 3 times as often in its current call site. Eventually the proper fix would be implementing os thread functions as laid out in #189 by Kenix and then allowing controller inputs to be read in a separate thread, but this works well enough for now from what I can see.

Edit: Alternatively I could just implement osCreateThread in this PR but I'm not entirely sure the proper way to implement it considering the thread parameters may need to be handled. Also would osStartThread and osStopThread need to be implemented too in that case?

@V10lator
Copy link

Also would osStartThread and osStopThread need to be implemented too in that case?

osStartThread: Yes. Else the thread will get created but not run.
osStopThread: For this maybe not but other threads might need it, so I would implement it for future purposes (for example #189 should fix thread stacks, so when is*Thread functions are implemented it should be simple to go full multitasking).

@Kenix3 Kenix3 merged commit f217b9b into HarbourMasters:develop May 15, 2022
V10lator pushed a commit to V10lator/Shipwright that referenced this pull request May 16, 2022
V10lator added a commit to V10lator/Shipwright that referenced this pull request May 16, 2022
V10lator added a commit to V10lator/Shipwright that referenced this pull request May 17, 2022
@Sirius902 Sirius902 deleted the rumble-hotfix branch July 8, 2022 02:38
Malkierian pushed a commit to Malkierian/Shipwright that referenced this pull request Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rumble duration longer than N64
3 participants