Turn libretro_get_environment_info into static function

This commit is contained in:
twinaphex 2017-04-16 09:42:17 +02:00
parent c1e85bb504
commit 23bedbb3fb
2 changed files with 1 additions and 21 deletions

View File

@ -191,7 +191,7 @@ static bool environ_cb_get_system_info(unsigned cmd, void *data)
*
* For statically linked cores, pass retro_set_environment as argument.
*/
void libretro_get_environment_info(void (*func)(retro_environment_t),
static void libretro_get_environment_info(void (*func)(retro_environment_t),
bool *load_no_content)
{
load_no_content_hook = load_no_content;

View File

@ -25,26 +25,6 @@
RETRO_BEGIN_DECLS
/**
* libretro_get_environment_info:
* @func : Function pointer for get_environment_info.
* @load_no_content : If true, core should be able to auto-start
* without any content loaded.
*
* Sets environment callback in order to get statically known
* information from it.
*
* Fetched via environment callbacks instead of
* retro_get_system_info(), as this info is part of extensions.
*
* Should only be called once right after core load to
* avoid overwriting the "real" environ callback.
*
* For statically linked cores, pass retro_set_environment as argument.
*/
void libretro_get_environment_info(void (*)(retro_environment_t),
bool *load_no_content);
/**
* libretro_get_system_info:
* @path : Path to libretro library.