mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
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:
commit
c8e183fb3c
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user