Commit Graph

3059 Commits

Author SHA1 Message Date
twinaphex fa50695b89 Cleanups 2020-06-26 19:25:53 +02:00
twinaphex 966348327d Cleanups 2020-06-26 19:07:38 +02:00
twinaphex 08a1a21d71 (libretro-common) Cleanups 2020-06-26 15:26:52 +02:00
twinaphex b39ef98d2a Small optimization 2020-06-26 14:45:48 +02:00
twinaphex 2f235f0abb Cleanups 2020-06-25 23:16:08 +02:00
jdgleaver b6364407fd Optimise parsing of configuration files 2020-06-25 15:15:08 +01:00
twinaphex de36ff20fb Create string_ends_with_size 2020-06-25 14:38:06 +02:00
twinaphex e727e85b1d Updates 2020-06-25 14:01:19 +02:00
twinaphex aa48eeb98e Turn path_default_slash uppercase, and do some optimizations 2020-06-25 13:36:01 +02:00
twinaphex 601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
twinaphex 35527c24c3 Revert "Optimize config_get_bool"
This reverts commit 1c38dc67c2.
2020-06-25 12:08:36 +02:00
jdgleaver 9c2b6dffc2 (config_file) Fix handling of comments at the end of config file lines 2020-06-25 10:29:40 +01:00
twinaphex 1c38dc67c2 Optimize config_get_bool 2020-06-25 03:03:42 +02:00
twinaphex 8fccac666e Use STRLEN_CONST where possible 2020-06-24 22:57:41 +02:00
twinaphex 198df77c29 Update 2020-06-24 20:18:06 +02:00
twinaphex 472bb775ee retro_vfs_file_open_impl - avoid two strlens at start 2020-06-24 20:17:09 +02:00
twinaphex 7cac61e5eb Use malloc instead of calloc when possible 2020-06-24 18:52:42 +02:00
twinaphex 74b3b505c9 This part of the code looked suspicious and was leaking memory
for one codepath
2020-06-24 18:39:21 +02:00
twinaphex 3a4af3149b (libretro-common) Use malloc instead of calloc when possible 2020-06-24 17:35:02 +02:00
twinaphex 53f3199652 Reordered this code somewhat 2020-06-24 15:40:42 +02:00
jdgleaver 9b22874c73 (config_file) Optimise parsing of 'comment' lines in configuration files 2020-06-24 14:31:46 +01:00
twinaphex b9f65af98a (Libretro-common) Sync 2020-06-24 15:05:03 +02:00
twinaphex 0cdea62072 (core_info.c) Try to avoid config_get_string 2020-06-24 11:57:58 +02:00
twinaphex a00ab53ef6 Put fprintfs and printfs behind ifndef NDEBUG 2020-06-17 11:22:31 +02:00
twinaphex 01bd76405f Buildfixes 2020-06-13 08:37:26 +02:00
jdgleaver 321ede2256 (X11/udev) Input fixes 2020-06-12 14:12:22 +01:00
twinaphex ac8985a38f Buildfix for OSX PPC 2020-06-08 13:45:32 +02:00
Jamiras 7d488aa200 use rcheevos for identifying games 2020-06-07 17:13:50 -06:00
twinaphex bb73fc6a89 Silence warnings 2020-06-05 22:39:44 +02:00
Autechre b88377d277
Merge pull request #10787 from guoyunhe/new-languages
Add Persian, Hebrew and Asturian language options
2020-06-04 16:31:12 +02:00
Guo Yunhe 0701b99039 Add Persian, Hebrew and Asturian language options 2020-06-04 14:54:28 +03:00
jdgleaver 0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
jdgleaver a1210d63cc Extended core message interface - add API support for 'progress' messages 2020-05-26 11:42:46 +01:00
jdgleaver 23916f88c7 Extended core message interface - add concept of message 'type' 2020-05-26 10:03:25 +01:00
jdgleaver fc8b76708a Add API extension to provide cores with finer grained control over environment callback messages 2020-05-26 10:03:25 +01:00
twinaphex a1752db25a Put this behind DEBUG ifdef 2020-05-24 20:49:58 +02:00
twinaphex 8bf11e9b18 (libretro-common) Try to prevent implicit usage of stdio fprintf 2020-05-24 20:18:36 +02:00
twinaphex d9bbe604e9 silence unused variable warnings 2020-05-24 19:13:22 +02:00
twinaphex 67f0df94f9 (CDROM) Reduce log spam 2020-05-24 19:11:55 +02:00
twinaphex 376b62e8fa Cut down on more unnecessary strlens 2020-05-24 17:25:52 +02:00
Weedy Weed Smoker 80c1b54b52
Merge branch 'master' into International-translations-update 2020-05-23 03:14:09 +07:00
jdgleaver d24498bdf1 Image file type detection fixes/optimisations 2020-05-22 16:57:37 +01:00
twinaphex 0edd97d5db file_path.c) Cleanup 2020-05-21 20:04:36 +02:00
jdgleaver f522cfcce8 Optimise 'path_is_absolute()' 2020-05-21 13:28:42 +01:00
Francisco Javier Trujillo Mata 1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
jdgleaver c346e1f816 Various file path handling optimisations 2020-05-20 17:05:22 +01:00
twinaphex 0aff65e77b Sync libretro-common 2020-05-19 15:22:00 +02:00
Jamiras c805fd3213 return false when special track cannot be found 2020-05-18 09:10:06 -06:00
twinaphex 89c7d1a835 Update libretro-common 2020-05-14 09:27:58 +02:00
Vladimir Serbinenko cab004f08a cpu_features_get_time_usec: Use sceKernelGetSystemTimeWide on PSP and Vita 2020-05-13 11:20:40 +02:00
Vladimir Serbinenko 31d9fedf47 cpu_features_get_time_usec: Use monotonic_clock on djgpp 2020-05-12 22:55:15 +02:00
Vladimir Serbinenko 306fed32f6 Fix djgpp clock 2020-05-12 03:09:38 +02:00
Vladimir Serbinenko 67c3c93aec dos fixes 2020-05-12 03:09:38 +02:00
MrHuu e519ccd0be (3DS) Enable basic networking / cheevos 2020-05-08 20:50:15 +02:00
Weedy Weed Smoker 7d849ac8fb
International: Add all the languages from Crowdin… 2020-05-02 13:29:17 +07:00
Alcaro c9dcc18fa4
Fix copypasted typo 2020-05-01 17:46:18 +02:00
jdgleaver 548c5dc925 (glcore/slang) Set filter and wrap mode correctly when intialising shader textures 2020-04-30 17:04:02 +01:00
twinaphex 156d3629e6 libretro-common Update 2020-04-28 16:26:26 +02:00
twinaphex 4f9a3f6813 Update 2020-04-28 16:25:00 +02:00
Autechre 3744f2454c
Merge pull request #10519 from julianaito/master
Remove OpenBSD/macppc specific quirk
2020-04-27 20:29:40 +02:00
jdgleaver 9eb8472805 Only write config files to disk when parameters change 2020-04-27 17:06:35 +01:00
Charlène Wendling 0e4857c8f6 Remove OpenBSD/macppc specific quirk
OpenBSD/macppc moved to clang and __mftb() is not available anymore,
leading to undefined references errors. It's fixed with #10383 already.
2020-04-26 14:13:59 +02:00
Autechre 89c405b196
Merge pull request #10487 from jdgleaver/playlist-compression
Add optional playlist compression
2020-04-23 13:30:58 +02:00
twinaphex bdf9969c7e Update libretro-common 2020-04-23 07:20:06 +02:00
jdgleaver fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
twinaphex 8a15f0094a Bugfix 2020-04-21 00:49:02 +02:00
twinaphex 3a2a365ec9 (libretro-common) Fix retro_endianness.h 2020-04-21 00:46:48 +02:00
twinaphex 64bbe5b646 (MSVC 2010) Buildfix 2020-04-21 00:20:31 +02:00
twinaphex 3fa60d08de Update libretro-common 2020-04-19 20:44:22 +02:00
jdgleaver c1f4a7536a Expand functionality of 'rzip_stream' interface 2020-04-17 16:18:16 +01:00
jdgleaver 233456df47 Add optional save state compression 2020-04-15 15:48:41 +01:00
Vladimir Serbinenko c957e07399 Fix psl1ght compilation
pkg.py is not necessatily in path
mftb works better than posix on psl1ght
2020-04-09 15:53:38 +02:00
jdgleaver c1d41e190c (task_queue) Add warning about the usage of 'task_queue_remove()' 2020-04-06 14:16:24 +01:00
jdgleaver 13df7795fc Fix task deadlocks 2020-04-06 13:51:22 +01:00
Jamiras 23ba478f82 fix race condition where task could momentarily not be in the queue when reordering 2020-04-04 09:37:55 -06:00
Greg V f9ae48c3f6 features_cpu: synchronize ifdefs for CLOCK_MONOTONIC
The ifdef in cpu_features_get_time_usec was more portable
than the one in cpu_features_get_perf_counter.

