mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
PlayTimeTracker: Remove unnecessary assert.
This commit is contained in:
parent
8c0b0ff0a1
commit
6e909ff01c
1 changed files with 5 additions and 2 deletions
|
@ -1837,10 +1837,10 @@ int Config::GetPSPLanguage() {
|
|||
}
|
||||
|
||||
void PlayTimeTracker::Start(std::string gameId) {
|
||||
INFO_LOG(SYSTEM, "GameTimeTracker::Start(%s)", gameId.c_str());
|
||||
if (gameId.empty()) {
|
||||
return;
|
||||
}
|
||||
INFO_LOG(SYSTEM, "GameTimeTracker::Start(%s)", gameId.c_str());
|
||||
|
||||
auto iter = tracker_.find(std::string(gameId));
|
||||
if (iter != tracker_.end()) {
|
||||
|
@ -1859,8 +1859,11 @@ void PlayTimeTracker::Start(std::string gameId) {
|
|||
}
|
||||
|
||||
void PlayTimeTracker::Stop(std::string gameId) {
|
||||
if (gameId.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
INFO_LOG(SYSTEM, "GameTimeTracker::Stop(%s)", gameId.c_str());
|
||||
_dbg_assert_(!gameId.empty());
|
||||
|
||||
auto iter = tracker_.find(std::string(gameId));
|
||||
if (iter != tracker_.end()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue