Make disable_expansion reset expansion state to 0.
Lets you unplug expansions and replug or plug a different one.
This commit is contained in:
@@ -890,6 +890,7 @@ void disable_expansion(struct wiimote_t* wm) {
|
||||
|
||||
WIIMOTE_DISABLE_STATE(wm, WIIMOTE_STATE_EXP);
|
||||
wm->exp.type = EXP_NONE;
|
||||
wm->expansion_state = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user