Commit Graph

11015 Commits

Author SHA1 Message Date
Ryan C. Gordon
2c138525f1 Merged r2899:2900 from SDL-1.2 branch to trunk: testloadso program. 2006-11-07 14:36:47 +00:00
Ryan C. Gordon
83a9990de9 Use dummy joystick backend if subsystem is enabled but no better driver was
found.

Fixes Bugzilla #356 (and possibly Bugzilla #350).
2006-11-03 21:48:35 +00:00
Sam Lantinga
906f8566ac @#$% indent 2006-10-29 15:00:54 +00:00
Sam Lantinga
e8ab4cad6b 2006-10-29 14:47:20 +00:00
Sam Lantinga
dbc11167df Merged Ryan's fix, in case we need it later. 2006-10-29 14:45:46 +00:00
Ryan C. Gordon
b94f08253a Removed AmigaOS code for 1.3 branch. 2006-10-29 04:09:17 +00:00
Ryan C. Gordon
a08b4ac133 Win32 joystick fix, ported from 1.2 branch r2887:2888. (Thanks, Ondrej!)
Fixes Bugzilla #267.
2006-10-29 03:39:13 +00:00
Sam Lantinga
c91d18d6ad indent is evil 2006-10-28 16:48:03 +00:00
Sam Lantinga
317f4be23e Fixed mouse enter/leave events for a single window.
You lose mouse focus in Cocoa when the window is no longer key.
2006-10-28 16:41:54 +00:00
Sam Lantinga
83ada51d56 Fixed focus comptability bug 2006-10-28 16:41:08 +00:00
Ryan C. Gordon
76e994db80 Oh for crying out loud... 2006-10-28 07:49:19 +00:00
Ryan C. Gordon
39648c129d Whoops, wrong variable name. 2006-10-28 07:45:33 +00:00
Ryan C. Gordon
d83482271b Fix potential memory leaks if CoreAudio initialization fails. 2006-10-28 07:44:38 +00:00
Ryan C. Gordon
1d7dbbd9b4 Patched to compile. 2006-10-28 07:39:35 +00:00
Ryan C. Gordon
0dccc26b00 1.3 branch version of revision 2878.
Fixes Bugzilla #298.
2006-10-27 20:19:48 +00:00
Patrice Mandin
4b82340a21 Also save/restore fpu register in vbl interrupt 2006-10-21 18:56:35 +00:00
Ryan C. Gordon
3ea337d9e6 Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
LPDIRECTSOUNDBUFFER itself.
2006-10-20 00:15:18 +00:00
Ryan C. Gordon
2e9d561b56 Patched to compile again (thanks, Rasmus!). 2006-10-18 10:49:23 +00:00
Ryan C. Gordon
7f17eb8863 Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk. 2006-10-17 09:15:21 +00:00
Ryan C. Gordon
e475d47d2a Double Whoops. :P 2006-10-01 16:10:41 +00:00
Sam Lantinga
c7e5b9cf89 Whoops. :) 2006-10-01 16:07:32 +00:00
Sam Lantinga
14c991b826 Replaced strncmp for SDL_VIDEODRIVER test with strcasecmp 2006-10-01 02:28:41 +00:00
Ryan C. Gordon
6fa020d0c5 Replaced strncmp for SDL_AUDIODRIVER test with strcasecmp.
Fixes Bugzilla #334.
2006-10-01 02:06:37 +00:00
Ryan C. Gordon
56a3951902 Minor cleanup in the mint driver that was sitting on my laptop (sorry!). 2006-10-01 01:12:08 +00:00
Sam Lantinga
9d4b500741 Formatting update 2006-09-24 15:56:55 +00:00
Sam Lantinga
d2c2ac4b80 Fixed bug #292
I might be on crack here.

It looks like SDL_ConvertMono() in src/audio/SDL_audiocvt.c adds the left and
right channels of a stereo stream together, and clamps the new mono channel if
it would overflow.

Shouldn't it be dividing by 2 to average the two sample points instead of
clamping? Otherwise the mono sample point's volume doubles in the conversion.
This would also make the conversion faster, as it replaces two branches per
sample frame with a bitwise shift.

--ryan.
2006-09-24 15:56:36 +00:00
Sam Lantinga
ce919aafbe Fixed bug #316
Looks like this is a long standing typo... is this code even used anymore?
2006-09-24 00:55:19 +00:00
Sam Lantinga
d85ec807ec Fixed bug #321
Hi,
if "configure" is given an explicit --libdir, the sdl-config still contains
the default "${exec_prefix}/lib" for runtime linker path.

That should be changed to $libdir, as this is where the library goes to...

Regards,
  Juergen
2006-09-24 00:44:45 +00:00
Sam Lantinga
12aeeeb643 Fixed bug #270
SDL_SetCursor returns void, not void*
2006-09-24 00:36:49 +00:00
Sam Lantinga
e9e009b4d5 2006-09-23 23:15:56 +00:00
Sam Lantinga
b21b05ee5d Fixed bug #329
On tracing it turns out to fail from SDL_WM_SetCaption()

On going through the function it looks like the SDL_free() function is called
every alternate time with an invalid pointer that has already been freed.
2006-09-23 22:51:37 +00:00
Patrice Mandin
46772adc90 Pfiou, all of it to update, faster to rewrite from scratch? 2006-09-22 21:52:20 +00:00
Patrice Mandin
01ca61374e Started update for 1.3 2006-09-20 22:09:19 +00:00
Patrice Mandin
68376c99d8 Oops, don't need to check that 2006-09-20 21:38:06 +00:00
Patrice Mandin
ee994e5210 More work for 1.3 2006-09-20 21:29:44 +00:00
Patrice Mandin
006f974cd8 Started work to update for 1.3 api 2006-09-20 21:22:08 +00:00
Patrice Mandin
140c4d647e Reenable mouse usage using xbios vectors under MiNT 2006-09-20 19:49:23 +00:00
Patrice Mandin
8baf7d2061 Forward keyboard reworking from 1.2 2006-09-20 19:47:09 +00:00
Patrice Mandin
60767d528e Add teamtap support 2006-09-16 17:13:41 +00:00
Patrice Mandin
0aafb35f0e Update for recent changes 2006-09-16 17:02:38 +00:00
Patrice Mandin
82197c117d Save/restore FPU registers in interrupt 2006-09-16 16:59:46 +00:00
Ryan C. Gordon
bbc79776fa Fixed typo in windib audio. 2006-09-13 04:47:46 +00:00
Patrice Mandin
23e671c360 Allow grabing mouse by locking its position 2006-09-12 19:47:40 +00:00
Patrice Mandin
2e5b4c3c55 Reenable xbios usage to get relative mouse motion 2006-09-12 19:44:51 +00:00
Patrice Mandin
2f85f1a110 Allow mouse to be locked when grabbed with GEM driver 2006-09-12 19:43:29 +00:00
Patrice Mandin
d8503c64fd Disable MiNT thread usage and use hw access for updating DMA audio pointers 2006-09-12 19:23:51 +00:00
Sam Lantinga
061f9efd63 Temporarily disabled framebuffer console support for SDL 1.3 2006-09-12 08:45:48 +00:00
Patrice Mandin
e638e384a8 Forgot to reshow mouse cursor when exiting grab/hide mode 2006-09-08 19:18:02 +00:00
Patrice Mandin
dd714797b0 /me dumb, sizeof(keymap != number of elements 2006-09-07 20:50:13 +00:00
Patrice Mandin
7ae5ef388e Use correct function to free allocated mem 2006-09-05 19:32:35 +00:00