mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-30 19:42:17 +00:00
Extended to shared database
This commit is contained in:
1 parent
05df5c3e74
commit
b5d33c7cbe
6 files changed
+77
-3
No files matched your search
@@ -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.");
|
||||
|
||||
Reference in new issue
Block a user