mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2026-05-10 19:01:53 +00:00
Fix rumble not working
This commit is contained in:
parent
288a52ef79
commit
f9fbb19b9b
2 changed files with 1 additions and 3 deletions
|
|
@ -10,8 +10,6 @@ extern "C" void recomp_measure_latency(uint8_t* rdram, recomp_context* ctx) {
|
|||
ultramodern::measure_input_latency();
|
||||
}
|
||||
|
||||
static int max_controllers = 0;
|
||||
|
||||
extern "C" void osContInit_recomp(uint8_t* rdram, recomp_context* ctx) {
|
||||
PTR(OSMesgQueue) mq = _arg<0, PTR(OSMesgQueue)>(rdram, ctx);
|
||||
PTR(u8) bitpattern = _arg<1, PTR(u8)>(rdram, ctx);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ static void __osContGetInitData(u8* pattern, OSContStatus *data) {
|
|||
|
||||
// Mark controller 0 as present
|
||||
data[0].type = 0x0005; // type: CONT_TYPE_NORMAL (from joybus)
|
||||
data[0].status = 0x00; // status: 0 (from joybus)
|
||||
data[0].status = 0x01; // status: 0x01 (from joybus, indicates that a pak is plugged into the controller)
|
||||
data[0].err_no = 0x00; // errno: 0 (from libultra)
|
||||
|
||||
// Mark controllers 1-3 as not connected
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue