mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-09-30 21:06:44 -05:00
Adding missing always_inline to _MultiBoot (from gba-hpp), updating docs
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -13,3 +13,4 @@ examples/multiboot
|
||||
*.sa2
|
||||
*.sa3
|
||||
*.sa4
|
||||
*.zip
|
||||
|
||||
@@ -693,7 +693,7 @@ inline void LINK_UNIVERSAL_ISR_SERIAL() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief TIMER interrupt handler used for sending.
|
||||
* @brief TIMER interrupt handler.
|
||||
*/
|
||||
inline void LINK_UNIVERSAL_ISR_TIMER() {
|
||||
linkUniversal->_onTimer();
|
||||
|
||||
@@ -1938,7 +1938,7 @@ inline void LINK_WIRELESS_ISR_SERIAL() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief TIMER interrupt handler used for sending.
|
||||
* @brief TIMER interrupt handler.
|
||||
*/
|
||||
inline void LINK_WIRELESS_ISR_TIMER() {
|
||||
linkWireless->_onTimer();
|
||||
|
||||
@@ -127,8 +127,9 @@ static inline __attribute__((always_inline)) void _IntrWait(
|
||||
: "+r"(r0), "+r"(r1)::"r3");
|
||||
}
|
||||
|
||||
static inline auto _MultiBoot(const _MultiBootParam* param,
|
||||
u32 mbmode) noexcept {
|
||||
static inline __attribute__((always_inline)) auto _MultiBoot(
|
||||
const _MultiBootParam* param,
|
||||
u32 mbmode) noexcept {
|
||||
register union {
|
||||
const _MultiBootParam* ptr;
|
||||
int res;
|
||||
|
||||
Reference in New Issue
Block a user