Commit Graph

1417 Commits

Author SHA1 Message Date
tokumeiwokiboushimasu
fbc949cc47
Build fixes
With gcc-8.2.1 on Fedora29, there are the errors below.

../core/z80/z80.c:470:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80op,op);
                     ^
../core/z80/z80.c:471:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80cb,cb);
                     ^
../core/z80/z80.c:472:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80dd,dd);
                     ^
../core/z80/z80.c:473:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80ed,ed);
                     ^
../core/z80/z80.c:474:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80fd,fd);
                     ^
../core/z80/z80.c:475:25: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80xycb,xycb);
                         ^
make: *** [Makefile.sdl2:183: build_sdl2/z80.o] Error 1
2019-02-26 00:12:22 +09:00
ekeeke
32079418a9 [Core/MD] fixed SRAM power-on state with games larger than 2MB (Duke Nukem 3D, Triple Play 96, Triple Play - Gold Edition) 2019-01-26 18:33:41 +01:00
ekeeke
b0de643e86 [Gamecube/Wii] fixed compilation with latest devkitPPC versions (MAXPATHLEN declaration issue) 2019-01-26 18:28:37 +01:00
ekeeke
5c0c613bbc [Core/IO] fixed regression with 6-buttons control pad emulation (fixes Duke Nukem 3D) 2019-01-21 23:24:36 +01:00
ekeeke
932a40923c Updated HISTORY.txt 2019-01-09 01:29:35 +01:00
ekeeke
6057f7aa2a Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2019-01-09 01:12:25 +01:00
ekeeke
50dfa94a67 [Core/CPU] fixed 68k timing of BTST Dn,#Imm instruction (verified by Flamewing in original microcode) 2019-01-09 01:08:28 +01:00
ekeeke
49f5a227bd [Core/CPU] fixed Z80 core compilation warnings (unused variable) 2019-01-09 01:07:19 +01:00
ekeeke
edf6abad3f [Core/IO] added short description of I/O ports (credits to Charles MacDonald for original documentation) 2019-01-09 00:59:40 +01:00
ekeeke
0b75d4ba74 [Core/CD] improved accuracy of Word-RAM byte writes (verified on schematic) 2019-01-09 00:54:59 +01:00
ekeeke
e075526f71 [Core/MS] added Missile Defense 3D [Proto] to internal database 2019-01-09 00:52:45 +01:00
ekeeke
e453382abc
Merge pull request #256 from lab313ru/msvc_solution
[libretro] Added MSVC 2017 solution
2018-12-29 15:03:01 +01:00
Vladimir Kononovich
0887331413 Added MSVC 2017 solution. 2018-12-11 16:22:36 +03:00
ekeeke
2ab02c8122
Merge pull request #252 from lacastri/hiddenasbestos
Use new retro_device_lightgun api
2018-10-08 07:13:27 +02:00
ekeeke
45d79b24cf
Merge pull request #251 from lacastri/Miguel_Castiblanco
libnx port
2018-10-08 07:07:31 +02:00
lacastri
6b1579f957
Use new retro_device_lightgun api
hiddenasbestos authored
https://github.com/hiddenasbestos/Genesis-Plus-GX/tree/lightgun
2018-10-07 19:45:38 -05:00
lacastri
c2f6e868a4
libnx port
Miguel Castiblanco authored
2018-10-07 19:30:11 -05:00
ekeeke
e386c13571 Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2018-08-31 02:02:31 +02:00
ekeeke
39c3c6634b [Core/CD] improved CDD status codes description & added support for (unused ?) error request code 2018-08-31 01:52:31 +02:00
ekeeke
d539061d99 [Core/CD] added support for Wondermega & Wondermega M2/X'Eye specific fader hardware (fixes CD-DA issues and freeze when using Wondermega, Wondermega M2 or X'Eye BIOS) 2018-08-30 18:37:12 +02:00
ekeeke
a4255fafc2
Merge pull request #243 from retrotalker/sync1b
libretro sync
2018-08-20 09:55:00 +02:00
retrotalker
618be290ca
remove msvc 2018-08-18 08:08:29 -05:00
retrotalker
d908cae277
libretro sync 2018-08-17 20:38:52 -05:00
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