Files
ShadowMountPlus/include/sm_game_cache.h
T
2026-03-10 02:24:03 +03:00

18 lines
581 B
C

#ifndef SM_GAME_CACHE_H
#define SM_GAME_CACHE_H
#include <stdbool.h>
// Cache resolved metadata for a mounted or discovered game.
void cache_game_entry(const char *path, const char *title_id,
const char *title_name);
// Drop invalid or stale entries from the game cache.
void prune_game_cache(void);
// Look up a cached game entry by path or title ID.
bool find_cached_game(const char *path, const char *title_id,
const char **existing_path_out);
// Remove a game cache entry by path.
void clear_cached_game(const char *path);
#endif