2370 Commits

Author SHA1 Message Date
twinaphex
e37f5a2465 Update libretro-common 2018-11-05 14:47:06 +01:00
twinaphex
e5b9ca5187 Silence code warnings 2018-10-21 05:43:23 +02:00
Nathan Strong
dc18196844 get rid of TODO 2018-10-18 16:44:30 -07:00
Nathan Strong
d03c0be71d Rewrite file hasher to limit amount hashed
== DETAILS
Since the content file could potentially be huge, hashing the
whole thing at runtime may take a really long time. Plus, it
was loading the whole file into RAM at once.

Now, we only load 1MB at a time and hash up to the first 64MB.

== TESTING
I don't have any large content files to test it with, but I
tested it with a small one and confirmed that the hash was
correct.
2018-10-18 16:38:02 -07:00
Nathan Strong
edacf67e75 Capture CRC content for deferred-loading cores
== DETAILS

Fixes a bug where content CRC32 is not calculated when content loading
is done by the core instead of libretro. This impacts the ability to
do accurate content matching on netplay.

This notably affects MAME, but is by no means limited to MAME.

Change summary:
- adds a method to the crc32 implementation that calculates crc32 for
  a file (as opposed to an in-memory buffer)
- fix a minor bug that would print the "core will load its own content"
  right before attempting to load compressed content
- in the actual "core will load its own content" path, calculate the CRC32
  and log it before returning

== TESTING
Tested locally on OSX:
- loaded content
- started netplay
- confirmed CRC showing in netplay data
- verified CRC32 against external crc32 tool
2018-10-18 11:26:45 -07:00
twinaphex
cf9341f2ea Update libretro-common 2018-10-17 05:45:43 +02:00
Sven
b48768c023 extend cheat searching to accommodate multiple memory pointers 2018-10-14 14:25:44 -04:00
natinusala
eac0d603f4 libnx: add network interfaces info 2018-10-12 17:37:03 +02:00
Twinaphex
58f8c2eddb
Merge pull request #7416 from lambolighting/master
(Language) Greek Translation of RetroArch - WIP
2018-10-12 01:35:20 +02:00
Nathan Strong
c5f9fc0a34 WiiU: fix network information
== DETAILS

For local netplay, it's useful to have your IP address easily
available. This commit makes the Information > Network Information
menu display the Wii U's IP address.

Change summary:
- Fix the logging init to be reentrant to avoid socket consumption
- Add implementation of POSIX `getifaddrs()` and `freeifaddrs()`
  to `missing_libc_functions.c`
- Remove compiler directives protecting the code paths that call
  `getifaddrs()` from being used in Wii U builds

== TESTING

Have tested locally, successfully get IP address information in
the Information > Network Information.

I think this may also fix NAT traversal. Will need to be tested.
2018-10-11 15:37:15 -07:00
LamboLighting
8509132ebd (Language) Greek translation of RetroArch
First steps of the translation.
Still a WIP. Most of the menu labels have been translated. Lots of sublabels still need translation.
2018-10-12 01:22:33 +03:00
Twinaphex
f00f2e3ccf
Merge pull request #7169 from GregorR/wii-u-netplay-fix
Fix netplay on Wii U
2018-10-10 20:14:24 +02:00
Sven
4c3b06d640 bugfix cheat saving 2018-10-10 11:10:49 -04:00
Sven
30d4df7634 Merge remote-tracking branch 'upstream/master' 2018-10-10 09:16:39 -04:00
Sven
f53e1ca4b1 fix new rumble types ; increase max displayed cheats to 6000 2018-10-10 09:15:46 -04:00
twinaphex
1b1a0c8d27 Stub this out for GEKKO 2018-10-10 02:01:34 +02:00
twinaphex
f277489efc Comment out pthread attr for 3DS 2018-10-09 15:35:39 +02:00
twinaphex
0d699208d3 Update rthreads 2018-10-09 03:55:34 +02:00
twinaphex
521b978d31 Add sthread_create_with_priority - missing functionality from desmume
rthreads implementation
2018-10-09 03:43:34 +02:00
twinaphex
31ba215c94 Update GLSM 2018-10-06 17:05:06 +02:00
twinaphex
f1e7e0c5f7 Update GLSM 2018-10-06 15:40:48 +02:00
twinaphex
22424fce0f Update libretro-common 2018-10-06 15:16:33 +02:00
twinaphex
1cb4a0a34f Update 2018-10-06 15:15:37 +02:00
M4xw
b8ec926078 [LIBNX] Split non-inline functions from the header, increase stack 2018-10-01 21:12:59 +02:00
twinaphex
983c234a3e Update libretro.h 2018-10-01 16:23:08 +02:00
twinaphex
7a72619eff Update libretro-common 2018-10-01 15:50:41 +02:00
twinaphex
3dcefa9316 Update libretro.h 2018-10-01 15:49:54 +02:00
twinaphex
072848445c Fix some C89_BUILD errors 2018-10-01 03:31:13 +02:00
Twinaphex
f7e4f440c8
Merge pull request #7311 from m4xw/libnx
[LIBNX] GL by default, enable XMB, rgui color changes for Libnx only
2018-09-28 11:09:24 +02:00
M4xw
ef736d02c2 [LIBNX] Improve Threading, Fix Video Threaded. Scan content no longer crashes. 2018-09-28 03:24:12 +02:00
lifajucejo
9be2321c02 Add networking support to libnx 2018-09-27 21:23:01 -04:00
M4xw
cf097d7f42 [LIBNX] Implement OpenGL 2018-09-27 01:23:24 +02:00
M4xw
72ed1c0b82 [LIBNX] Threading; Use a ThreadCoreMask and let the system schedule it. 2018-09-27 00:53:26 +02:00
Nathan Strong
0900f08696 Wii U: Fix menu lag when built with DevKitPro r32
== DETAILS

