RetroArch
|
#include <string.h>
#include <errno.h>
#include <file/nbio.h>
#include <formats/image.h>
#include <compat/strl.h>
#include <retro_assert.h>
#include <retro_miscellaneous.h>
#include <lists/string_list.h>
#include <rhash.h>
#include <string/stdstring.h>
#include <file/file_path.h>
#include <lists/dir_list.h>
#include "tasks_internal.h"
#include "../file_path_special.h"
#include "../verbosity.h"
#include "../configuration.h"
#include "../playlist.h"
#include "../command.h"
#include "../core_info.h"
#include "../../retroarch.h"
#include "../../menu/menu_driver.h"
Classes | |
struct | netplay_crc_handle_t |
Functions | |
static void | netplay_crc_scan_callback (void *task_data, void *user_data, const char *error) |
static void | begin_task (retro_task_t *task, const char *title) |
static void | finish_task (retro_task_t *task, const char *title) |
static bool | core_requires_content (netplay_crc_handle_t *state) |
static void | get_entry (char *entry, int len, const char *path) |
static void | task_netplay_crc_scan_handler (retro_task_t *task) |
bool | task_push_netplay_crc_scan (uint32_t crc, char *name, const char *hostname, const char *core_name) |
|
static |
|
static |
|
static |
Given a path to a content file, return the base name without the path or the file extension.
e.g. /home/user/foo.rom => foo
|
static |
|
static |
Execute a search for compatible content for netplay. We prioritize a CRC match, if we have a CRC to match against. If we don't have a CRC, or if there's no CRC match found, fall back to a filename match and hope for the best.