mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Cleanups
This commit is contained in:
parent
7a745c3f70
commit
5ba74302b2
@ -206,7 +206,7 @@ static void blit_line(int x, int y,
|
|||||||
if (!rgui_framebuf_data)
|
if (!rgui_framebuf_data)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
while (*message)
|
while (!string_is_empty(message))
|
||||||
{
|
{
|
||||||
const uint8_t *font_fb = menu_display_get_font_framebuffer();
|
const uint8_t *font_fb = menu_display_get_font_framebuffer();
|
||||||
uint32_t symbol = string_walk(&message);
|
uint32_t symbol = string_walk(&message);
|
||||||
|
@ -2735,7 +2735,7 @@ static void xmb_context_reset_background(const char *iconpath)
|
|||||||
|
|
||||||
fill_pathname_join(path, iconpath, "bg.png", sizeof(path));
|
fill_pathname_join(path, iconpath, "bg.png", sizeof(path));
|
||||||
|
|
||||||
if (*settings->path.menu_wallpaper)
|
if (!string_is_empty(settings->path.menu_wallpaper))
|
||||||
strlcpy(path, settings->path.menu_wallpaper, sizeof(path));
|
strlcpy(path, settings->path.menu_wallpaper, sizeof(path));
|
||||||
|
|
||||||
if (path_file_exists(path))
|
if (path_file_exists(path))
|
||||||
|
@ -254,7 +254,7 @@ static unsigned zarch_zui_hash(zui_t *zui, const char *s)
|
|||||||
{
|
{
|
||||||
unsigned hval = zui->hash;
|
unsigned hval = zui->hash;
|
||||||
|
|
||||||
while(*s!=0)
|
while(*s != 0)
|
||||||
{
|
{
|
||||||
hval+=*s++;
|
hval+=*s++;
|
||||||
hval+=(hval<<10);
|
hval+=(hval<<10);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user