mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
allow queen to compile as plugin
svn-id: r10469
This commit is contained in:
parent
0ac7630ebb
commit
07fe952eef
@ -7,5 +7,10 @@ MODULE_OBJS = \
|
||||
queen/queen.o \
|
||||
queen/version.o \
|
||||
|
||||
# This module can be built as a plugin
|
||||
ifdef BUILD_PLUGINS
|
||||
PLUGIN := 1
|
||||
endif
|
||||
|
||||
# Include common rules
|
||||
include common.rules
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "queen/queen.h"
|
||||
#include "common/file.h"
|
||||
#include "base/gameDetector.h"
|
||||
#include "base/plugins.h"
|
||||
|
||||
extern uint16 _debugLevel;
|
||||
|
||||
@ -47,6 +48,8 @@ Engine *Engine_QUEEN_create(GameDetector *detector, OSystem *syst) {
|
||||
return new QueenEngine(detector, syst);
|
||||
}
|
||||
|
||||
REGISTER_PLUGIN("Flight of the Amazon Queen", Engine_QUEEN_targetList, Engine_QUEEN_create);
|
||||
|
||||
QueenEngine::QueenEngine(GameDetector *detector, OSystem *syst)
|
||||
: Engine(detector, syst) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user