Skip to content

Commit

Permalink
Panel: Fix cache game updates
Browse files Browse the repository at this point in the history
Rely on titleid in game_update_titlepatch instead of legacy field 
latest_ver
  • Loading branch information
AniLeo committed Mar 7, 2024
1 parent dbb6df4 commit d21e424
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Source code for [RPCS3.net/compatibility](https://rpcs3.net/compatibility), a sm

## License
This project is licensed under the GNU GPLv2 license. This software may be modified/distributed for commercial or private use but changes to the source code must be published under the same license, containing a copy of the license and a copyright notice.
<br>Developed by [AniLeo](https://github.com/AniLeo) at [email protected] (C) 2017-2023.
<br>Developed by [AniLeo](https://github.com/AniLeo) at [email protected] (C) 2017-2024.
4 changes: 3 additions & 1 deletion cachers.php
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,9 @@ function cache_games_updates() : void

$q_ids = mysqli_query($db, "SELECT `gid`
FROM `game_id`
WHERE `latest_ver` IS NULL;");
LEFT JOIN `game_update_titlepatch`
ON `game_id`.`gid` = `game_update_titlepatch`.`titleid`
WHERE `titleid` IS NULL;");

if (is_bool($q_ids))
return;
Expand Down

0 comments on commit d21e424

Please sign in to comment.