44306 Commits

Author SHA1 Message Date
gblues
9ea16c0b3d Updates from PR feedback (ty @aliaspider) 2018-06-07 21:16:49 -07:00
gblues
8b87a53366 Replace hokey "hooks" struct with weak symbol annotations
- Did a test build to ensure RA built
- Copied over to my FTPservU sources and ensured no compile issues there

Looks solid. A lot cleaner, too.

@aliaspider
2018-06-07 18:41:16 -07:00
gblues
f22c337cfc WIIU: cleanup and build-out of wiiu bootstrap code
I used the code in `wiiu/` to bootstrap my own WiiU homebrew app; this
PR reflects some changes I needed to make, that might be useful upstream.

1. Clean up filesystem initialization

Filesystem driver initialization was lumped in with filesystem mounting;
and that was a problem in my project, because I needed to be able to remount
the SD card on the fly. So, now it's split up.

I've added a callback object named "hooks" that can be used by consuming
applications to handle filesystem mounting and unmounting. If these hooks are
not provided, then the existing default behavior occurs.

2. Expand socket handling

- add `SO_NONBLOCK` flag for non-blocking socket I/O
- add normal errno defines like `EWOULDBLOCK` `EAGAIN`.

3. Remove RetroArch dependencies

- the exception handler protects usage of version_git with
  `#ifdef HAVE_GIT_VERSION` but not the include, so I added that.

  It also technically depends on version.h, but I'm not touching that.
  It's easy enough to implement and I needed the same functionality. I'm
  not sure what the best solution for that dependency is.

- missing_libc_functions.c included features/features_cpu.h which is
  a libretro include. This appears to be a stale include though, because
  everything compiles and works without it.

- an ifdef referencing the RA "WIIU" define, rather than the devkitpro
  "__wiiu__" define
