X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fay8910.cpp;h=3e5df25803c84c6eca455797bcf06cb425cc5dd0;hb=f36d026c7b8b398b88765ec5b67a3c767fe5fbad;hp=a3ae361f57925397492c5d8c80703a4bae8f359c;hpb=7916c0f9595cd43f880976e50cf81f3d9714b466;p=apple2 diff --git a/src/ay8910.cpp b/src/ay8910.cpp old mode 100755 new mode 100644 index a3ae361..3e5df25 --- a/src/ay8910.cpp +++ b/src/ay8910.cpp @@ -292,10 +292,10 @@ void _AYWriteReg(int n, int r, int v) // /length/ is the number of samples we require // NB. This should be called at twice the 6522 IRQ rate or (eg) 60Hz if no IRQ. -void AY8910Update(int chip, int16 ** buffer, int length) // [TC: Removed static] +void AY8910Update(int chip, int16_t ** buffer, int length) // [TC: Removed static] { struct AY8910 * PSG = &AYPSG[chip]; - int16 * buf1, * buf2, * buf3; + int16_t * buf1, * buf2, * buf3; int outn; buf1 = buffer[0]; @@ -726,7 +726,7 @@ void AY8910_InitClock(int clock) AY8910_set_clock(chip, clock); } -uint8 * AY8910_GetRegsPtr(uint16 chipNum) +uint8_t * AY8910_GetRegsPtr(uint16_t chipNum) { if (chipNum >= MAX_8910) return NULL;