Commit graph

2057 commits

Author SHA1 Message Date
Sam Lantinga
14eec51821 Fixed bug #270
SDL_SetCursor returns void, not void*

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402110
2006-09-24 00:36:49 +00:00
Sam Lantinga
b43de77bf4 --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402105
2006-09-23 23:15:56 +00:00
Sam Lantinga
c18cc10c08 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402101
2006-09-23 22:51:37 +00:00
Patrice Mandin
b8493a11ee Pfiou, all of it to update, faster to rewrite from scratch?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402100
2006-09-22 21:52:20 +00:00
Patrice Mandin
c55e1b3fb7 Started update for 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402099
2006-09-20 22:09:19 +00:00
Patrice Mandin
31b71378d9 Oops, don't need to check that
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402098
2006-09-20 21:38:06 +00:00
Patrice Mandin
07ee716e3a More work for 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402097
2006-09-20 21:29:44 +00:00
Patrice Mandin
90e84f0556 Started work to update for 1.3 api
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402096
2006-09-20 21:22:08 +00:00
Patrice Mandin
4c0cd25c3b Reenable mouse usage using xbios vectors under MiNT
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402095
2006-09-20 19:49:23 +00:00
Patrice Mandin
2db3adb4f5 Forward keyboard reworking from 1.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402094
2006-09-20 19:47:09 +00:00
Patrice Mandin
b2c856d783 Add teamtap support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402093
2006-09-16 17:13:41 +00:00
Patrice Mandin
f2bc03cabf Update for recent changes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402092
2006-09-16 17:02:38 +00:00
Patrice Mandin
0fee077381 Save/restore FPU registers in interrupt
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402091
2006-09-16 16:59:46 +00:00
Ryan C. Gordon
5baf894ec9 Fixed typo in windib audio.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402082
2006-09-13 04:47:46 +00:00
Patrice Mandin
9d10b52e1c Allow grabing mouse by locking its position
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402081
2006-09-12 19:47:40 +00:00
Patrice Mandin
130a5acc98 Reenable xbios usage to get relative mouse motion
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402080
2006-09-12 19:44:51 +00:00
Patrice Mandin
41b2bb8004 Allow mouse to be locked when grabbed with GEM driver
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402079
2006-09-12 19:43:29 +00:00
Patrice Mandin
d32e462e3f Disable MiNT thread usage and use hw access for updating DMA audio pointers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402075
2006-09-12 19:23:51 +00:00
Sam Lantinga
ac911fde85 Temporarily disabled framebuffer console support for SDL 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402073
2006-09-12 08:45:48 +00:00
Patrice Mandin
b2dfe29ef6 Forgot to reshow mouse cursor when exiting grab/hide mode
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402072
2006-09-08 19:18:02 +00:00
Patrice Mandin
672a050e8c /me dumb, sizeof(keymap != number of elements
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402069
2006-09-07 20:50:13 +00:00
Patrice Mandin
477dde8ea7 Use correct function to free allocated mem
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402068
2006-09-05 19:32:35 +00:00
Ryan C. Gordon
bf2a2d714d Fixed macosx audio initialization (passed wrong struct to CoreAudio).
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402065
2006-09-02 21:50:04 +00:00
Ryan C. Gordon
0d6e6d5c9c Compile fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402064
2006-09-02 21:19:00 +00:00
Ryan C. Gordon
2f00844dab Added a FIXME and macro to sun audio.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402062
2006-09-01 22:48:43 +00:00
Ryan C. Gordon
4ada9445af Replaced unions with calls to SDL_SwapFloat...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402061
2006-09-01 19:29:49 +00:00
Ryan C. Gordon
b046008cbd Fixed S32 audio mixing, but I'm a bit nervous about the use of 64-bit
datatypes here...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402060
2006-09-01 19:17:05 +00:00
Ryan C. Gordon
648d2a839d Continuing my quest to replace all the bitwise operations on SDL_AudioFormats
with the new 1.3 macros...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402059
2006-09-01 19:16:26 +00:00
Ryan C. Gordon
f3acf2d311 Fixed broken audio conversions between float and unsigned datatypes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402058
2006-09-01 18:07:41 +00:00
Ryan C. Gordon
4a039aaede Whoops, wrong tokens for int32 support in ALSA driver (specified unsigned
where it should be signed!).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402057
2006-09-01 18:04:01 +00:00
Ryan C. Gordon
59f531f6dd ALSA was testing if (format) was set to zero as an error condition, but
SND_PCM_FORMAT_S8 is zero, so you could never open ALSA for AUDIO_S8 data
 before.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402056
2006-09-01 17:49:27 +00:00
Ryan C. Gordon
176414e7a2 int32 support for windib and windx5 audio backends.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402055
2006-09-01 07:50:36 +00:00
Ryan C. Gordon
aeb5fc04c0 QNX6 support for int32/float32 (isn't this just ALSA?!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402054
2006-09-01 06:55:41 +00:00
Ryan C. Gordon
8a3081f3f3 Updated Tru64 audio to support int32.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402053
2006-09-01 06:43:41 +00:00
Ryan C. Gordon
f7b2a985cc MiNT audio driver cleanups for clamping types and channels to supported
values. int32 support now available in one instance.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402052
2006-09-01 06:32:54 +00:00
Ryan C. Gordon
43bec8da2b Mac OS 9 support for int32/float32.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402051
2006-09-01 06:01:03 +00:00
Ryan C. Gordon
28f57c5b3a Mac OS X audio backend now supports int32/float32.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402050
2006-09-01 05:31:36 +00:00
Ryan C. Gordon
3e4e137122 Cleaned up IRIX audio driver, added float32 support and fallbacks when
a specific audiospec isn't supported or the hardware fails.

Usual disclaimer: No IRIX box, so this may not even compile.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402049
2006-09-01 00:04:07 +00:00
Ryan C. Gordon
bb7ad968f9 Actually, my silly logic bug was actually correct. :/
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402048
2006-08-31 23:16:48 +00:00
Ryan C. Gordon
3a09848855 Let SDL convert to valid Dreamcast audio formats instead of failing if the
hardware can't be opened in a specific format. Not that you'd want to swallow
 the overhead on a Dreamcast, but hey, it's the SDL way.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402047
2006-08-31 23:16:23 +00:00
Ryan C. Gordon
1f63d96bcd Let OS/2 DART backend use SDL converters at a higher level (would fail if
DART didn't directly support AudioSpec before).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402046
2006-08-31 22:40:53 +00:00
Ryan C. Gordon
2bd800db0e Fixed silly logic thing.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402045
2006-08-31 22:22:34 +00:00
Ryan C. Gordon
558a5b6909 Added int32 and float32 support (and some others!) to BeOS audio backend.
Untested: No BeOS system here for compiling!

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402044
2006-08-31 22:15:07 +00:00
Ryan C. Gordon
5324cc6d9c Added int32 support to Amiga audio driver and cleaned up some other details
in driver initialization. May need tweaking: I can't compile the amiga driver
 here.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402043
2006-08-31 21:43:25 +00:00
Ryan C. Gordon
da3564dedd ALSA backend can handle int32 and float32 data directly.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402042
2006-08-31 21:28:21 +00:00
Ryan C. Gordon
fd613a1f43 Added int32 adn float32 support to SDL_LoadWAV_RW().
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402041
2006-08-31 21:00:10 +00:00
Ryan C. Gordon
bead079669 Reordered the favored audio format list a little.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402040
2006-08-31 20:59:42 +00:00
Sam Lantinga
a1c6ec6c23 Take advantage of the existing SDL blitters for normal copy blits.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402039
2006-08-29 08:24:16 +00:00
Sam Lantinga
2bd62ed521 Clear the second texture stage explicitly
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402038
2006-08-28 17:35:15 +00:00
Sam Lantinga
1b733db29c The dummy renderer can task advantage of the MASK optimization too, though performance probably doesn't matter here...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402037
2006-08-28 17:34:50 +00:00