Mercurial > sdl-ios-xcode
comparison src/video/ataricommon/SDL_xbiosinterrupt.S @ 1063:0fb50bfaea7f
Used wrong offset in joystick packet
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Fri, 20 May 2005 20:37:28 +0000 |
parents | d9f3b5bb7870 |
children | c9b51268668f |
comparison
equal
deleted
inserted
replaced
1062:3e637850c02b | 1063:0fb50bfaea7f |
---|---|
153 .comm oldjoystickvector,4*1 | 153 .comm oldjoystickvector,4*1 |
154 _SDL_AtariXbios_JoystickVector: | 154 _SDL_AtariXbios_JoystickVector: |
155 movel d0,sp@- | 155 movel d0,sp@- |
156 | 156 |
157 /* New joystick state */ | 157 /* New joystick state */ |
158 moveb a0@(1),d0 | 158 moveb a0@(2),d0 |
159 andw #0x8f,d0 | 159 andw #0x8f,d0 |
160 movew d0,_SDL_AtariXbios_joystick | 160 movew d0,_SDL_AtariXbios_joystick |
161 | 161 |
162 /* Jump through old vector */ | 162 /* Jump through old vector */ |
163 movel sp@+,d0 | 163 movel sp@+,d0 |