mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-28 18:30:44 -04:00
29746156af
* pfsisplug OK * Remove duplicate struct * Apply suggestions from code review Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
16 lines
239 B
C
16 lines
239 B
C
#include "global.h"
|
|
|
|
s32 osContSetCh(u8 ch) {
|
|
__osSiGetAccess();
|
|
|
|
if (4 < ch) {
|
|
__osMaxControllers = 4;
|
|
} else {
|
|
__osMaxControllers = ch;
|
|
}
|
|
__osContLastPoll = -2;
|
|
|
|
__osSiRelAccess();
|
|
return 0;
|
|
}
|