MorphOS: delete system OpenURL

delete system OpenURL and use SDL_OpenURL
This commit is contained in:
BeWorld 2022-03-25 20:29:32 +01:00 committed by Filippos Karapetis
parent ba353bc58c
commit 0066eb84ee
2 changed files with 0 additions and 14 deletions

View File

@ -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

View File

@ -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