1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

Refactoring (still trying to fix CI compilation issue)

This commit is contained in:
Rémi 2019-11-17 18:03:57 +01:00
parent 756b4636f6
commit 1c9d0dbf48
4 changed files with 7 additions and 6 deletions

View File

@ -23,6 +23,7 @@
#endif
#include <libretro.h>
#include <retroarch.h>
#include <lists/file_list.h>
#include <file/file_path.h>
#include <string/stdstring.h>
@ -16698,10 +16699,6 @@ bool menu_setting_ctl(enum menu_setting_ctl_state state, void *data)
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 *group_data, void *subgroup_data, const char *parent_group)
{

View File

@ -136,8 +136,6 @@ void menu_setting_free(rarch_setting_t *setting);
bool menu_setting_ctl(
enum menu_setting_ctl_state state, void *data);
unsigned int get_rotation();
RETRO_END_DECLS
#endif

View File

@ -27446,3 +27446,7 @@ static void core_free_retro_game_info(struct retro_game_info *dest)
dest->data = NULL;
dest->meta = NULL;
}
unsigned int get_rotation(){
return configuration_settings->uints.video_rotation + runloop_system.rotation;
}

View File

@ -2133,6 +2133,8 @@ bool menu_driver_is_toggled(void);
bool menu_widgets_ready(void);
unsigned int get_rotation(void);
RETRO_END_DECLS
#endif