Fix for upstream libdragon.

This commit is contained in:
gameblabla 2019-08-21 07:12:11 +02:00
parent 4ad1ab4264
commit a85ce61319
No known key found for this signature in database
GPG Key ID: B24EFBB23B5F76CB

View File

@ -314,7 +314,8 @@ void view_mpk(display_context_t disp)
int err; int err;
printText("Mempak content:", 11, 5, disp); 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 */ /* Make sure they don't have a rumble pak inserted instead */
switch (identify_accessory(0)) switch (identify_accessory(0))