Merge pull request #2 from gameblabla/upstream_libd_fix

Fix for upstream libdragon.
This commit is contained in:
gameblabla 2019-08-21 05:19:02 +00:00 committed by GitHub
commit 80812ab125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -314,7 +314,8 @@ void view_mpk(display_context_t disp)
int err;
printText("Mempak content:", 11, 5, disp);
get_accessories_present();
struct controller_data output;
get_accessories_present( &output);
/* Make sure they don't have a rumble pak inserted instead */
switch (identify_accessory(0))