43886 Commits

Author SHA1 Message Date
Brandon Wright
6aa33c8710 Add some X11 error checking. 2018-04-16 16:56:36 -05:00
Brandon Wright
c4f818599c Add some fbdev refresh rate polls. Also Xv. 2018-04-16 16:23:59 -05:00
Ryunam
2cf76a192f Add Latency list under Settings and move relevant functions 2018-04-16 23:21:14 +02:00
Brandon Wright
95f8205fd1 Add DRM interface for refresh rate. 2018-04-16 15:36:46 -05:00
meleu
3fb2484869
removed unnecessary memory adjustment 2018-04-16 17:01:43 -03:00
Brandon Wright
64b2830889 Fix Win32 build. Set Windows header API to Win7. 2018-04-16 14:51:38 -05:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex
7a4c468730 Update libretro-common 2018-04-16 08:34:34 +02:00
twinaphex
ec2267daa6 Cleanups 2018-04-16 04:35:23 +02:00
twinaphex
d46011ae14 Cleanups 2018-04-16 04:20:24 +02:00
twinaphex
4cc3cf7344 Only restore resolution through resolution switch if CRT
switch mode was ever actually used
2018-04-16 03:19:33 +02:00
Twinaphex
de29f0ce62
Merge pull request #6583 from bearoso/refresh_rate
Show actual refresh rate and allow setting from video menu
2018-04-16 03:14:49 +02:00
Brandon Wright
df5528b1d0 Divide Wayland rate by 1000 instead of multiply. 2018-04-15 20:00:14 -05:00
Brandon Wright
e049605359 Add refresh rate polling to Win32 >= Windows 7. 2018-04-15 19:33:38 -05:00
Brandon Wright
20d87347f7 Add menu item showing and allowing to automatically set precise refresh rate. 2018-04-15 17:56:12 -05:00
Brandon Wright
533f898132 Add get refresh rate context function. Implement for X11 and Wayland. 2018-04-15 17:56:12 -05:00
Brandon Wright
7a00534378 Add poke interface for get_refresh_rate. 2018-04-15 17:56:11 -05:00
twinaphex
6d00810716 Simplify video_driver_monitor_adjust_system_rates 2018-04-15 19:38:01 +02:00
twinaphex
953172f05b This header include can go now 2018-04-15 19:29:07 +02:00
twinaphex
c692f457c2 Add switch_resolution to display_server interface 2018-04-15 19:25:00 +02:00
twinaphex
bed4214059 Turn int variables to unsigned 2018-04-15 18:59:58 +02:00
twinaphex
311c156e08 Turn width/height into unsigned 2018-04-15 18:55:16 +02:00
twinaphex
4d87772f4a (video_crt_switch.c) Turn a whole bunch of functions static 2018-04-15 18:52:38 +02:00
twinaphex
1c6a6c80f4 Try to prevent another memory leak - this time in miniupnpc 2018-04-15 18:42:25 +02:00
twinaphex
bb05af0d92 (libchdr) Prevent memory leak 2018-04-15 18:39:42 +02:00
twinaphex
dc7c4fea2d Prevent Coverity warning 2018-04-15 18:31:46 +02:00
twinaphex
359de5c84b Create win32_change_display_settings 2018-04-15 17:55:37 +02:00
twinaphex
87cf910396 (CRT switch) Cleanups 2018-04-15 17:12:28 +02:00
Twinaphex
a2516d23a3
Merge pull request #6469 from alphanu1/master
CRT Switchres Capabilities
2018-04-15 16:56:15 +02:00
Twinaphex
c6849bf267
Merge pull request #6581 from QuarkTheAwesome/master
[WiiU] Add build information to exception handler
2018-04-15 16:48:58 +02:00
Ash
8e1437ad86
[WiiU] Add build information to exception handler 2018-04-15 17:19:39 +10:00
gblues
6eebbe4213 Build fix for PC
== DETAILS
Hooray for conditional compile directives.

Moving things around broke things in unexpected ways on non-WiiU builds.

Well, not *completely* unexpected. But still.

Changes:

- Move some typedefs around to avoid circular include dependencies
- Include the file where the HID driver definition got moved to

