Commit Graph

15 Commits

Author SHA1 Message Date
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
aliaspider
c8027ebe1d (tools) add the tool used to generate the d3d headers. 2018-01-21 04:28:06 +01:00
Alfredo Monclus
bbd9a6566c WiiU: C89 style comments 2018-01-06 09:44:03 -03:00
aliaspider
3979d03cb3 (WIIU) add a gfd shader file reader. 2018-01-04 23:03:11 +01:00
Ash
0d38612f4a
[WiiU] Various warning/format string fixes
All things from unsigned comparisons to missing initializers; we got it
here.
2017-11-04 20:37:30 +11:00
aliaspider
f589c50043 (WiiU) misc. 2017-05-28 12:42:19 +01:00
aliaspider
934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
aliaspider
021b510452 (WiiU) refactors/cleanups. 2017-01-23 16:14:05 +01:00
aliaspider
f43c7254ee (WiiU) add a helper macro for DisassemblePPCRange. 2016-11-24 00:34:03 +01:00
aliaspider
418787e6ca (WiiU) can't use start files with rpx buidls yet (this also means, no C+
+ static constructors support).
2016-11-16 17:44:54 +01:00
aliaspider
6f7f6a363b (WiiU) only wait for vsync when not missed. 2016-11-10 14:24:20 +01:00
aliaspider
31edafde03 (WIIU) add timers, fix retro_sleep. 2016-11-06 11:55:56 +01:00
aliaspider
0433cae3c9 (WIIU) misc. 2016-11-05 15:01:43 +01:00
aliaspider
176dd79f33 (WIIU) misc. 2016-11-02 22:06:15 +01:00
aliaspider
a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00