mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-27 14:08:39 +01:00
Added debug message
This commit is contained in:
parent
98c556d6dc
commit
0b134e98a9
1 changed files with 3 additions and 1 deletions
|
@ -91,8 +91,10 @@ public:
|
||||||
|
|
||||||
Steam_Inventory(class Settings *settings, class SteamCallResults *callback_results, class SteamCallBacks *callbacks)
|
Steam_Inventory(class Settings *settings, class SteamCallResults *callback_results, class SteamCallBacks *callbacks)
|
||||||
{
|
{
|
||||||
|
std::string items_db_file(Local_Storage::get_game_settings_path() + "items.json");
|
||||||
|
PRINT_DEBUG("Items file path: %s\n", items_db_file.c_str());
|
||||||
items_loaded = false;
|
items_loaded = false;
|
||||||
std::thread items_load_thread(read_items_db, Local_Storage::get_game_settings_path() + "items.json", &items, &items_loaded);
|
std::thread items_load_thread(read_items_db, items_db_file, &items, &items_loaded);
|
||||||
items_load_thread.detach();
|
items_load_thread.detach();
|
||||||
|
|
||||||
this->settings = settings;
|
this->settings = settings;
|
||||||
|
|
Loading…
Reference in a new issue