changeset 98:d9f38d657433

Match with th-libs API change.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 14 Feb 2016 07:54:00 +0200
parents 03d8ae1e16e1
children 29a080678091
files sidlib.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,