Skip to content

Add all missing IM_*() functions. - #459

Open
dkosmari wants to merge 3 commits into
devkitPro:masterfrom
dkosmari:complete-coreinit-im
Open

dkosmari wants to merge 3 commits into
devkitPro:masterfrom
dkosmari:complete-coreinit-im

Conversation

@dkosmari

Copy link
Copy Markdown
Contributor

This also adds details for the "args" field of IMRequest.

Daniel K. O. (dkosmari) added 2 commits September 10, 2026 23:25
- Added details for the "args" field of IMRequest.
…d. This avoids "narrowing

conversion" warnings.
Comment thread include/coreinit/im.h Outdated
IMTimer timer,
uint32_t value,
IOSAsyncCallbackFn *asyncCallback,
void *asyncCallbackContext) __asm__("IM_SetTimerElpasedSeconds");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a #define IM_SetTimerElpasedSeconds IM_SetTimerElapsedSeconds somewhere, just to allow using the name exported from the RPL too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I'll just drop the asm redirection, and correct the name with the macro. But what would be the use case?

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.

2 participants