view README.DC @ 4172:48f1406df2a8 SDL-1.2

Fixed bug #675 Description From maf6@cornell.edu 2009-01-10 14:07:52 (-) [reply] Assuming the SDL project doesn't just want to pick these up from dinput8.lib or whatever instead, the definitions in SDL_dx5video.c should be: const DIDATAFORMAT c_dfDIKeyboard = { sizeof(DIDATAFORMAT), sizeof(DIOBJECTDATAFORMAT), 0x00000002, 256, 256, KBD_fmt }; const DIDATAFORMAT c_dfDIMouse = { sizeof(DIDATAFORMAT), sizeof(DIOBJECTDATAFORMAT), 0x00000002, 16, 7, PTR_fmt }; const DIDATAFORMAT c_dfDIJoystick = { sizeof(DIDATAFORMAT), sizeof(DIOBJECTDATAFORMAT), 0x00000001, 80, 44, JOY_fmt }; This way the call to IDirectInputDevice2_SetDataFormat in SDL_dx5events.c will succeed on x64.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 13 Apr 2009 08:49:41 +0000
parents c17d82103614
children
line wrap: on
line source

SDL for Dreamcast (beta2)

	BERO
	berobero@users.sourceforge.net 

	http://www.geocities.co.jp/Playtown/2004/

this work with kos-newlib
http://sourceforge.net/projects/dcquake/

compile
- source environ.sh (from the KOS distribution)
- make -f Makefile.dc

compile with gl support
- install latest libgl from http://sourceforge.net/projects/dcquake/
- uncomment GL=1 in Makefile.dc
- make -f Makefile.dc clean
- make -f Makefile.dc

install
- copy include/*.h and libSDL.a or libSDL_gl.a for your enviroment

changelog:

beta2
- OpenGL support
- Hardware page flip support

beta
- thread, timer don't tested so much.
- not support OpenGL