Commit Graph

53 Commits

Author SHA1 Message Date
Eugene Kulabuhov 25a90c634d
Fix SDL2 build on MacOS (#544)
* Fix SDL2 build on MacOS

* Fixing compilation error
2024-03-24 08:11:17 +01:00
ekeeke 6ec9ac2729 [Core/SG] added SG-1000 II hardware with 8KB RAM extension adapter in selectable hardware models (fixes #437) 2022-10-29 13:51:34 +02:00
Kiri e5f77f14b9
Enchanced per-tile vertical scroll (#453)
* Enchanced per-tile vertical scroll implementation

* Comment cleanup
2022-08-13 08:11:41 +02:00
ekeeke e366ca817f [Core/CD] added setting to enable/disable CD access time simulation 2022-05-01 15:47:18 +02:00
ekeeke c6d1e5ac38 [Core/CD] added optional (platform-specific) SUB-CPU address error exceptions emulation (currently activated for libretro & SDL Windows ports only) 2021-10-09 18:53:59 +02:00
ekeeke 9254c331d2 [Core/CD] added configurable CD-DA and PCM outputs mixing volume 2021-10-07 23:20:31 +02:00
ekeeke 52c54c70b1 [libretro/SDL] added new source files to MSVC project 2021-09-17 10:46:53 +02:00
ekeeke dfe3672878 [Core/MD] added support for MegaSD CD hardware overlay (MD+ hacks) and extended SSF2 / ROM write mappers 2021-09-13 19:32:52 +02:00
ekeeke babb338dea [Win/SDL] fixed comment in Makefiles 2021-08-10 14:41:09 +02:00
ekeeke 9630e59552 [SDL] fixed sound format on big-endian platforms 2020-05-01 09:55:22 +02:00
ekeeke 9d288726bf [SDL] fixed linking issues with opll.o 2020-05-01 09:44:53 +02:00
ekeeke dd4ce564da [SDL] added support for nuked cycle-accurate YM2413 core (optional) 2020-04-04 15:29:19 +02:00
feos 11ad16f76c add core/debug to gx_vstudio project 2019-04-25 20:31:43 +03:00
vadosnaprimer d1e7cd6bea add CPU hooking functionality
can be used by a frontend to implement breakpoints or tracelogging
currently hooked: M68K executing/reading/writing, VDP reading/writing (only for MegaDrive)
2019-04-21 20:35:38 +03:00
Clownacy 49b90b966c [SDL] remove -ansi compiler flag
It seems like it's just an alias for -std=c89, which gets overridden by
-std=c99 later.
2018-07-09 21:00:24 +01:00
Clownacy 5eafe5b0cc [SDL] the window surface should not be freed
According to SDL's docs, the window surface is freed automatically by
other functions (SDL_Quit in SDL1.2, and SDL_DestroyWindow in SDL2).

I think this might have actually been the cause of those segmentation
errors upon closing that I noticed back when I opened #114.
2018-07-09 18:53:09 +01:00
Clownacy 3edcab0b46 [SDL] SDL_CreateRGBSurface flags are deprecated in SDL2 2018-07-09 18:52:51 +01:00
tokumeiwokiboushimasu fb670d1bf4
Update osd.h 2018-07-07 13:49:47 +09:00
tokumeiwokiboushimasu e658f3abe0
Update Makefile.sdl2 2018-07-07 13:49:04 +09:00
tokumeiwokiboushimasu 99d896598f
Update Makefile.sdl1 2018-07-07 13:47:54 +09:00
EkeEke 7af5a0cdf4 [SDL] added LIBCHDR support 2018-07-03 00:12:36 +02:00
Clownacy b68d016aa5 [SDL] fixed fullscreen in SDL2 build 2018-07-01 23:53:54 +01:00
Clownacy 0569355cb5 [SDL] make SDL2 build support 8, 15, and 32BPP rendering 2018-07-01 22:40:30 +01:00
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