diff options
Diffstat (limited to 'backends/plugins/sdl/sdl-provider.cpp')
-rw-r--r-- | backends/plugins/sdl/sdl-provider.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/plugins/sdl/sdl-provider.cpp b/backends/plugins/sdl/sdl-provider.cpp index 6df1dec680..221292e2dd 100644 --- a/backends/plugins/sdl/sdl-provider.cpp +++ b/backends/plugins/sdl/sdl-provider.cpp @@ -27,6 +27,7 @@ #include "backends/plugins/sdl/sdl-provider.h" #include "backends/plugins/dynamic-plugin.h" +#include "common/fs.h" #include "SDL.h" #include "SDL_loadso.h" @@ -78,8 +79,8 @@ public: }; -Plugin* SDLPluginProvider::createPlugin(const Common::String &filename) const { - return new SDLPlugin(filename); +Plugin* SDLPluginProvider::createPlugin(const Common::FilesystemNode &node) const { + return new SDLPlugin(node.getPath()); } |