RetroArch
|
#include <errno.h>
#include <ctype.h>
#include <string.h>
#include <retro_miscellaneous.h>
#include <compat/strcasestr.h>
#include <compat/strl.h>
#include <file/file_path.h>
#include <retro_endianness.h>
#include <streams/file_stream.h>
#include <streams/interface_stream.h>
#include <string/stdstring.h>
#include "../database_info.h"
#include "tasks_internal.h"
#include "../list_special.h"
#include "../msg_hash.h"
#include "../verbosity.h"
Classes | |
struct | magic_entry |
Macros | |
#define | MAGIC_LEN 17 |
#define | MAX_TOKEN_LEN 255 |
#define | MODETEST_VAL 0xffffff00 |
Functions | |
static int64_t | get_token (intfstream_t *fd, char *token, uint64_t max_len) |
static int | detect_ps1_game_sub (intfstream_t *fp, char *game_id, int sub_channel_mixed) |
int | detect_ps1_game (intfstream_t *fd, char *game_id) |
int | detect_psp_game (intfstream_t *fd, char *game_id) |
int | detect_gc_game (intfstream_t *fd, char *game_id) |
int | detect_serial_ascii_game (intfstream_t *fd, char *game_id) |
int | detect_system (intfstream_t *fd, const char **system_name) |
static int64_t | intfstream_get_file_size (const char *path) |
static bool | update_cand (int64_t *cand_index, int64_t *last_index, uint64_t *largest, char *last_file, uint64_t *offset, uint64_t *size, char *track_path, uint64_t max_len) |
int | cue_find_track (const char *cue_path, bool first, uint64_t *offset, uint64_t *size, char *track_path, uint64_t max_len) |
bool | cue_next_file (intfstream_t *fd, const char *cue_path, char *path, uint64_t max_len) |
int | gdi_find_track (const char *gdi_path, bool first, char *track_path, uint64_t max_len) |
bool | gdi_next_file (intfstream_t *fd, const char *gdi_path, char *path, uint64_t max_len) |
Variables | |
static struct magic_entry | MAGIC_NUMBERS [] |
#define MAGIC_LEN 17 |
#define MAX_TOKEN_LEN 255 |
#define MODETEST_VAL 0xffffff00 |
int cue_find_track | ( | const char * | cue_path, |
bool | first, | ||
uint64_t * | offset, | ||
uint64_t * | size, | ||
char * | track_path, | ||
uint64_t | max_len | ||
) |
bool cue_next_file | ( | intfstream_t * | fd, |
const char * | cue_path, | ||
char * | path, | ||
uint64_t | max_len | ||
) |
int detect_gc_game | ( | intfstream_t * | fd, |
char * | game_id | ||
) |
int detect_ps1_game | ( | intfstream_t * | fd, |
char * | game_id | ||
) |
|
static |
int detect_psp_game | ( | intfstream_t * | fd, |
char * | game_id | ||
) |
int detect_serial_ascii_game | ( | intfstream_t * | fd, |
char * | game_id | ||
) |
Check for an ASCII serial in the first few bits of the ISO (Wii).
int detect_system | ( | intfstream_t * | fd, |
const char ** | system_name | ||
) |
bool gdi_next_file | ( | intfstream_t * | fd, |
const char * | gdi_path, | ||
char * | path, | ||
uint64_t | max_len | ||
) |
|
static |
|
static |
|
static |