Merge pull request #12797 from QuarkTheAwesome/load-without-core-info

(WiiU) Add option for running without core info (emscripten-style)
This commit is contained in:
Autechre 2021-08-14 17:03:38 +02:00 committed by GitHub
commit c8e183fb3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,7 @@ HAVE_RUNAHEAD = 1
WIIU_LOG_RPX = 0
BUILD_DIR = objs/wiiu
PC_DEVELOPMENT_TCP_PORT ?=
LOAD_WITHOUT_CORE_INFO ?= 0
ifeq ($(SALAMANDER_BUILD),1)
BUILD_DIR := $(BUILD_DIR)-salamander
@ -85,6 +86,9 @@ else
ifeq ($(HAVE_RUNAHEAD),1)
DEFINES += -DHAVE_RUNAHEAD
endif
ifeq ($(LOAD_WITHOUT_CORE_INFO),1)
DEFINES += -DLOAD_WITHOUT_CORE_INFO
endif
OBJ += wiiu/shader_utils.o
OBJ += gfx/drivers/gx2_shaders/tex.o

View File

@ -1235,8 +1235,10 @@ static unsigned menu_displaylist_parse_supported_cores(menu_displaylist_info_t *
* the core file extension - if there is none, then
* it is impossible for RetroArch to populate a
* core_info list */
#if !defined(LOAD_WITHOUT_CORE_INFO)
if (!frontend_driver_get_core_extension(exts, sizeof(exts)) ||
string_is_empty(exts))
#endif
{
struct retro_system_info *system = runloop_get_libretro_system_info();
const char *core_path = core_path_current;