logo
pub unsafe fn get_libretro_path<'a>(
    callback: retro_environment_t
) -> Option<&'a Path>
Expand description

Retrieves the absolute path from where this libretro implementation was loaded. None is returned if the libretro was loaded statically (i.e. linked statically to frontend), or if the path cannot be determined. Mostly useful in cooperation with set_support_no_game as assets can be loaded without ugly hacks.