X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.c;h=01eb1d41737a58d609c2c62bc68488cf5a64609c;hp=33713069c4da4302fe7bddfe685a2ef27612b0ac;hb=e5c5bf5c4a76a04f9bf64e92227bf2ef969fd25c;hpb=b7d31643c9c84104fb3ebef778e545928610ff65 diff --git a/src/tape.c b/src/tape.c index 33713069..01eb1d41 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1,12 +1,12 @@ /*********************************************************** * Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* ©1997 Artsoft Development * -* Holger Schemel * -* 33604 Bielefeld * -* Telefon: (0521) 290471 * -* eMail: aeglos@valinor.owl.de * -* aeglos@uni-paderborn.de * +* (c) 1995-98 Artsoft Entertainment * +* Holger Schemel * +* Oststrasse 11a * +* 33604 Bielefeld * +* phone: ++49 +521 290471 * +* email: aeglos@valinor.owl.de * *----------------------------------------------------------* * tape.c * ***********************************************************/ @@ -42,10 +42,14 @@ void TapeStartRecording() void TapeStopRecording() { + int i; + if (!tape.recording) return; - tape.pos[tape.counter].joystickdata = 0; + for(i=0; i=255) + if (tape.pos[tape.counter].delay >= 255) { - tape.pos[tape.counter].joystickdata = 0; + for(i=0; i=tape.length) { TapeStop(); - return(0); + return(NULL); } if (tape.delay_played == tape.pos[tape.counter].delay) { tape.delay_played = 0; tape.counter++; - return(tape.pos[tape.counter-1].joystickdata); + + for(i=0; i