Mercurial > sdl-ios-xcode
comparison src/joystick/riscos/SDL_sysjoystick.c @ 1035:974ba6ae0fa3
Date: Wed, 26 Jan 2005 13:37:09 GMT
From: Peter Naulls
Subject: RISC OS SDL Patches
Sam, I've attached a diff of the latest changes to libSDL for RISC OS
support. These changes are by Alan Buckley and myself.
The most significant of these are:
Optimised assembler blit rountines - I've attached the file
src/video/riscos/SDL_riscosASM.s which is needed for this.
Move to using /dev/dsp instead of its own audio implementation.
This means that src/audio/riscos/SDL_drenderer.c should be removed
Typo fixes. Mainly correct spelling of "RISC OS", but some from elsewhere
too.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 12 Feb 2005 18:01:31 +0000 |
parents | b8d311d90021 |
children | c9b51268668f |
comparison
equal
deleted
inserted
replaced
1034:2eca15c3f609 | 1035:974ba6ae0fa3 |
---|---|
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@devolution.com | 20 slouken@devolution.com |
21 */ | 21 */ |
22 | 22 |
23 /* | 23 /* |
24 RISCOS - Joystick support by Alan Buckley (alan_baa@hotmail.com) - 10 April 2003 | 24 RISC OS - Joystick support by Alan Buckley (alan_baa@hotmail.com) - 10 April 2003 |
25 | 25 |
26 Note: Currently assumes joystick is present if joystick module is loaded | 26 Note: Currently assumes joystick is present if joystick module is loaded |
27 and that there is one joystick with four buttons. | 27 and that there is one joystick with four buttons. |
28 */ | 28 */ |
29 | 29 |
76 /* Function to get the device-dependent name of a joystick */ | 76 /* Function to get the device-dependent name of a joystick */ |
77 const char *SDL_SYS_JoystickName(int index) | 77 const char *SDL_SYS_JoystickName(int index) |
78 { | 78 { |
79 if (index == 0) | 79 if (index == 0) |
80 { | 80 { |
81 return "RISCOS Joystick 0"; | 81 return "RISC OS Joystick 0"; |
82 } | 82 } |
83 | 83 |
84 SDL_SetError("No joystick available with that index"); | 84 SDL_SetError("No joystick available with that index"); |
85 return(NULL); | 85 return(NULL); |
86 } | 86 } |