[Scummvm-git-logs] scummvm master -> 0066eb84ee22086b3d469fe2e3ebfb6d0e191c3d
bluegr
noreply at scummvm.org
Sat Mar 26 07:15:29 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
0066eb84ee MorphOS: delete system OpenURL
Commit: 0066eb84ee22086b3d469fe2e3ebfb6d0e191c3d
https://github.com/scummvm/scummvm/commit/0066eb84ee22086b3d469fe2e3ebfb6d0e191c3d
Author: BeWorld (36823759+BeWorld2018 at users.noreply.github.com)
Date: 2022-03-26T09:15:25+02:00
Commit Message:
MorphOS: delete system OpenURL
delete system OpenURL and use SDL_OpenURL
Changed paths:
backends/platform/sdl/morphos/morphos.cpp
backends/platform/sdl/morphos/morphos.h
diff --git a/backends/platform/sdl/morphos/morphos.cpp b/backends/platform/sdl/morphos/morphos.cpp
index d991cce46c1..48924bade7f 100644
--- a/backends/platform/sdl/morphos/morphos.cpp
+++ b/backends/platform/sdl/morphos/morphos.cpp
@@ -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
diff --git a/backends/platform/sdl/morphos/morphos.h b/backends/platform/sdl/morphos/morphos.h
index 491d3780f3a..68679bba272 100644
--- a/backends/platform/sdl/morphos/morphos.h
+++ b/backends/platform/sdl/morphos/morphos.h
@@ -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
More information about the Scummvm-git-logs
mailing list