mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
Fix build
This commit is contained in:
parent
b0cffd485b
commit
6b26ca1b4c
@ -1153,7 +1153,7 @@ bool Steam_User_Stats::IndicateAchievementProgress( const char *pchName, uint32
|
||||
save_achievements();
|
||||
if (!settings->disable_overlay) {
|
||||
overlay->AddAchievementNotification(it.value());
|
||||
overlay->update_achievement_progress(actual_ach_name, nCurProgress);
|
||||
overlay->update_achievement_progress(actual_ach_name, (int)nCurProgress);
|
||||
}
|
||||
} catch (...) {}
|
||||
|
||||
|
@ -254,7 +254,7 @@ public:
|
||||
void FriendDisconnect(Friend _friend);
|
||||
|
||||
void AddAchievementNotification(nlohmann::json const& ach);
|
||||
void update_achievement_progress(std::string const& ach_name, uint32 nCurProgress);
|
||||
void update_achievement_progress(std::string const& ach_name, int nCurProgress);
|
||||
};
|
||||
|
||||
#else // EMU_OVERLAY
|
||||
@ -289,7 +289,7 @@ public:
|
||||
void FriendDisconnect(Friend _friend) {}
|
||||
|
||||
void AddAchievementNotification(nlohmann::json const& ach) {}
|
||||
void update_achievement_progress(std::string const& ach_name, uint32 nCurProgress);
|
||||
void update_achievement_progress(std::string const& ach_name, int nCurProgress);
|
||||
};
|
||||
|
||||
#endif // EMU_OVERLAY
|
||||
|
@ -380,7 +380,7 @@ void Steam_Overlay::load_achievements_data()
|
||||
|
||||
}
|
||||
|
||||
void Steam_Overlay::update_achievement_progress(std::string const& ach_name, uint32 nCurProgress) {
|
||||
void Steam_Overlay::update_achievement_progress(std::string const& ach_name, int nCurProgress) {
|
||||
|
||||
PRINT_DEBUG_ENTRY();
|
||||
std::lock_guard<std::recursive_mutex> lock(overlay_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user