comparison src/video/riscos/SDL_wimpvideo.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 File added by Alan Buckley (alan_baa@hotmail.com) for RISCOS compatability 24 File added by Alan Buckley (alan_baa@hotmail.com) for RISC OS compatability
25 27 March 2003 25 27 March 2003
26 26
27 Implements RISCOS wimp display. 27 Implements RISC OS Wimp display.
28 */ 28 */
29 29
30 #include <stdio.h> 30 #include <stdio.h>
31 #include <stdlib.h> 31 #include <stdlib.h>
32 #include <string.h> 32 #include <string.h>
484 if (WIMP_SetupWindow(this, this->screen)) 484 if (WIMP_SetupWindow(this, this->screen))
485 { 485 {
486 WIMP_SetDeviceMode(this); 486 WIMP_SetDeviceMode(this);
487 WIMP_SetupPlotInfo(this); 487 WIMP_SetupPlotInfo(this);
488 488
489 riscos_backbuffer = 1; 489 if (riscos_backbuffer == 0) riscos_backbuffer = 1;
490 490
491 if (buffer && old_alloc_bank) free(old_alloc_bank); 491 if (buffer && old_alloc_bank) free(old_alloc_bank);
492 492
493 return 1; 493 return 1;
494 } else 494 } else