Skip to content

Commit

Permalink
Revert my left in Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
HerXayah committed Sep 29, 2023
1 parent 328ee2d commit 627aaf1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class SpotifyProcess extends WinProcess {
// Spotify track id
private static final String PREFIX_SPOTIFY_TRACK = "spotify:track:";
private static final long[] OFFSETS_TRACK_ID = {
0x14FA30, // 64-Bit (latest)
0x14FA30, // 64-Bit (1.2.21.1104.g42cf0a50)
0x106198, // 32-Bit (1.2.21.1104.g42cf0a50)
0x14C9F0, // 64-Bit (Old)
0x102178, // 32-Bit (Old)
Expand Down Expand Up @@ -66,7 +66,6 @@ private long findTrackIdAddress() {
long addressTrackId = -1;
for (long trackIdOffset : OFFSETS_TRACK_ID) {
addressTrackId = chromeElfAddress + trackIdOffset;
System.out.println(this.isTrackIdValid(this.readTrackId(addressTrackId)));
if (addressTrackId != -1 && this.isTrackIdValid(this.readTrackId(addressTrackId))) {
// If the offset works, exit the loop
break;
Expand Down

0 comments on commit 627aaf1

Please sign in to comment.