Make them the same to avoid 'undefined reference to __mftb'
on FreeBSD/powerpc64.
2020-04-02 15:09:49 +03:00
Jamiras 7fe952ddeb don't ignore errors from decompress_v5_map 2020-03-31 11:08:35 -06:00
Vladimir Serbinenko 2fb7ba22e5 PSL1GHT port
Working:

* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video

Not working:

* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse

Not tested:

* A lot
2020-03-30 05:39:22 +02:00
jdgleaver c61f6aafc1 (m3u_file.c) Replace tab indents with spaces 2020-03-20 14:53:53 +00:00
jdgleaver e24274a314 (Manual content scanner/playlist cleaner) Prevent redundant playlist entries when handling M3U content 2020-03-20 14:26:08 +00:00
twinaphex 5f8020b32e (libretro-common samples udp test) Rewrite while (1) to for (;;) 2020-03-05 15:52:02 +01:00
twinaphex 4933b89736 Buildfix 2020-03-05 14:18:41 +01:00
jdgleaver 35977efe43 Prevent improper display of (old style) OSD text when widgets are enabled 2020-03-05 12:28:38 +00:00
twinaphex 899c21257c (Video layout) move init_string and set_string to stdstring -
rename them - cleanup strcmp usage in video layout and other
code cleanups
2020-03-05 11:19:44 +01:00
Alcaro 472fe9a991
Avoid overflow when calculating multiplying performance counter 2020-02-28 18:07:00 +01:00
twinaphex a2a5ca0d01 Move this struct over to rhash.c 2020-02-23 05:22:11 +01:00
twinaphex 8fe2fe7b62 (UNIX) Remove hashing dependency 2020-02-23 04:52:27 +01:00
Jamiras c8c05306a3 add comments 2020-02-22 13:01:07 -07:00
Jamiras e00449c410 delay subsequent unlock attempts on failure 2020-02-22 07:11:01 -07:00
twinaphex dce610747b Update audio resampler 2020-02-07 07:53:23 +01:00
twinaphex 5ff4ee96e4 (Resampler) More buildfixes 2020-02-03 03:33:50 +01:00
twinaphex e1603c0f44 (Resampler) Cleanups 2020-02-03 01:59:24 +01:00
twinaphex 076fddd9d9 (Resampler) Turn this void 2020-02-03 00:16:16 +01:00
twinaphex e7e7a284f5 Cleanups 2020-02-02 02:16:19 +01:00
twinaphex 3b492142db Add CDROM_DEBUG ifdefs around this 2020-02-01 19:39:44 +01:00
twinaphex 64c515bac4 Turn while (true) into for (;;) for easier MSVC backwards compatibility 2020-02-01 04:15:22 +01:00
twinaphex cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
twinaphex 84251b02bd verbosity.c - add necessary header 2020-01-31 15:06:50 +01:00
Twinaphex b490c774bf
Update compat_ifaddrs.c 2020-01-31 07:48:32 +01:00
twinaphex d631da7d11 Start taking settings dependencies out of rarch_log_file_init
function
2020-01-30 19:04:05 +01:00
twinaphex 7c0e80a415 (RPNG) Fix test compilation, currently fails though 2020-01-30 17:52:32 +01:00
twinaphex 0ff69ec3df Move test over to samples 2020-01-30 17:47:15 +01:00
twinaphex cad21249e0 Move crc32.c to samples 2020-01-30 17:44:29 +01:00
twinaphex acfe7ab16d Updates to samples/utils 2020-01-30 17:41:38 +01:00
twinaphex 652923d056 Move files around 2020-01-30 17:31:49 +01:00
twinaphex 4d18f3e9b7 Create more tests 2020-01-30 17:25:58 +01:00
twinaphex df06a0effe Fix names 2020-01-30 17:14:45 +01:00
twinaphex e13ffc7507 Add missing samples 2020-01-30 17:13:44 +01:00
twinaphex 12ec690044 Add samples test file for config_file 2020-01-30 17:02:52 +01:00
twinaphex 74cd84399f Cleanups - Replace '== NULL' 2020-01-30 16:47:33 +01:00
twinaphex a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
twinaphex f785e4b045 Replace while (1) with for (;;) - avoids MSVC warnings 2020-01-30 16:15:52 +01:00
twinaphex eb4e365820 (libretro-common) Cleanups 2020-01-27 17:00:18 +01:00
Jamiras d0d1c5bb37 allow characters other than / to follow port 2020-01-23 07:00:50 -07:00
twinaphex 64d3408188 (ffmpeg) Fixups 2020-01-18 05:40:11 +01:00
Jamiras 59302e816c fix parsing of port in net_http_connection_done 2020-01-17 20:22:49 -07:00
jdgleaver a2e1d622e1 Add disk control interface API extension 2020-01-17 16:34:05 +00:00
orbea 8d6b70c22c Don't use uname -a. 2020-01-15 06:27:42 -08:00
twinaphex 3492ba5fd6 (libretro-common) Prevent warning 2020-01-11 04:48:33 +01:00
twinaphex df8f93e9d5 Split up VFS file_path code into separate file 2020-01-09 15:44:48 +01:00
twinaphex 291012d2a9 (libretro-common) Updates 2020-01-08 19:47:23 +01:00
twinaphex 3b2ec53100 (libretro-common) Update 2020-01-08 04:26:49 +01:00
twinaphex 3a8f12dff3 Update libretro-common 2020-01-08 01:44:58 +01:00
twinaphex 02d1eeb400 (VFS UWP) Get rid of verbosity.h dependency 2020-01-08 00:28:30 +01:00
twinaphex 261f1b72d4 Remove separate null_resampler.c file and move it into audio_resampler.c 2020-01-07 23:03:23 +01:00
Francisco Javier Trujillo Mata 3901c2d63a Add in libretro-common the psp1 implementation 2020-01-07 20:06:47 +01:00
twinaphex 3d950b2324 Optimize audio_mix_volume_SSE 2020-01-04 14:40:37 +01:00
twinaphex d88e37a2f1 (Audio resampler/Sinc) Don't do kaiser window check inside hot loop 2020-01-03 22:12:11 +01:00
twinaphex b3e8d6e9ca Remove this check - hope it solves the PNG inversion color issues with
VideoCore GPUs
2019-12-26 04:05:51 +01:00
jdgleaver 695749f155 (Core Updater) Only download when new core is available + add option to update all installed cores 2019-12-23 17:34:44 +00:00
Jamiras 3b4e55d0e5 proper calculation of offset to track 2 when sector sizes vary 2019-12-19 13:17:32 -07:00
negativeExponent d96409ff37
Fix heap-use-after-free found when using asan
Fix https://github.com/libretro/RetroArch/issues/9871
2019-12-19 04:44:34 +08:00
twinaphex 168395af74 (libretro-common) Update 2019-12-18 18:25:54 +01:00
twinaphex 60b182b821 Promote tpool as libretro-common component 2019-12-18 18:21:03 +01:00
Nils Hasenbanck d046594591 Fix ffmpeg core memory leak when using pthreads. 2019-12-18 15:05:01 +01:00
driver1998 aa19d5180b [UWP] Move RunAsync out of VFS implementation 2019-12-05 16:32:38 +08:00
jdgleaver a27ee73622 Manual content scan arcade DAT files: Add support for MAME 'Software List' XML format 2019-12-04 16:19:32 +00:00
jdgleaver 9b012e907a (Manual Content Scanner) Enable automatic naming of arcade content via DAT files 2019-12-04 12:46:04 +00:00
jdgleaver 170397456c Add manual content scanner 2019-11-29 17:14:46 +00:00
Jamiras c69a11a219 better detection of pregap data in file 2019-11-22 19:36:38 -07:00
twinaphex f0784351c4 Update header include - should look in system dir 2019-11-19 06:19:09 +01:00
Twinaphex 53b7fb2ba2 Remove unused variables 2019-11-19 06:08:54 +01:00
Huw Pascoe 4eebfa237b Fixed xml parsing 2019-11-16 20:56:12 +00:00
Charlène 3038e9e1ce OpenBSD/powerpc: fix "undefined reference to __mftb" 2019-11-12 22:24:35 +01:00
Jamiras 67e9fba9d7 generate User-Agent for retroachievement API calls 2019-11-02 21:52:30 -06:00
twinaphex d4b7be4ae4 Update libretro-common 2019-10-31 01:25:27 +01:00
twinaphex eb77d84716 Update libretro-common 2019-10-31 01:02:01 +01:00
twinaphex d215d3ff44 Add HAVE_LIBNX conditional 2019-10-30 13:28:04 +01:00
Twinaphex 0719f9861c
Merge pull request #9657 from p-sam/switch-input-sensor
(Switch) input driver sensor
2019-10-29 20:53:44 +01:00
p-sam 0e79aa80d9 wip: merge libretro-common 2019-10-28 16:36:46 +00:00