Re: [hatari-users] Minor Problems with Falcon Emulation (joypad issue) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-users Archives
]
Hi,
On lauantai 09 elokuu 2014, Thomas Huth wrote:
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> > On perjantai 08 elokuu 2014, Ingo Schmidt wrote:
> > > - JoyPad: I have a USB GamePad plugged in which works nicely in
> > > almost all situations, except in one game: Tautology2. Hitting the
> > > fire button ends the round (doesn't crash). The in-game docs say,
> > > that hitting the "Options" button will end the current round. So I
> > > have the feeling, that somehow not only the "fire" button is
> > > triggered, but also the "Options" button.
> >
> > Did this happen just with PAD A, but not with PAD B?
> >
> > I don't know how they're supposed to work, but code for
> > PAD A in Hatari looks buggy[1]. Does the attached patch fix
> > your problem?
>
> That code looks really wrong, I think your patch is right, Eero.
> It should be ok to commit it.
Commited. Any comments on the Joy_StePadMulti_ReadWord() code,
do you know how it should work and does it look correct?
(masks used for nData between joy A & B look suspicious.)
- Eero