added supafaust core
This commit is contained in:
parent
3f5f5bfaaf
commit
d5cc9f7cef
9 changed files with 155 additions and 48 deletions
25
src/minarch/overrides/mednafen_supafaust.h
Normal file
25
src/minarch/overrides/mednafen_supafaust.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#include "overrides.h"
|
||||
|
||||
static CoreOverrides mednafen_supafaust_overrides = {
|
||||
.core_name = "mednafen_supafaust",
|
||||
.option_overrides = (OptionOverride[]){
|
||||
{"supafaust_pixel_format", "rgb565", 1}, // others unsupported
|
||||
{NULL,NULL},
|
||||
},
|
||||
.button_mapping = (ButtonMapping[]){
|
||||
{"Up", RETRO_DEVICE_ID_JOYPAD_UP, BTN_ID_UP},
|
||||
{"Down", RETRO_DEVICE_ID_JOYPAD_DOWN, BTN_ID_DOWN},
|
||||
{"Left", RETRO_DEVICE_ID_JOYPAD_LEFT, BTN_ID_LEFT},
|
||||
{"Right", RETRO_DEVICE_ID_JOYPAD_RIGHT, BTN_ID_RIGHT},
|
||||
{"Select", RETRO_DEVICE_ID_JOYPAD_SELECT, BTN_ID_SELECT},
|
||||
{"Start", RETRO_DEVICE_ID_JOYPAD_START, BTN_ID_START},
|
||||
{"Y Button", RETRO_DEVICE_ID_JOYPAD_Y, BTN_ID_Y},
|
||||
{"X Button", RETRO_DEVICE_ID_JOYPAD_X, BTN_ID_X},
|
||||
{"B Button", RETRO_DEVICE_ID_JOYPAD_B, BTN_ID_B},
|
||||
{"A Button", RETRO_DEVICE_ID_JOYPAD_A, BTN_ID_A},
|
||||
{"L Button", RETRO_DEVICE_ID_JOYPAD_L, BTN_ID_L1},
|
||||
{"R Button", RETRO_DEVICE_ID_JOYPAD_R, BTN_ID_R1},
|
||||
{NULL},
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue