# HG changeset patch # User Matti Hamalainen # Date 1633694182 -10800 # Node ID 5554e9ec9146e35a684dfd5470cbc5c1ebacecd5 # Parent 911814a9d5ee3cb60325c63790ec744ce46bae26 Oops, we were supposed to read LE, not BE. Fixed. diff -r 911814a9d5ee -r 5554e9ec9146 sidlib.c --- a/sidlib.c Fri Oct 08 14:51:19 2021 +0300 +++ b/sidlib.c Fri Oct 08 14:56:22 2021 +0300 @@ -185,7 +185,7 @@ // If load address is 0, we need to get it if (psid->loadAddress == 0 && - !thfread_be16(ctx, &psid->loadAddress)) + !thfread_le16(ctx, &psid->loadAddress)) { ret = th_io_error(ctx, ctx->status, "Error reading SID data (load address).");