MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / startupChecks

Function startupChecks

src/OpenLoco/src/OpenLoco.cpp:143–155  ·  view source on GitHub ↗

0x00441400

Source from the content-addressed store, hash-verified

141
142 // 0x00441400
143 static void startupChecks()
144 {
145 const auto& config = Config::get();
146 if (!config.allowMultipleInstances && !Platform::lockSingleInstance())
147 {
148 exitWithError(StringIds::game_init_failure, StringIds::loco_already_running);
149 }
150
151 // Originally the game would check that all the game
152 // files exist are some have the correct checksum. We
153 // do not need to do this anymore, the game should work
154 // with g1 alone and some objects?
155 }
156
157 // 0x004C57C0
158 void resetSubsystems()

Callers 1

initialiseFunction · 0.85

Calls 3

exitWithErrorFunction · 0.85
getFunction · 0.70
lockSingleInstanceFunction · 0.50

Tested by

no test coverage detected