35 Commits

Author SHA1 Message Date
twinaphex
7642cf5fa5 Struct reorders/alignment 2020-08-14 22:54:46 +02:00
twinaphex
cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
Barry Rowe
8745333892 OCR Translation feature finaliziation. (#8738) 2019-05-11 07:15:39 +02: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
768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex
0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker
1b1d5c468d win32: use unicode functions for file IO if supported 2017-10-15 17:41:34 -04:00
Brad Parker
a7c8cc88e5 win32: support local multibyte encoding for file paths 2017-10-14 23:13:24 -04:00
Brad Parker
ac949a14bf msvc2003 buildfixes 2017-09-07 02:02:43 -04:00
twinaphex
e979eece1c Updates 2017-08-08 18:45:56 +02:00
twinaphex
ab2d94bb64 Update libretro-common 2017-03-26 04:54:50 +02:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
Brad Parker
f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker
d20acaa63d more unicode fixes 2016-12-02 23:00:27 -05:00
Brad Parker
826afd137c disable unicode until GL context is fixed 2016-12-02 15:34:15 -05:00
Brad Parker
3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
Brad Parker
d891f1c90b remove explicit unicode def/undefs 2016-12-02 14:34:29 -05:00
Brad Parker
3846ce1837 build fixes for MSVC, start moving back to TCHAR usage so we can switch unicode on and off 2016-12-02 12:54:39 -05:00
twinaphex
4fb6808321 libretro-common is MIT and we don't want individual copyright
per authors here; RetroArch is GPL and it's fine there
2016-10-27 19:52:58 +02:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
Alcaro
62ecce7644 Fix weird types and other legacy leftovers 2016-09-18 18:09:16 +02:00
twinaphex
78e0e817dd Change wrong function prototype 2016-09-18 18:06:10 +02:00
twinaphex
91f7efc62d Add encoding_crc32 2016-09-18 17:22:12 +02:00
twinaphex
870182cd88 Turn into static function 2016-09-18 16:55:56 +02:00
Brad Parker
7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
Brad Parker
2e4fd540ac re-enable UTF-8 by default, inline utf8_walkbyte, fix missing ifdef in utf8_walk 2016-08-24 10:56:00 -04:00
Brad Parker
30e99927d2 undo previous new files and use existing encoding_utf header 2016-08-23 19:16:18 -04:00
twinaphex
f55ee11554 (libretro-common) Header updates 2016-03-20 17:13:31 +01:00
twinaphex
7da6797112 CXX_BUILD - More buildfixes 2016-02-25 22:13:12 +01:00
twinaphex
433155c95f Move UTF8 helper functions to encoding_utf.c (libretro-common) -
hopefully did not introduce any regressions
2016-02-25 00:57:46 +01:00
twinaphex
63d78fd1cc Buildfix for MSVC 2015-11-16 21:21:52 +01:00
twinaphex
6f50187b56 Create utf16_conv_utf8 - recycled code - should probably be
cleaned up
2015-11-16 07:55:09 +01:00
twinaphex
8918df95e1 Add encoding_utf to libretro-common 2015-11-16 07:24:21 +01:00