Commit Graph

30 Commits

Author SHA1 Message Date
Clownacy
6e9cb90da4 [SDL] SDL_OpenAudio returns negative error codes in SDL2
SDL1.2 just returns -1, which this code was still checking for
2018-07-01 21:33:30 +01:00
Clownacy
cb5b682872 [SDL] don't accept alternate audio formats
On my PC, the SDL2 build doesn't 'obtain' the S16 format it
requests, but since the rest of the SDL2 frontend expects S16, this
causes the audio to fail. So, instead, I force SDL to accept S16, and
just convert to the native format implicitly.

I also applied this to every sound format setting, since I imagine the
frontend doesn't support obtaining only one channel, or a non 48kHz
frequency.
2018-07-01 21:27:58 +01:00
Clownacy
aeb3a98df2 [SDL] don't include libchdr
The makefiles don't reference any of its sources, leading to build errors.
I'd fix this myself, but even when adding the relevant sources, I get
errors about multiply-defined types.
2018-07-01 21:27:42 +01:00
Vladimir Kononovich
191665c8d1 Visual Studio 2017 sdl2 solution. 2018-06-30 20:51:37 +03:00
EkeEke
238e520a4a [SDL] fixed MingW compilation 2018-01-07 16:22:51 +01:00
EkeEke
902dc4c4c0 [Core/Sound] added (optional) YM2612 DAC distortion emulation in MAME core & removed configurable YM2612 DAC resolution (deprecated) 2017-12-22 20:43:28 +01:00
EkeEke
b62ce884b8 [Core/Sound] added nuked YM3438 core to SDL port and fixed some GCC warnings 2017-12-22 20:37:58 +01:00
EkeEke
f6f4556533 [Core/Sound] fixed 3-Band EQ implementation 2017-09-19 15:26:50 +02:00
EkeEke
b78ce06728 [Core/Sound] improved accuracy of SN76489 core 2017-03-28 16:15:45 +02:00
EkeEke
9bb64c47f9 [Core/Sound] rewrote PSG core from scratch & replaced deprecated "PSG boot noise" option with optional Hiqh Quality PSG resampling 2016-12-18 23:36:59 +01:00
Clownacy
3da87f4548 [SDL/SDL2] define HAVE_ALLOCA_H on non-Windows systems
Prevents errors in libtremor
2016-11-03 15:44:00 +00:00
Clownacy
e4d9c04add [SDL/SDL2] removed explicit Windows-ism in Makefile
The Windows Make ports I've used automatically
add the .exe extension
2016-11-03 15:31:24 +00:00
Clownacy
4cea68fa10 [SDL/SDL2] merged SDL1 and SDL2 files 2016-11-03 15:21:25 +00:00
Clownacy
1cbf897ed1 [SDL] use 'return' instead of 'exit' in main, removed useless buffer 2016-10-20 23:26:58 +01:00
Clownacy
1cc83a28a2 [SDL] minor tweak 2016-10-20 23:06:10 +01:00
Clownacy
87cb6b8ec7 [SDL] added support for 32MB ROMs 2016-10-20 23:06:10 +01:00
Clownacy
edbef3fda6 [SDL] removed extraneous bracket from window title 2016-10-14 11:59:41 +01:00
Clownacy
a3c888249f [SDL] prevent a warning about unused variable 2016-10-14 11:45:29 +01:00
Clownacy
e84d7cdce8 [SDL] disabled Windows-only components of Makefile when not building on Windows 2016-10-14 11:45:29 +01:00
Clownacy
9da307e1eb [SDL] fixed undefined parameter type
This might have worked with c89, but now it just causes an error
2016-10-14 11:45:29 +01:00
Clownacy
17630b4cb3 [SDL] changed to c99 standard
c89 does not support long long, flagging an error
2016-10-14 11:45:20 +01:00
EkeEke
c0e7e595e4 [SDL] fixed gzopen() file type 2016-03-20 19:19:26 +01:00
EkeEke
d2c03aadd9 [Core/GG] fixed mirrored access to I/O control register (G-LOC Air Battle) 2015-03-24 23:59:31 +01:00
EkeEke
97595b4557 [Core/GG] added LCD ghosting software filter 2014-11-23 20:45:22 +01:00
EkeEke
37dd44df6c [Core/Input] added Sega Graphic Board support (thanks to SMS Power) 2014-10-10 18:06:16 +02:00
EkeEke
32bc395dfd [Win32/SDL] renamed Makefile 2014-08-15 15:09:06 +02:00
EkeEke
f3d4cf51d2 [Core/Input] fixed Master Tap adapter & XE-1AP device naming in sourcecode 2014-08-09 18:59:14 +02:00
EkeEke
54210e8222 [Core/IO] added gamepad type auto-detection 2014-04-01 20:36:16 +02:00
EkeEke
11d275e2f8 [Gamecube/Wii] finalized 1.7.4 2013-06-21 15:14:00 +02:00
EkeEke
b629a0969e rearranged core & back-end specific code 2013-06-17 22:23:39 +02:00