Mercurial > sdl-ios-xcode
diff src/video/riscos/SDL_wimppoll.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 | d74fbf56f2f6 |
children | d90b362628ea |
line wrap: on
line diff
--- a/src/video/riscos/SDL_wimppoll.c Sat Jan 29 09:58:40 2005 +0000 +++ b/src/video/riscos/SDL_wimppoll.c Sat Feb 12 18:01:31 2005 +0000 @@ -21,7 +21,7 @@ */ /* - File added by Alan Buckley (alan_baa@hotmail.com) for RISCOS compatability + File added by Alan Buckley (alan_baa@hotmail.com) for RISC OS compatability 27 March 2003 Implements Pumping of events and WIMP polling @@ -33,6 +33,7 @@ #include "SDL_events_c.h" #include "SDL_riscosvideo.h" #include "SDL_riscosevents_c.h" +#include "SDL_riscosmouse_c.h" #include "SDL_timer_c.h" #include "memory.h" @@ -61,8 +62,6 @@ extern void RISCOS_PollKeyboard(); #ifdef DISABLE_THREADS -extern void DRenderer_FillBuffers(); - /* Timer running function */ extern void RISCOS_CheckTimer(); @@ -85,7 +84,6 @@ if (hasFocus) RISCOS_PollKeyboard(); if (mouseInWindow) WIMP_PollMouse(this); #ifdef DISABLE_THREADS - DRenderer_FillBuffers(); if (SDL_timer_running) RISCOS_CheckTimer(); #endif } @@ -329,8 +327,6 @@ WIMP_Poll(current_video, 0); } #ifdef DISABLE_THREADS - /* Keep sound buffers running */ - DRenderer_FillBuffers(); if (SDL_timer_running) RISCOS_CheckTimer(); #endif }