mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x: add 6btn quirk
This commit is contained in:
parent
eb35ce1506
commit
a76fad4129
7 changed files with 33 additions and 8 deletions
|
@ -212,6 +212,7 @@ enum media_type_e PicoLoadMedia(const char *filename,
|
|||
Stop_CD();
|
||||
PicoCartUnload();
|
||||
PicoAHW = 0;
|
||||
PicoQuirks = 0;
|
||||
|
||||
if (media_type == PM_CD)
|
||||
{
|
||||
|
@ -296,6 +297,9 @@ enum media_type_e PicoLoadMedia(const char *filename,
|
|||
}
|
||||
}
|
||||
|
||||
if (PicoQuirks & PQUIRK_FORCE_6BTN)
|
||||
PicoSetInputDevice(0, PICO_INPUT_PAD_6BTN);
|
||||
|
||||
out:
|
||||
if (rom_data)
|
||||
free(rom_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue