mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
parent
e4905143c8
commit
366ae1b351
@ -78,6 +78,10 @@ void PadButtonRelease(PadState pad_state) {
|
||||
void PadUpdateComplete() {
|
||||
PadData* pad_data = GetPadData();
|
||||
|
||||
if (pad_data == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Update PadData struct
|
||||
pad_data->current_state.hex = next_state.hex;
|
||||
pad_data->index = next_index;
|
||||
|
Loading…
Reference in New Issue
Block a user