(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 "../../retroarch.h"
|
||||||
#include "../../input/input_autodetect.h"
|
#include "../../input/input_autodetect.h"
|
||||||
|
|
||||||
|
extern char detect_content_path[PATH_MAX_LENGTH];
|
||||||
|
|
||||||
static int archive_open(void)
|
static int archive_open(void)
|
||||||
{
|
{
|
||||||
char cat_path[PATH_MAX_LENGTH];
|
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,
|
ret = rarch_defer_core(global->core_info, menu_path, path, menu_label,
|
||||||
menu->deferred_path, sizeof(menu->deferred_path));
|
menu->deferred_path, sizeof(menu->deferred_path));
|
||||||
|
|
||||||
|
fill_pathname_join(detect_content_path, menu_path, path,
|
||||||
|
sizeof(detect_content_path));
|
||||||
|
|
||||||
switch (ret)
|
switch (ret)
|
||||||
{
|
{
|
||||||
case -1:
|
case -1:
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "../../input/input_remapping.h"
|
#include "../../input/input_remapping.h"
|
||||||
|
|
||||||
/* FIXME - Global variables, refactor */
|
/* 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;
|
unsigned rdb_entry_start_game_selection_ptr;
|
||||||
size_t hack_shader_pass = 0;
|
size_t hack_shader_pass = 0;
|
||||||
#ifdef HAVE_NETWORKING
|
#ifdef HAVE_NETWORKING
|
||||||
|
|
Loading…
Reference in New Issue