mirror of
https://github.com/drakmor/ShadowMountPlus.git
synced 2026-10-21 06:10:01 -05:00
14 lines
431 B
C
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
|