mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanup
This commit is contained in:
parent
07c56b4340
commit
679c0e829c
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <file/file_path.h>
|
||||
#include <compat/strl.h>
|
||||
#include <string/stdstring.h>
|
||||
#include <gfx/scaler/scaler.h>
|
||||
|
||||
#include <formats/rbmp.h>
|
||||
|
@ -203,7 +204,7 @@ static bool take_screenshot_choice(void)
|
|||
settings_t *settings = config_get_ptr();
|
||||
|
||||
/* No way to infer screenshot directory. */
|
||||
if ((!*settings->directory.screenshot) && (!*global->name.base))
|
||||
if (string_is_empty(settings->directory.screenshot) && (!*global->name.base))
|
||||
return false;
|
||||
|
||||
if (video_driver_supports_viewport_read())
|
||||
|
|
Loading…
Add table
Reference in a new issue