mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
it loads now
This commit is contained in:
parent
fc68abebdd
commit
c8081bc3df
@ -49,6 +49,8 @@ static void netplay_crc_scan_callback(void *task_data,
|
|||||||
{
|
{
|
||||||
netplay_crc_handle_t *state = (netplay_crc_handle_t*)task_data;
|
netplay_crc_handle_t *state = (netplay_crc_handle_t*)task_data;
|
||||||
core_info_list_t *info = NULL;
|
core_info_list_t *info = NULL;
|
||||||
|
content_ctx_info_t content_info = {0};
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
core_info_get_list(&info);
|
core_info_get_list(&info);
|
||||||
|
|
||||||
@ -67,6 +69,12 @@ static void netplay_crc_scan_callback(void *task_data,
|
|||||||
printf("Corepath: %s\n", info->list[i].path);
|
printf("Corepath: %s\n", info->list[i].path);
|
||||||
|
|
||||||
command_event(CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED, state->hostname);
|
command_event(CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED, state->hostname);
|
||||||
|
task_push_content_load_default(
|
||||||
|
info->list[i].path, state->path,
|
||||||
|
&content_info,
|
||||||
|
CORE_TYPE_PLAIN,
|
||||||
|
CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU,
|
||||||
|
NULL, NULL);
|
||||||
|
|
||||||
free(state);
|
free(state);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user