Updates to the newlib library bundled with DevKitPro have caused
incorrect behavior in `cpu_features_get_time_usec()`. Specifically,
it defines `_POSIX_MONTONIC_CLOCK` which results in calling newlib's
time functions which are.. buggy, at least on Wii U.

By moving the WIIU case higher up, we end up calling the actual
Wii U time library routines, and get nice snappy animations as a
result.

== TESTING
I tested this locally on my wiiu and confirmed resolved menu sluggishness.
2018-09-23 17:26:45 -07:00
misson20000
7072bbb829 [NSW] SDK compat fixups 2018-09-15 03:27:29 -07:00
misson20000
fa76a3cb60 CRLF -> LF 2018-09-15 03:27:05 -07:00
M4xw
3a6e410833 [LIBNX] Add pthreads wrapper 2018-09-15 02:28:52 +02:00
twinaphex
19b4ef3b2c Add conv rgb565 to ABGR8888 by m4xw 2018-09-12 20:04:52 +02:00
twinaphex
517b1b9089 Add HAVE_LIBNX ifdefs to switch_input.c/switch_joypad.c, and
features_cpu.c
2018-09-12 19:54:51 +02:00
Sven
3c0eadbdf2 per request 2018-09-11 18:52:51 -04:00
Sven
b771a3e0f5 move libretro.h defines to retroarch.h 2018-09-11 18:45:01 -04:00
Sven
d8796732aa provide a means for cores to coordinate with the frontend when shutting down multiple threads gracefully 2018-09-11 13:29:20 -04:00
twinaphex
df059c585f Implement RETRO_ENVIRONMENT_GET_FASTFORWARDING 2018-09-08 02:19:05 +02:00
Rob Loach
9da261c6d9
Update config entries pointer to the new beginning of the list after sorting 2018-09-03 13:31:46 -04:00
David Walters
b592f254b9 Support for "OEM-102" key (usually '\' on Euro keyboards) 2018-09-02 18:24:51 +01:00
Gregor Richards
7634b1bbb0 Fix netplay on Wii U
getaddrinfo on Wii U doesn't support node==NULL. As I don't know of this
bug on any other platform, I've made a Wii-U-specific workaround in
getaddrinfo_retro.
2018-09-01 21:14:56 -04:00
Twinaphex
93af9baf48 Remove warning 2018-09-01 04:04:15 +02:00
Twinaphex
65535a1259 Cleanups 2018-09-01 01:03:58 +02:00
twinaphex
1265d7546c Revert "Start using raw constants for OSX version detection"
This reverts commit ab34a70873637232be341f1c07544d9749e6dddb.
2018-08-31 19:19:42 +02:00
Rob Loach
c7e6eda438
libretro-common: Restore libretro-common/audio/dsp_filters/configure 2018-08-30 22:23:05 -04:00