diff options
Diffstat (limited to 'engines/sky/sky.cpp')
-rw-r--r-- | engines/sky/sky.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp index ae1abc677d..e53458e33a 100644 --- a/engines/sky/sky.cpp +++ b/engines/sky/sky.cpp @@ -247,7 +247,11 @@ SaveStateList SkyMetaEngine::listSaves(const char *target) const { return saveList; } -REGISTER_PLUGIN(SKY, PLUGIN_TYPE_ENGINE, SkyMetaEngine); +#if PLUGIN_ENABLED_DYNAMIC(SKY) + REGISTER_PLUGIN_DYNAMIC(SKY, PLUGIN_TYPE_ENGINE, SkyMetaEngine); +#else + REGISTER_PLUGIN_STATIC(SKY, PLUGIN_TYPE_ENGINE, SkyMetaEngine); +#endif namespace Sky { |