== TESTING
- verified build for Wii U still runs successfully
- did a local build without any errors (some weird warnings, but since they
  happen in code I didn't change, I'm assuming they're pre-existing?)
2018-04-15 00:04:49 -07:00
gblues
4cd301bd92 Add pad unregistration
== DETAILS

I think this will fix the problem with duplicate pads--pads weren't properly
de-initializing and registering as disconnected. When a pad is disconnected,
the slot should properly release now.
2018-04-14 21:30:44 -07:00
gblues
6ab91a422e Small cleanup to adapt to upstream code changes
retro_bits_t turned into input_bits_t and there were parts of my
code that needed to update.

== TESTING
No idea if upstream changes broke anything, but it compiles cleanly
now.
2018-04-14 14:34:13 -07:00
gblues
fb5b31faf3 Merge branch 'master' into gblues/hid 2018-04-14 14:18:03 -07:00
gblues
97e09d179f Fix deadlocks when device is unplugged
== DETAILS
TIL that it's bad to call synchronization code from callbacks.

To avoid that, I made the following changes:

- Implemented an atomic swap (see previous commit) to avoid explicit
  locking when working with the event list
- ensure locks are only acquired in either the main thread or the
  I/O polling thread
- use an explicit polling loop; we still use async reads, but the
  read doesn't immediately re-invoke itself.
- remove the sleep in the polling thread.
- remove unnecessary locking in the thread cleanup call--verified that
  the list can't be modified while it is being executed.

== TESTING
I tested locally, and was able to disconnect/reconnect USB devices several times without the worker thread getting deadlocked.
2018-04-14 13:30:34 -07:00
Twinaphex
79071bd11b
Merge pull request #6577 from Stevoisiak/settings-rename-ui
retroarch.cfg: Rename "UI" to "User Interface"
2018-04-14 21:20:15 +02:00
Steven M. Vascellaro
9d352af3a8
retroarch.cfg: Rename "UI" to "User Interface"
Use full name for UI to match the terminology when changing settings in RGUI.
2018-04-14 15:17:40 -04:00
Twinaphex
a20d53202d
Merge pull request #6576 from RobLoach/patch-30
libretro-db: Show missing key match warning once
2018-04-14 20:47:53 +02:00
Twinaphex
3c7c8871d7
Merge pull request #6575 from RobLoach/patch-29
libretro-db: Ignore compiled binaries
2018-04-14 20:47:39 +02:00
Rob Loach
d44f9467e4
libretro-db: Fix whitespace 2018-04-14 14:10:40 -04:00
Rob Loach
d3bbdb2e06
libretro-db: Show missing key match warning once
Before, the "missing match" warning would appear for every entry. This change makes it show that it only displays the warning once.
2018-04-14 14:09:46 -04:00
Rob Loach
b0a2df41dd
libretro-db: Ignore compiled binaries
This makes it so that the compiled libretro-db binaries are ignored from git.
2018-04-14 14:08:28 -04:00
gblues
dca36ebaf8 Add small snippet for atomic value swapping
Fortunately, the gcc port implements the builtins and, from basic
testing, they seem to work.

This is only really useful on Wii U--other platforms have more
robust atomic operations, or aren't using gcc to build.
2018-04-14 01:26:26 -07:00
twinaphex
6f7b8aac8c Add input/input_mapper.c always 2018-04-14 03:25:58 +02:00
Twinaphex
7c5e44ead0
Merge pull request #6568 from nurupo/cxxdoesntlag
CXXLAGS -> CXXFLAGS
2018-04-13 18:49:36 +02:00
Twinaphex
4c39a7fd78
Merge pull request #6571 from hiddenasbestos/retro_opendir_r2
retro_opendir - Improved fix for bad input
2018-04-13 18:47:02 +02:00
David Walters
adf4ed960e Handle null and empty string calls to retro_opendir with a consistent null return. 2018-04-13 10:31:21 +01:00
Maxim Biro
6f9c2da807 CXXLAGS -> CXXFLAGS
C++ definitely doesn't lag!
2018-04-13 03:35:33 -04:00
Twinaphex
8fe51864a6
Merge pull request #6566 from gingerbeardman/graphics
3DS icon and banner update
2018-04-13 03:04:31 +02:00