RTech: use log channel of to-swap pak file

Reuse the channel id.
This commit is contained in:
Kawe Mazidjatari 2024-11-16 15:40:19 +01:00
parent 5d20256f10
commit 3f3b69e2bb

View File

@ -171,7 +171,7 @@ static void Pak_Swap_f(const CCommand& args)
while (pakInfo->status != PakStatus_e::PAK_STATUS_FREED) // Wait till this slot gets free'd. while (pakInfo->status != PakStatus_e::PAK_STATUS_FREED) // Wait till this slot gets free'd.
std::this_thread::sleep_for(std::chrono::seconds(1)); std::this_thread::sleep_for(std::chrono::seconds(1));
g_pakLoadApi->LoadAsync(pakName, AlignedMemAlloc(), NULL, 0); g_pakLoadApi->LoadAsync(pakName, AlignedMemAlloc(), pakInfo->logChannel, 0);
} }
/* /*