mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Menu) Fixes load detect for single-file ZIP
This commit is contained in:
parent
01975e9328
commit
d80e5de45e
@ -28,6 +28,8 @@
|
||||
#include "../../retroarch.h"
|
||||
#include "../../input/input_autodetect.h"
|
||||
|
||||
extern char detect_content_path[PATH_MAX_LENGTH];
|
||||
|
||||
static int archive_open(void)
|
||||
{
|
||||
char cat_path[PATH_MAX_LENGTH];
|
||||
@ -93,6 +95,9 @@ static int archive_load(void)
|
||||
ret = rarch_defer_core(global->core_info, menu_path, path, menu_label,
|
||||
menu->deferred_path, sizeof(menu->deferred_path));
|
||||
|
||||
fill_pathname_join(detect_content_path, menu_path, path,
|
||||
sizeof(detect_content_path));
|
||||
|
||||
switch (ret)
|
||||
{
|
||||
case -1:
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "../../input/input_remapping.h"
|
||||
|
||||
/* FIXME - Global variables, refactor */
|
||||
static char detect_content_path[PATH_MAX_LENGTH];
|
||||
char detect_content_path[PATH_MAX_LENGTH];
|
||||
unsigned rdb_entry_start_game_selection_ptr;
|
||||
size_t hack_shader_pass = 0;
|
||||
#ifdef HAVE_NETWORKING
|
||||
|
Loading…
x
Reference in New Issue
Block a user