# HG changeset patch # User Matti Hamalainen # Date 1455429240 -7200 # Node ID d9f38d6574339c028fdaf21ed699492ae4f9dc1b # Parent 03d8ae1e16e175721ea97ecbfc6544bf693144d1 Match with th-libs API change. diff -r 03d8ae1e16e1 -r d9f38d657433 sidlib.c --- a/sidlib.c Fri Feb 12 19:40:53 2016 +0200 +++ b/sidlib.c Sun Feb 14 07:54:00 2016 +0200 @@ -75,8 +75,8 @@ { // Yes, we need to if (!thfread_be16(ctx, &psid->flags) || - !thfread_byte(ctx, &psid->startPage) || - !thfread_byte(ctx, &psid->pageLength) || + !thfread_u8(ctx, &psid->startPage) || + !thfread_u8(ctx, &psid->pageLength) || !thfread_be16(ctx, &psid->reserved)) { th_io_error(ctx, ctx->errno,