2018-06-05 00:06:40 -07:00
gblues
21fd83f766 Merge github:libretro/RetroArch 2018-06-04 23:38:38 -07:00
twinaphex
ec718c6f71 Should only be used for Wii 2018-06-04 21:25:04 +02:00
Twinaphex
7bfe9e409a
Merge pull request #6860 from meleu/patch-22
fix crash when scrolling cheevos list. fixes #6732
2018-06-04 16:31:08 +02:00
meleu
0ffe0f8513
fix crash when scrolling cheevos list. fixes #6732 2018-06-04 10:07:18 -03:00
Twinaphex
5bc7acffd5
Merge pull request #6858 from meleu/patch-22
show cheevos description on RGUI - fixes #6764
2018-06-04 03:53:39 +02:00
meleu
6040e1c0fc
show cheevos description on RGUI - fixes #6764 2018-06-03 16:46:20 -03:00
Twinaphex
6ecf64d08f
Merge pull request #6855 from GregorR/null-input-joypad-driver
Fix input when the joypad driver is NULL.
2018-06-02 23:04:45 +02:00
Gregor Richards
af357c1afe Fix input when the joypad driver is NULL. 2018-06-01 23:22:04 -04:00
Twinaphex
e4476ec61b
Merge pull request #6847 from reswitched/nsw-dynamic
NSW: dynamic core loading
2018-06-02 01:39:00 +02:00
Twinaphex
861d87281e
Merge pull request #6852 from theheroGAC/patch-32
Update msg_hash_it.h
2018-06-01 02:40:49 +02:00
Twinaphex
ab9a9e733e
Merge pull request #6853 from FIX94/patch-1
(GC/Wii) revert commit 822e2fd
2018-06-01 02:40:40 +02:00
FIX94
3f8235db28
revert commit 822e2fd
commit 822e2fd broke sd gecko mounting on gamecube, making the gamecube build unusable, reverting it makes it run fine again
2018-06-01 00:22:42 +02:00
theheroGAC
430d674b4e
Update msg_hash_it.h 2018-05-31 22:45:32 +02:00
Twinaphex
adaac8a8cd
Merge pull request #6851 from meepingsnesroms/master
Update README.MD(Fixed)
2018-05-31 20:49:02 +02:00
meepingsnesroms
c0da95559f Update README.MD(Fixed) 2018-05-31 10:26:35 -07:00
Twinaphex
ad79fbe4a9
Merge pull request #6846 from GregorR/netplay-runahead-compatibility
Fix compatibility between netplay and runahead
2018-05-31 10:29:22 +02:00
Twinaphex
49c08baaa7
Merge pull request #6848 from reswitched/fix-tearing
NSW: fix tearing
2018-05-31 10:28:11 +02:00
misson20000
97994b0684 NSW: libtransistor added an ELF loader, and cores are now .so instead of .nro 2018-05-30 22:13:55 -07:00
misson20000
1ef6b1d8e4 NSW: wip dynamic support 2018-05-30 22:13:55 -07:00
Gregor Richards
2c07561fc1 Fix compatibility between netplay and runahead
Unsurprisingly, netplay and runahead are wildly incompatible; both rely
on internal rewinding, without communicating this fact to each other.
Somewhat more surprisingly, netplay already has all the infrastructure
for negative input latency, as it's structurally the same as receiving
delayed input from a peer. This patch makes the two features
"compatible" by disabling runahead per se when netplay is active, and
using runahead's configuration to adjust netplay's own input latency
feature, which is now allowed to be negative. The effect is mostly the
same (modulo the second core support), and it doesn't confuse netplay
peers.
2018-05-30 22:01:02 -04:00
misson20000
1404b63219 fix for tearing (depends on libtransistor commit cf5d0403 in v2.0.0, which is yet to be released) 2018-05-30 18:04:58 -07:00
Twinaphex
0045e1fff2
Merge pull request #6845 from DEX357/patch-8
Update msg_hash_pl.h
2018-05-30 07:20:49 +02:00
DEX357
9cf843e349
Update msg_hash_pl.h 2018-05-30 02:30:51 +02:00
twinaphex
a3a047b8ec Fix Coverity warning 2018-05-29 22:01:05 +02:00
twinaphex
b1ec722a75 Buildfix 2018-05-29 18:55:18 +02:00
Twinaphex
65232d3ab4
Merge pull request #6842 from gmdvieira/wayland.screensaver
Add screensaver (idle) inhibition for Wayland driver
2018-05-29 17:23:22 +02:00
hizzlekizzle
34a75ba605
Merge pull request #6578 from Stevoisiak/settings-driver-section
retroarch.cfg: Reorganize sections
2018-05-29 09:28:22 -05:00
Gustavo Maciel Dias Vieira
14c505117d Add screensaver (idle) inhibition for Wayland driver
The Wayland driver currently has no implementation for gfx_ctx_wl_suppress_screensaver. This adds a Dbus implementation using the same infrastructure used by the X11 driver.
2018-05-29 09:56:58 -03:00
twinaphex
ddbc0d53c0 Add Discord Enable option to Settings -> Privacy 2018-05-29 12:41:13 +02:00
twinaphex
81ce02cf74 Put this around an ifdef 2018-05-29 12:18:31 +02:00
twinaphex
6d81d31ef5 Enable Discord setting 2018-05-29 12:18:01 +02:00
twinaphex
b5f6ae7931 (Discord) Add translatable string 2018-05-29 11:14:21 +02:00
twinaphex
406342479a Change function signature of discord_update 2018-05-29 11:09:13 +02:00
twinaphex
1fb57857ea Add discord_is_inited 2018-05-29 11:06:43 +02:00
twinaphex
31e7894539 Get rid of unnecessary ifdef 2018-05-29 10:43:45 +02:00
twinaphex
8ad1ddbac5 Disable discord support for C89 2018-05-29 10:42:18 +02:00
twinaphex
b4912a718f (Discord.c) Cleanups 2018-05-29 10:40:01 +02:00
twinaphex
4a035f5b22 Start adding files for Mac/Linux 2018-05-29 10:30:56 +02:00
twinaphex
d488dfcafa Make these files Windows-specific 2018-05-29 10:24:17 +02:00
twinaphex
e056cd8005 Disable HAVE_DISCORD for now 2018-05-29 10:22:07 +02:00
Twinaphex
2848f1f2b1
Merge pull request #6840 from fr500/master
WIP: discord-rpc support
2018-05-29 10:21:28 +02:00
radius
00bb17588d Merge commit '6e7a18a5987cbd5dec80308250062867f2cc3aad' as 'deps/discord-rpc/thirdparty/rapidjson-1.1.0' 2018-05-28 23:59:23 -05:00
radius
6e7a18a598 Squashed 'deps/discord-rpc/thirdparty/rapidjson-1.1.0/' content from commit 2fb78f9cee
git-subtree-dir: deps/discord-rpc/thirdparty/rapidjson-1.1.0
git-subtree-split: 2fb78f9cee01996f020d5af7592b37c5a0693b31
2018-05-28 23:59:23 -05:00
radius
f0082d710c restore this file 2018-05-28 23:49:23 -05:00
radius
0308191f88 Merge commit 'b86df4ee09564e88f9d2c994ef9d5af75d4e7395' as 'deps/discord-rpc' 2018-05-28 23:46:51 -05:00
radius
b86df4ee09 Squashed 'deps/discord-rpc/' content from commit ba9fe00c4d
git-subtree-dir: deps/discord-rpc
git-subtree-split: ba9fe00c4de1d680cdc56605d9c0d2b4cf8e7a07
2018-05-28 23:46:51 -05:00
radius
d5c2bc90c1 add discord files 2018-05-28 23:46:36 -05:00