(Ozone) Fix redefinition of typedef

This commit is contained in:
Twinaphex 2018-11-25 19:22:55 +01:00
parent fb957f29a8
commit 3ca4ac2a21
2 changed files with 6 additions and 6 deletions

View File

@ -42,7 +42,7 @@ typedef struct ozone_handle ozone_handle_t;
#define INTERVAL_BATTERY_LEVEL_CHECK (30 * 1000000)
#define INTERVAL_OSK_CURSOR (0.5f * 1000000)
typedef struct ozone_handle
struct ozone_handle
{
uint64_t frame_count;
@ -152,7 +152,7 @@ typedef struct ozone_handle
unsigned old_list_offset_y;
file_list_t *horizontal_list; /* console tabs */
} ozone_handle_t;
};
/* If you change this struct, also
change ozone_alloc_node and
@ -207,4 +207,4 @@ void ozone_free_list_nodes(file_list_t *list, bool actiondata);
bool ozone_is_playlist(ozone_handle_t *ozone);
#endif
#endif

View File

@ -118,10 +118,10 @@ void ozone_set_color_theme(ozone_handle_t *ozone, unsigned color_theme)
last_color_theme = color_theme;
}
unsigned ozone_get_system_theme()
unsigned ozone_get_system_theme(void)
{
unsigned ret = 0;
#ifdef HAVE_LIBNX
unsigned ret = 0;
if (R_SUCCEEDED(setsysInitialize()))
{
ColorSetId theme;
@ -133,4 +133,4 @@ unsigned ozone_get_system_theme()
return ret;
#endif
return 0;
}
}