Commit Graph

1494 Commits

Author SHA1 Message Date
ekeeke
2de69b3a5c
[libretro] corrected max authorized port value in retro_set_controller_port_device function 2018-08-14 13:57:00 +02:00
EkeEke
d71a8a2fc5 Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2018-08-11 23:42:09 +02:00
EkeEke
ee4494a815 [Core/IO] improved 6-buttons controller emulation (fixes 'ToeJam & Earl in Panic on Funkotron') 2018-08-11 02:09:13 +02:00
EkeEke
3ec4b627e8 [Wii] fixed Wii U Pro Controller detection using libogc 2018-08-11 01:28:12 +02:00
ekeeke
3f6560ab7f
Merge pull request #237 from Clownacy/master
[SDL] Fixes for SDL, and a fix for building under MinGW-w64
2018-07-10 14:07:01 +02: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
7a4e30d27e [Core/CD] fix libFLAC compilation on MinGW-w64
Without autotools, fseeko cannot be detected automatically, so we cheat
a little.
2018-07-09 18:53:09 +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
ekeeke
0ac750010e
Merge pull request #236 from lab313ru/patch-2
[libretro] Fixed options reading nullpointer
2018-07-07 17:43:24 +02:00
ekeeke
dac48212cc
Merge pull request #235 from lab313ru/patch-1
Fixed compilation flags for MSVC 2017 build
2018-07-07 17:16:58 +02:00
Vladimir Kononovich
bca4877a55
Fixed options reading nullpointer
An exception may happen when no previous core config was loaded.
2018-07-07 18:09:12 +03:00
Vladimir Kononovich
9b09fb100c
Fixed compilation flags for MSVC 2017 build 2018-07-07 18:05:28 +03:00
ekeeke
14cce99d5c
Merge pull request #233 from tokumeiwokiboushimasu/master
SDL fixes
2018-07-07 15:23:29 +02: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
51a67194a2
Merge pull request #230 from lab313ru/libretro_msvc
Libretro msvc
2018-07-06 18:12:38 +02:00
Vladimir Kononovich
d3eee3d586 removed sdl bins 2018-07-05 21:26:26 +03:00
Vladimir Kononovich
484e05f5b8 fixed libretro msvc. 2018-07-05 21:20:39 +03:00
EkeEke
7af5a0cdf4 [SDL] added LIBCHDR support 2018-07-03 00:12:36 +02:00
ekeeke
04d2b001fe
Merge pull request #229 from Clownacy/master
Fixed a few bugs in the SDL build
2018-07-02 07:53:41 +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
198aa2e0c8 added deps 2018-07-01 13:21:31 +03:00
ekeeke
6d87a04192
Merge pull request #228 from lab313ru/vstudio
Visual Studio 2017 sdl2 solution
2018-06-30 22:08:35 +02:00
Vladimir Kononovich
191665c8d1 Visual Studio 2017 sdl2 solution. 2018-06-30 20:51:37 +03:00
EkeEke
724015c5a5 [Core/CD] fixed CHD data initialization (fixes potential crashes when loading non-CHD CD image files after 10MB ROM file) 2018-06-27 01:42:03 +02:00
EkeEke
ae28f87402 [Core/MS] improved region detection (fixes BIOS support with Japanese games) 2018-06-21 00:28:57 +02:00
EkeEke
5903e8291c [Wii] removed libwiiuse wrapper for 3rd-party Classic Controller & Wii U Pro Controller support (now included in libogc) 2018-06-20 23:29:36 +02:00
EkeEke
d17b0be5c9 Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2018-06-20 23:00:25 +02:00
EkeEke
326e30f3d8 [Wii] fixed build 2018-06-20 22:36:47 +02:00
ekeeke
726b7112d8
Merge pull request #211 from nukeykt/ym3438
[Core/Sound] Nuked OPN2: removed discrete ym3438 core
2018-01-31 21:30:12 +01:00
nukeykt
3aae6e4f09 [Core/Sound] Nuked OPN2: removed discrete ym3438 core 2018-02-01 00:01:03 +09:00
ekeeke
f3549f21b5
Merge pull request #210 from nukeykt/ym3438
[Core/Sound] accurate YM2612/3438 status read emulation on invalid port
2018-01-29 09:39:46 +01:00
nukeykt
06b3950d73 [Core/Sound] accurate YM2612/3438 status read emulation on invalid port 2018-01-29 13:24:13 +09:00
EkeEke
fee2bc8c28 [Core/Sound] added accurate YM2612 status & BUSY flag emulation for MAME core (verified on discrete and ASIC-integrated chips) 2018-01-07 16:44:14 +01:00
EkeEke
d0aa36acc3 [Core/CPU] improved 68K/Z80 synchronization 2018-01-07 16:24:28 +01:00
EkeEke
238e520a4a [SDL] fixed MingW compilation 2018-01-07 16:22:51 +01:00
ekeeke
e51cbc5eb8
[Libretro] fixes typo 2017-12-31 12:28:31 +01:00
ekeeke
3463f2f724
[libretro] keep base height unchanged in double-field interlaced mode to bypass integer scaling limitations 2017-12-31 12:26:07 +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
2656abe7af [Wii] fixed default input configuration 2017-12-22 20:05:31 +01:00
EkeEke
46f3e640e8 [Core/SG] improved SG-1000 cartridge memory mapping (fixes Safari Hunting crash when accessing unmapped ROM area) 2017-12-13 23:09:29 +01:00
EkeEke
515e2ff0d1 [Wii] added missing source files for WiiU GamePad Controller support on vWii 2017-12-13 23:07:42 +01:00
ekeeke
77ef8e8b70
Merge pull request #200 from libretro/master
[libretro] sync with libretro repository (fixed CHD support on Android & added Travis-CI build script)
2017-12-06 09:55:03 +01:00