mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
MorphOS: delete system OpenURL
delete system OpenURL and use SDL_OpenURL
This commit is contained in:
parent
ba353bc58c
commit
0066eb84ee
@ -26,7 +26,6 @@
|
||||
#include "backends/platform/sdl/morphos/morphos.h"
|
||||
#include "backends/fs/morphos/morphos-fs-factory.h"
|
||||
#include "backends/dialogs/morphos/morphos-dialogs.h"
|
||||
#include <proto/openurl.h>
|
||||
|
||||
void OSystem_MorphOS::init() {
|
||||
// Initialze File System Factory
|
||||
@ -52,16 +51,4 @@ bool OSystem_MorphOS::hasFeature(Feature f) {
|
||||
return OSystem_SDL::hasFeature(f);
|
||||
}
|
||||
|
||||
bool OSystem_MorphOS::openUrl(const Common::String &url) {
|
||||
|
||||
static struct TagItem URLTags[] = {{TAG_DONE, (ULONG) NULL}};
|
||||
|
||||
if (OpenURLBase){
|
||||
URL_OpenA((STRPTR)url.c_str(), (struct TagItem*) URLTags);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
#endif
|
||||
|
@ -28,7 +28,6 @@ class OSystem_MorphOS : public OSystem_SDL {
|
||||
public:
|
||||
void init() override;
|
||||
virtual bool hasFeature(Feature f);
|
||||
bool openUrl(const Common::String &url) override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user