Extended to shared database

This commit is contained in:
KimLS
2015-02-06 00:17:12 -08:00
parent 05df5c3e74
commit b5d33c7cbe
6 changed files with 77 additions and 3 deletions
+6
View File
@@ -54,6 +54,10 @@ void CatchSignal(int sig_num)
#endif
}
void OnExit() {
CatchSignal(SIGBREAK);
}
int main(int argc, char **argv) {
_eqp
RegisterExecutablePlatform(ExePlatformSharedMemory);
@@ -73,6 +77,8 @@ int main(int argc, char **argv) {
return 1;
}
atexit(OnExit);
Log.Out(Logs::General, Logs::Status, "Shared Memory Loader Program");
if(!EQEmuConfig::LoadConfig()) {
Log.Out(Logs::General, Logs::Error, "Unable to load configuration file.");