Explorar o código

Log the root path

Daniele Bartolini %!s(int64=12) %!d(string=hai) anos
pai
achega
b5af4a85dd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/Device.cpp

+ 2 - 2
src/Device.cpp

@@ -117,6 +117,8 @@ bool Device::init(int argc, char** argv)
 
 
 	Log::d("Filesystem created.");
 	Log::d("Filesystem created.");
 
 
+	Log::d("Filesystem root path: %s", m_filesystem->root_path());
+
 	create_resource_manager();
 	create_resource_manager();
 
 
 	Log::d("Resource manager created.");
 	Log::d("Resource manager created.");
@@ -137,8 +139,6 @@ bool Device::init(int argc, char** argv)
 
 
 	Log::i("Initializing Game...");
 	Log::i("Initializing Game...");
 
 
-	Log::d(m_filesystem->root_path());
-
 	// Try to locate the game library
 	// Try to locate the game library
 	if (!m_filesystem->exists(GAME_LIBRARY_NAME))
 	if (!m_filesystem->exists(GAME_LIBRARY_NAME))
 	{
 	{