mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 23:00:42 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#include "dea.h"
|
||||
|
||||
#include "launcher/launcher.h"
|
||||
#include "util/libutils.h"
|
||||
#include "util/logging.h"
|
||||
|
||||
namespace games::dea {
|
||||
|
||||
DEAGame::DEAGame() : Game("Dance Evolution") {
|
||||
}
|
||||
|
||||
void DEAGame::attach() {
|
||||
Game::attach();
|
||||
|
||||
// since this DLL isn't automatically loaded the hooks don't work unless we load it manually
|
||||
libutils::try_library(MODULE_PATH / "gamekdm.dll");
|
||||
|
||||
// Has the user actually performed first-time setup?
|
||||
auto kinect10 = libutils::try_library("Kinect10.dll");
|
||||
if (!kinect10) {
|
||||
log_warning("dea", "Failed to load 'Kinect10.dll'. Game will boot in Test Mode. Have you installed the Kinect SDK?");
|
||||
} else {
|
||||
FreeLibrary(kinect10);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user