mirror of https://github.com/stella-emu/stella.git
libretro: fix #1013
This commit is contained in:
parent
9ad90d9f47
commit
444dfdc4a9
|
@ -183,20 +183,28 @@ class MediaFactory
|
|||
|
||||
static bool supportsURL()
|
||||
{
|
||||
#if defined(SDL_SUPPORT) && SDL_VERSION_ATLEAST(2, 0, 14)
|
||||
#if defined(SDL_SUPPORT)
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 14)
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool openURL(const string& url)
|
||||
{
|
||||
#if defined(SDL_SUPPORT) && SDL_VERSION_ATLEAST(2, 0, 14)
|
||||
#if defined(SDL_SUPPORT)
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 14)
|
||||
return SDLOpenURL(url);
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue