mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2026-04-25 19:44:12 +00:00
fix __osContGetInitData mask to detect multiple controllers
This commit is contained in:
parent
9ae9dbbe41
commit
93a61f167b
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ static void __osContGetInitData(u8* pattern, OSContStatus *data) {
|
|||
data[controller].status = device_info.connected_pak != ultramodern::input::Pak::None;
|
||||
data[controller].err_no = 0x00;
|
||||
|
||||
*pattern = 1 << controller;
|
||||
*pattern |= 1 << controller;
|
||||
}
|
||||
else {
|
||||
// Mark controller as not connected
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue