mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Turn libretro_get_environment_info into static function
This commit is contained in:
parent
c1e85bb504
commit
23bedbb3fb
@ -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;
|
||||
|
20
dynamic.h
20
dynamic.h
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user