Skip to content

Commit

Permalink
- Don't prompt for update on GC Loader HW2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Aug 8, 2023
1 parent 70b3193 commit d2874eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cube/swiss/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ int main(int argc, char *argv[])
}
else if(device == &__device_gcloader) {
char *gcloaderVersionStr = gcloaderGetVersion();
if(gcloaderVersionStr != NULL) {
if(gcloaderVersionStr != NULL && !endsWith(gcloaderVersionStr, ".GCLOADER_HW2")) {
if(strverscmp(swissSettings.gcloaderTopVersion, gcloaderVersionStr) < 0) {
strlcpy(swissSettings.gcloaderTopVersion, gcloaderVersionStr, sizeof(swissSettings.gcloaderTopVersion));
}
Expand Down

0 comments on commit d2874eb

Please sign in to comment.