summaryrefslogtreecommitdiffhomepage
path: root/proto-ft/ftnoir_protocol_ft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.cpp')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index fbfc23d9..d03ca59a 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -192,10 +192,10 @@ void freetrack::set_protocols(bool ft, bool npclient)
settings_npclient.setValue("Path", "");
}
-bool freetrack::correct()
+module_status freetrack::check_status()
{
if (!shm.success())
- return false;
+ return error("Can't load freetrack memory mapping");
bool use_ft = false, use_npclient = false;
@@ -241,7 +241,7 @@ bool freetrack::correct()
if (use_npclient)
start_dummy();
- return true;
+ return status_ok();
}
OPENTRACK_DECLARE_PROTOCOL(freetrack, FTControls, freetrackDll)