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()
|
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;
|
return true;
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool openURL(const string& url)
|
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);
|
return SDLOpenURL(url);
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue