mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Refactoring (still trying to fix CI compilation issue)
This commit is contained in:
parent
756b4636f6
commit
1c9d0dbf48
@ -23,6 +23,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libretro.h>
|
#include <libretro.h>
|
||||||
|
#include <retroarch.h>
|
||||||
#include <lists/file_list.h>
|
#include <lists/file_list.h>
|
||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
@ -16698,10 +16699,6 @@ bool menu_setting_ctl(enum menu_setting_ctl_state state, void *data)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int get_rotation(){
|
|
||||||
return config_get_ptr()->uints.video_rotation + runloop_get_system_info()->rotation;
|
|
||||||
}
|
|
||||||
|
|
||||||
void video_driver_menu_settings(void **list_data, void *list_info_data,
|
void video_driver_menu_settings(void **list_data, void *list_info_data,
|
||||||
void *group_data, void *subgroup_data, const char *parent_group)
|
void *group_data, void *subgroup_data, const char *parent_group)
|
||||||
{
|
{
|
||||||
|
@ -136,8 +136,6 @@ void menu_setting_free(rarch_setting_t *setting);
|
|||||||
bool menu_setting_ctl(
|
bool menu_setting_ctl(
|
||||||
enum menu_setting_ctl_state state, void *data);
|
enum menu_setting_ctl_state state, void *data);
|
||||||
|
|
||||||
unsigned int get_rotation();
|
|
||||||
|
|
||||||
RETRO_END_DECLS
|
RETRO_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -27446,3 +27446,7 @@ static void core_free_retro_game_info(struct retro_game_info *dest)
|
|||||||
dest->data = NULL;
|
dest->data = NULL;
|
||||||
dest->meta = NULL;
|
dest->meta = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsigned int get_rotation(){
|
||||||
|
return configuration_settings->uints.video_rotation + runloop_system.rotation;
|
||||||
|
}
|
@ -2133,6 +2133,8 @@ bool menu_driver_is_toggled(void);
|
|||||||
|
|
||||||
bool menu_widgets_ready(void);
|
bool menu_widgets_ready(void);
|
||||||
|
|
||||||
|
unsigned int get_rotation(void);
|
||||||
|
|
||||||
RETRO_END_DECLS
|
RETRO_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user