From af5f38f00f49ab0c60425270502a09a9fee5fd23 Mon Sep 17 00:00:00 2001 From: neonloop Date: Sun, 28 Nov 2021 21:08:17 +0000 Subject: Adds fMSX core and builds trimui picoarch.zip --- core.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core.c') diff --git a/core.c b/core.c index 9122695..4e6c1dc 100644 --- a/core.c +++ b/core.c @@ -613,6 +613,11 @@ int core_load_content(struct content *content) { sram_read(); + if (!strcmp(core_name, "fmsx") && current_core.retro_set_controller_port_device) { + /* fMSX works best with joypad + keyboard */ + current_core.retro_set_controller_port_device(0, RETRO_DEVICE_SUBCLASS(RETRO_DEVICE_JOYPAD, 0)); + } + current_core.retro_get_system_av_info(&av_info); PA_INFO("Screen: %dx%d\n", av_info.geometry.base_width, av_info.geometry.base_height); -- cgit v1.2.3