Virtual Method

HsFrontendget_cache_path

Declaration [src]

char*
get_cache_path (
  HsFrontend* self
)

Description [src]

Gets the path to the cache location.

It can be used for temporary files, cache and so on. Cores should not use any other directories for this purpose.

The core is responsible for creating the cache file/directory if it doesn’t exist.

The frontend is allowed to use a shared directory for everything or a separate directory for each game.

Return value

Type: char*

The cache path.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.