Files
2026-03-10 02:24:03 +03:00

14 lines
431 B
C

#ifndef SM_GAMEINFO_H
#define SM_GAMEINFO_H
#include <stdbool.h>
#include <sys/stat.h>
// Read title ID and title name from a mounted game directory.
bool get_game_info(const char *base_path, const struct stat *param_st,
char *out_id, char *out_name);
// Check whether a directory contains sce_sys/param.json and stat it.
bool directory_has_param_json(const char *dir_path, struct stat *param_st_out);
#endif