Commit Graph

37334 Commits

Author SHA1 Message Date
twinaphex
04223b464a Check for return value of config_get_bool 2017-04-20 21:52:29 +02:00
twinaphex
0215badb4c (FIFO queue) Turn some functions into static inline functions 2017-04-20 20:28:57 +02:00
twinaphex
75e02c4646 Simplify alsa_write 2017-04-20 18:27:46 +02:00
twinaphex
d8ba05170f (ALSA) Use macro for frames to bytes 2017-04-20 13:31:02 +02:00
twinaphex
9faae7eb3f (ALSA) Use macro for determing frames from bytes instead of snd_pcm_bytes_to_frames 2017-04-20 11:20:34 +02:00
twinaphex
d1664481c2 Don't call input_remote_state unless pointer is non-NULL 2017-04-20 10:57:09 +02:00
twinaphex
69a3bf6a31 Create bsv_movie_is_playback_{on|off} 2017-04-20 10:40:11 +02:00
twinaphex
9daa63437a Simplify math/vector files 2017-04-20 10:30:30 +02:00
twinaphex
fa347475e8 Simplify matrix_3x3.c 2017-04-20 10:25:54 +02:00
twinaphex
3fb630c571 Get rid of is_perfcnt_enable for audio_driver_write function 2017-04-20 10:15:11 +02:00
twinaphex
154b98394b Don't stop/start the audio driver when muting/unmuting 2017-04-20 10:02:54 +02:00
twinaphex
637b26772c Directly initialize some variables 2017-04-20 09:46:03 +02:00
twinaphex
1cc350bfdb Prevent some implicit memsets 2017-04-20 09:21:08 +02:00
twinaphex
96a9730a08 Cleanups 2017-04-20 09:15:56 +02:00
twinaphex
d1ff5dd973 Header include cleanups 2017-04-20 09:14:20 +02:00
twinaphex
4df1ba690d (D3D) Header cleanups 2017-04-19 19:11:58 +02:00
twinaphex
d220ce5870 Update D3D9 2017-04-19 18:58:01 +02:00
Twinaphex
8eed4c38cf Merge pull request #4833 from kbrenneman/platform-enums
Define the platform enums if they aren't in eglext.h.
2017-04-19 16:13:07 +02:00
twinaphex
87c5b03bed Get rid of another pragma warning 2017-04-19 16:11:35 +02:00
twinaphex
d4ecc6398d (d3d9_cg_renderchain.cpp) Fix header includes 2017-04-19 16:11:00 +02:00
twinaphex
0b3e90dbf4 Header cleanups D3D9 2017-04-19 16:10:11 +02:00
twinaphex
0a074ec4a5 audio_driver_alive() should return true inside audio_driver_start 2017-04-19 15:55:35 +02:00
Kyle Brenneman
a4d19e174a Define the platform enums if they aren't in eglext.h.
Add #defines for EGL_PLATFORM_X11_KHR, EGL_PLATFORM_WAYLAND_KHR, and
EGL_PLATFORM_GBM_KHR, if they aren't already defiend in eglext.h.
2017-04-19 07:08:05 -06:00
twinaphex
27a6d68af9 Get rid of this pragma 2017-04-19 12:56:25 +02:00
twinaphex
d5d04babdd Cleanups 2017-04-19 12:55:41 +02:00
twinaphex
9ca27adb59 Simplify D3D9 headers 2017-04-19 12:46:07 +02:00
twinaphex
1f29de24de Update Makefile.common 2017-04-19 12:43:26 +02:00
twinaphex
ca6eee21d9 Add header include for null_renderchain.c 2017-04-19 12:37:54 +02:00
twinaphex
0a33e6e8e4 Fix relative path header includes 2017-04-19 02:17:34 +02:00
twinaphex
b15cca82c7 Fix some relative path header includes 2017-04-19 02:15:47 +02:00
twinaphex
841adf04a5 Add header include 2017-04-19 02:14:51 +02:00
twinaphex
5bfc513af4 Buildfixes 2017-04-19 02:03:01 +02:00
twinaphex
00a59629aa Silence some more warnings 2017-04-19 01:57:00 +02:00
twinaphex
7790fc3647 MOve renderchain files to dir 2017-04-19 01:51:05 +02:00
twinaphex
32c91baca6 Move read_viewport and viewport_info to render_chain_gl_legacy.c 2017-04-19 01:25:34 +02:00
Twinaphex
faafa2def0 Merge pull request #4831 from GregorR/netplay-rewind
Make rewind compatible with netplay.
2017-04-18 22:22:25 +02:00
Gregor Richards
fbb508ab5e Make rewind compatible with netplay.
This commit adds support for temporary desync in netplay. When frontend
features that can't be truly synced, in particular rewind, are used,
netplay is momentarily disabled. As soon as the feature finished, e.g. a
rewind ending, netplay resumes with a state load. For rewind, netplay
peers won't actually experience the effect of rewind, but they will load
the rewound state.
2017-04-18 15:25:58 -04:00
twinaphex
7104d329fd Update logs 2017-04-18 06:02:43 +02:00
twinaphex
d722ac6c04 Cleanup 2017-04-18 05:57:38 +02:00
twinaphex
d5821c7f61 Update logs 2017-04-18 05:42:49 +02:00
twinaphex
f4071ba6ec Set axis_threshold 2017-04-18 05:11:44 +02:00
twinaphex
0a8f7b9ff2 Simplify CMD_EVENT_AUDIO_STOP/CMD_EVENT_AUDIO_START 2017-04-18 04:11:34 +02:00
twinaphex
e21df42ec1 Turn function static 2017-04-18 03:59:15 +02:00
twinaphex
8aa7ae168e Remove unused function 2017-04-18 03:54:53 +02:00
twinaphex
55dd4ac754 Simplifications 2017-04-18 03:52:01 +02:00
twinaphex
662755c899 Start simplifying audio driver start/stop 2017-04-18 03:49:35 +02:00
Twinaphex
4159dc43ed Merge pull request #4828 from kbrenneman/fix-eglGetDisplay-ifdef
Add #ifdefs for trying to use eglGetPlatformDisplay.
2017-04-17 10:19:30 +02:00
Kyle Brenneman
7baa75bee0 Add #ifdefs for trying to use eglGetPlatformDisplay.
Add #ifdefs for EGL_VERSION_1_5 and EGL_EXT_platform_base around the calls to
eglGetPlatformDisplay and eglGetPlatformDisplayEXT, respectively.

This avoids compiler errors when the EGL header files don't have the necessary
declarations for EGL 1.5 or EGL_EXT_platform_base.

Follow-up fix for https://github.com/libretro/RetroArch/issues/4790
2017-04-16 17:11:27 -06:00
twinaphex
d433d592e1 Do this workaround for now - for Android/Emscripten 2017-04-17 00:26:20 +02:00
Twinaphex
692caf19ce Merge pull request #4827 from fr500/master
android autoconf improvements
2017-04-17 00:23:39 +02:00