Re: [cc65] Possible bug with for() while using joystick driver [scanned]

From: Christian Groessler <chris1groessler.org>
Date: 2005-04-19 15:33:19
Hi,

On Tue, 19 Apr 2005, Markus Stehr wrote:

> Maybee its just my stupidity or a bug.
> When i use the standard joystick driver the following for() loop will
> repeat himself until i turn off VICE.
>
>     for(temp=1;temp<5;temp++)
>     {
>         printf("%d\n",temp);
>         spielerdaten[temp].geld = 30000;

You are starting temp at 1. Is this intended?
What's the size of spielerdaten[]? 5?

regards,
chris



----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Apr 19 15:33:41 2005

This archive was generated by hypermail 2.1.8 : 2005-04-19 15:33:46 CEST