mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
fix contentless netplay! thanks Gregor
This commit is contained in:
parent
a33778cb87
commit
cd17927990
@ -1350,15 +1350,6 @@ static bool event_init_content(void)
|
||||
|
||||
content_get_status(&contentless, &is_inited);
|
||||
|
||||
if (contentless)
|
||||
{
|
||||
#ifdef HAVE_NETWORKING
|
||||
if (netplay_driver_ctl(RARCH_NETPLAY_CTL_IS_ENABLED, NULL))
|
||||
RARCH_ERR("%s\n", msg_hash_to_str(MSG_SORRY_UNIMPLEMENTED_CORES_DONT_DEMAND_CONTENT_NETPLAY));
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
command_event_set_savestate_auto_index();
|
||||
|
||||
if (event_load_save_files())
|
||||
|
@ -71,7 +71,7 @@ static void netplay_crc_scan_callback(void *task_data,
|
||||
else if (!string_is_empty(state->core_path) && !string_is_empty(state->content_path) &&
|
||||
string_is_equal(state->content_path, "N/A"))
|
||||
{
|
||||
printf("Content: %s Core: %s\n", state->content_path, state->core_path);
|
||||
command_event(CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED, state->hostname);
|
||||
task_push_content_load_default(
|
||||
state->core_path, NULL,
|
||||
&content_info,
|
||||
|
Loading…
x
Reference in New Issue
Block a user