1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-03-28 14:56:24 +01:00

fix file_path

This commit is contained in:
Detanup01 2024-10-06 18:03:37 +02:00 committed by GitHub
parent 6a1710eee1
commit 601102d8a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,7 +100,7 @@ int Steam_User_Stats::load_ach_icon(nlohmann::json &defined_ach, bool achieved)
unsigned int file_size = file_size_(file_path);
if (!file_size)
{
file_path(Local_Storage::get_game_settings_path() + "achievement_images" + PATH_SEPARATOR + icon_filepath);
file_path = (Local_Storage::get_game_settings_path() + "achievement_images" + PATH_SEPARATOR + icon_filepath);
file_size = file_size_(file_path);
if (!file_size)
{