From 049bcda2f640a478bd7c1bc0b522dd5878e85708 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 14 Feb 2002 10:17:22 +0000 Subject: [PATCH] Make the voice data unsigned git-svn-id: svn://svn.cc65.org/cc65/trunk@1158 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- samples/nachtm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/nachtm.c b/samples/nachtm.c index e442418d2..c069b7118 100644 --- a/samples/nachtm.c +++ b/samples/nachtm.c @@ -41,7 +41,7 @@ -static int Voice1 [] = { +static unsigned Voice1 [] = { 0x5708,0x8004,0x5204,0x5708,0x8004,0x5204,0x5704,0x5204,0x5704,0x5B04, 0x6208,0x8008,0x6008,0x8004,0x5904,0x6008,0x8004,0x5904,0x6004,0x5904, 0x5604,0x5904,0x5208,0x8008,0x5704,0x8004,0x570C,0x5B01,0x5B01,0x5B01, @@ -395,7 +395,7 @@ static int Voice1 [] = { 0x0000 }; -static int Voice2 [] = { +static unsigned Voice2 [] = { 0x4708,0x8004,0x4204,0x4708,0x8004,0x4204,0x4704,0x4204,0x4704,0x4B04, 0x5208,0x8008,0x5008,0x8004,0x4904,0x5008,0x8004,0x4904,0x5004,0x4904, 0x4604,0x4904,0x4208,0x8008,0x4704,0x4704,0x4704,0x4704,0x4704,0x4704, @@ -615,7 +615,7 @@ static int Voice2 [] = { 0x0000 }; -static int Voice3 [] = { +static unsigned Voice3 [] = { 0x3708,0x8004,0x3204,0x3708,0x8004,0x3204,0x3704,0x3204,0x3704,0x3B04, 0x3208,0x8008,0x4008,0x8004,0x3904,0x4008,0x8004,0x3904,0x4004,0x3904, 0x3604,0x4904,0x4208,0x8008,0x3704,0x3704,0x3704,0x3704,0x3704,0x3704, @@ -897,7 +897,7 @@ typedef struct { unsigned char Trigger; /* Trigger value */ unsigned char Ticks; /* Ticks for this tone */ unsigned Freq; /* Actual frequency value */ - int* Data; /* Pointer to data */ + unsigned* Data; /* Pointer to data */ struct __sid_voice* Voice; /* Pointer to sid registers */ } VoiceCtrl; -- 2.39.5