twinaphex
f73e4e9af8
(Autoconfig) Try to avoid implicit fgets calls which are slow (inside
...
config_file_new and filestream_getline) - instead, read the entire
file into a memory buffer once and then pass it to
config_file_new_from_string - went from 14000 ticks to 9000 ticks
on an NVME M2 SSD, so big gains
2019-07-16 18:35:44 +02:00
twinaphex
0257e01bee
Refactor input_autoconfigure_connect - don't return
...
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
twinaphex
195b016293
(Autoconfig task) Store 'best config' so that we don't have to
...
call config_file_new again once we have queried all the autoconfig
profiles
2019-07-16 09:55:35 +02:00
twinaphex
d80b85b158
Cleanups
2019-07-14 18:52:51 +02:00
twinaphex
9cc055bf93
Not necessary for content_ctx to be passed either
2019-07-14 18:26:18 +02:00
twinaphex
58417e56b7
Update task_push_to_history_list
2019-07-14 18:23:46 +02:00
twinaphex
484b2bc944
Split up task_load_content into two - one does the actual file
...
loading, the other simply pushes an entry to the history playlist
2019-07-14 18:21:46 +02:00
twinaphex
8a70f3f4cb
Cleanup
2019-07-14 15:35:49 +02:00
twinaphex
288523765a
Fix LTGM errors - 'wrong type of arguments to formatting function'
2019-07-14 13:22:59 +02:00
twinaphex
31f142ef9c
(task_powerstate.c) Fix 'local variable state hides a global variable
...
with the same name'
2019-07-14 13:11:11 +02:00
twinaphex
b2bf822f13
Add HAVE_AUDIOMIXER switch
2019-07-11 11:51:06 +02:00
Brad Parker
cf12a10ba0
cdrom: add CDROM tag to log prints
2019-07-10 20:56:23 -04:00
twinaphex
84bf51acee
Take out HAVE_CDROM include ut of vfs/vfs_implementation.h
2019-07-10 22:53:38 +02:00
Brad Parker
119245e88b
cdrom: add load disc callback
2019-07-09 11:17:17 -04:00
Brad Parker
15d97dbaf3
cdrom: add disc dump option
2019-07-08 16:06:35 -04:00
jdgleaver
9093c9feb8
(task_image) Fix TSAN reported data race condition
2019-07-08 17:16:14 +01:00
LazyBumHorse
f5497a4249
fix some bugs found through Clang Static Analyzer:
...
- task_content.c, load_content_from_compressed_archive: fix use after free
- platform_win32/uwp: fix frontend_..._get_powerstate never returning FRONTEND_POWERSTATE_NONE
- platform_win32/uwp: fix whitespace
- cheevos.c: fix potential use after free in a loop, just to be save
2019-07-04 21:15:19 +02:00
jdgleaver
1e17cca64d
Playlist Management: Add 'Reset Core Associations' option
2019-07-02 12:00:38 +01:00
twinaphex
f4bf218f35
(Menu) We need to tell rarch_menu_running_finished whether we want
...
to exit RetroArch or not - to avoid certain crashes when trying to
access the settings pointer - which should already be freed at this
point
2019-06-30 11:23:18 +02:00
twinaphex
3b634b64fa
Merge dirs.c into paths.c
2019-06-26 07:23:32 +02:00
Twinaphex
8a8b690f85
Possible misuse of comma operator here
2019-06-22 14:25:32 +02:00
Twinaphex
9180cc5ba2
Cleanup some warnings
2019-06-22 13:44:10 +02:00
radius
d865c5e4a6
add some copyright on files I contributed considerably just in case
2019-06-20 05:45:17 +02:00
Twinaphex
2d6e56d049
Remove some unused variables
2019-06-17 15:30:31 +02:00
twinaphex
ee3208ac39
Integrate video_driver.c into retroarch.c
2019-06-17 15:10:22 +02:00
twinaphex
127bf556c7
Merge audio_driver.c into retroarch.c
2019-06-17 12:49:21 +02:00
twinaphex
118d8bde98
(task_netplay_find_content) Cleanups
2019-06-14 04:46:25 +02:00
twinaphex
fdd09a8b06
Refactor task screenshot
2019-06-06 15:48:50 +02:00
twinaphex
280cec702b
video_driver_supports_viewport_read should only check if
...
taking screenshots with the GPU backbuffer is supported,
move outside settings check to callee
2019-06-06 15:06:27 +02:00
twinaphex
6d17d11132
Rewrite '== false' to '!' for our own code
2019-06-06 13:50:39 +02:00
jdgleaver
c4bb2f5ad7
(XMB/Ozone) Add optional thumbnail upscaling
2019-06-05 17:05:30 +01:00
twinaphex
717c5c1e2f
Delayed CRC calculation for need_fullpath ROM loading (unpatched) -
...
we can get rid of the GEKKO ifdef for Gamecube/Wii since CRC
calculation for these kind of games will now be delayed until
content_get_rom_crc is called the first time, which typically only
happens during netplay
2019-06-03 18:51:04 +02:00
twinaphex
16f830e080
(task content) Cleanups
2019-05-31 09:20:37 +02:00
twinaphex
820ffb9d20
Cleanups - cut down on the rest of unnecessary filestream_exists calls
...
- only use filestream_exists immediately before filestream_delete or
any other genuine filestream-related operations - when just checking
if a path exists on the filesystem, just use path_is_valid - faster
2019-05-31 06:43:20 +02:00
jdgleaver
d6b2e83408
filestream_exists() -> path_is_valid() replacements
2019-05-30 12:19:52 +01:00
meleu
694bac565f
do not use old cheevos implementation
2019-05-29 14:26:22 -03:00
twinaphex
6c5d08d893
content_file_init_extract - cleanup
2019-05-29 16:35:51 +02:00
jdgleaver
a51293fbc6
(task_image) Fix jpeg/bmp/tga loading bug
2019-05-28 17:22:23 +01:00
radius
1704ef8410
autoconf cleanups, fix swap ok/cancel in ozone
2019-05-28 16:29:54 +02:00
jdgleaver
ff297e72e7
(task_image) Make image loading/processing non-blocking on non-threaded systems
2019-05-28 12:57:52 +01:00
jdgleaver
ef459df761
(On-demand thumbnails) Prevent unnecessary 'menu refresh' events when rapidly scrolling/switching playlists
2019-05-27 15:49:34 +01:00
jdgleaver
431877799d
(RPNG) Fix undefined behaviour when loading bad/corrupt PNG images
2019-05-27 13:07:11 +01:00
radius
25c99fd83e
remove log spam
2019-05-27 01:41:09 +02:00
radius
86960cf9dd
preset refinement
2019-05-26 22:39:46 +02:00
jdgleaver
20aff2a05a
Add optional 'on demand' thumbnail downloads
2019-05-24 12:03:26 +01:00
twinaphex
320d22f5b8
CXX_BUILD buildfix
2019-05-24 03:19:14 +02:00
twinaphex
9bc0478e9d
(tasks) Cleanups
2019-05-23 13:05:15 +02:00
twinaphex
2db271d954
Remove TODO
2019-05-23 12:43:56 +02:00
twinaphex
96cfe3396c
(task_content.c) Cleanups
2019-05-23 11:48:32 +02:00
twinaphex
8d54a56371
(task_content.c) Cleanups
2019-05-22 10:37:55 +02:00
twinaphex
bae877a465
(task_content.c) Cleanups
2019-05-22 10:27:46 +02:00
twinaphex
ab8f0e73b7
Cleanups
2019-05-22 10:23:34 +02:00
twinaphex
5bcf8bebd0
(task_pl_thumbnail_download) Cleanups
2019-05-22 10:10:04 +02:00
twinaphex
d9d1c13612
(task_http.c) Cleanups
2019-05-22 09:55:10 +02:00
twinaphex
e255204158
(task_screenshot.c) Cleanups
2019-05-22 07:40:43 +02:00
Brad Parker
e35eff126a
show taskbar progress for scanner
2019-05-22 01:31:55 -04:00
twinaphex
6aed230930
Reimplement 'Take Screenshot' - if GPU-accelerated viewport screenshots
...
are not available, resort to raw screenshots instead
2019-05-22 07:08:11 +02:00
Brad Parker
21725e484c
scanner: skip all databases with incompatible file extensions, whether file is inside an archive or not
2019-05-22 00:21:31 -04:00
twinaphex
a0fcb1b694
(task_image.c) Cleanups
2019-05-22 06:17:08 +02:00
twinaphex
020b714113
Refactor task_screenshot.c
2019-05-22 05:54:35 +02:00
twinaphex
ceee15c031
(task_screenshot.c) Cleanup screenshot_dump
2019-05-22 05:23:19 +02:00
twinaphex
bf6e580435
(tasks) Get rid of dependencies
2019-05-22 05:13:01 +02:00
twinaphex
3aef826dee
(task_file_transfer.c) Cleanups
2019-05-22 04:56:09 +02:00
twinaphex
0dbcb7b9ca
task_image.c - less dependencies
2019-05-22 04:54:54 +02:00
twinaphex
138a070ceb
(task_content.c) Cleanups - extraction error message was not being
...
printed
2019-05-22 04:24:44 +02:00
twinaphex
1a1418ccfb
(Samples) tasks/database - should work again
2019-05-21 22:38:50 +02:00
twinaphex
57c5b629a6
Simplify this
2019-05-21 04:55:29 +02:00
jdgleaver
98889e1652
Ensure that displayed thumbnails are always refreshed correctly after selecting 'Download Thumbnails' from quick menu
2019-05-20 16:09:59 +01:00
Twinaphex
d0707437c9
Remove some unused variables
2019-05-18 21:26:29 +02:00
jdgleaver
05c8694e1c
Add 'Download Thumbnails' option to quick menu
2019-05-16 14:34:01 +01:00
jdgleaver
eb10008bf7
Add missing HAVE_MENU ifdefs (DISABLE_MENU=1 buildfix)
2019-05-15 10:02:55 +01:00
jdgleaver
d04e3b6291
Attempt to fix build error: invalid conversion from ‘void*’ to ‘retro_task_t*’
2019-05-14 17:34:17 +01:00
jdgleaver
154957505c
Add playlist-based thumbnail downloader
2019-05-14 16:26:16 +01:00
twinaphex
ba8f7e3e63
Cleanup task_decompress
2019-05-12 20:17:58 +02:00
twinaphex
0302a8812a
content_file_load - play it safe now - only use strdup directly
...
for strings that don't require formatting
2019-05-12 19:28:51 +02:00
twinaphex
b1a3efdfac
(task_content.c) Fixup function signature
2019-05-12 19:18:37 +02:00
twinaphex
1b7b9e66b0
Revert "task_content.c - some cleanups - save up on some memory allocations"
...
This reverts commit df9192e30e
.
2019-05-12 19:17:44 +02:00
twinaphex
bafc938198
content_load - get rid of error goto label
2019-05-12 19:14:39 +02:00
twinaphex
df9192e30e
task_content.c - some cleanups - save up on some memory allocations
...
for strings
2019-05-12 19:06:07 +02:00
twinaphex
c66963e8cf
Turn this into static function
2019-05-12 09:51:45 +02:00
twinaphex
52d1b3fd88
task_save.c - simplify dump_to_file_desperate
2019-05-12 09:36:52 +02:00
Nathan S
775c272029
Menu widgets stuff + vulkan sanity check ( #8710 )
...
* task_screenshot: fix hang with menu widgets
* word_wrap: add max_lines parameter
* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
twinaphex
ccbb3f0960
(HTTP Task) Fix progress indicator on 32bit systems
2019-05-06 03:45:58 +02:00
twinaphex
705851b147
Add 'Scan without Core Match'
2019-05-05 21:54:49 +02:00
Twinaphex
786a5bd9a8
Merge pull request #8693 from meleu/patch-5
...
add "Use Old Implementation" in the Achievements menu
2019-05-05 01:19:01 +02:00
meleu
22a956f663
replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable'
2019-05-04 12:52:49 -03:00
natinusala
636f2ddb28
menu_widgets: implement the user setting
2019-05-03 21:25:20 +02:00
natinusala
a253fac207
menu_widgets: fix screenshot notification data race
2019-05-01 15:46:57 +02:00
natinusala
90fb11cb9a
task_database: set task title upon completion
2019-05-01 15:26:21 +02:00
natinusala
486f438cc3
task_database: reimplement task progression
2019-05-01 15:13:41 +02:00
twinaphex
5bd0fdcc13
Cleanups
2019-04-30 13:51:32 +02:00
twinaphex
06cfdfdcbb
Make some log messages uniform
2019-04-30 13:43:01 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +02:00
twinaphex
34be5862ee
(task_database) Use task_init
2019-04-30 10:25:23 +02:00
twinaphex
2d99cdcbf3
Add function parameter to task_iterate_database_start
2019-04-30 10:18:25 +02:00
twinaphex
9e2c82c26e
(Scanner) Shorten scanner string
2019-04-30 10:12:00 +02:00
Twinaphex
a797324133
Revert "task_database: use regular progress report"
2019-04-30 10:01:07 +02:00
natinusala
8c7db837b4
task_database: use regular progress report
2019-04-29 20:04:41 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb
.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
627c86721f
(task_patch) Get rid of extraneous filestream_exists checks -
...
we already check if the file exists with path_is_valid
2019-04-27 13:35:28 +02:00
twinaphex
b43b3e2bb0
(UWP/WinRT)
...
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
twinaphex
49156e645e
task_push_decompress - use path_is_valid instead of filestream_exists
2019-04-27 05:16:02 +02:00
twinaphex
58073eeb15
Small cleanup
2019-04-27 04:43:07 +02:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
M4xw
ca80a3a4da
[Libnx] Toolchain related changes
...
-Remove switch_pthread - It should be no longer used
-Increase SAVE_STATE_CHUNK to 4MB
-Fix overclocking on Horizon 8.0+
Note: This requires the updated Toolchain before Merge
2019-04-26 21:58:40 +02:00
twinaphex
b3686aee4c
Initialize playlist_entry manually
2019-04-24 02:10:45 +02:00
twinaphex
955a149ce9
Use config_file_read where we can assume we are reading a file
2019-04-22 01:56:24 +02:00
twinaphex
16e2db25c4
Prefer config_file_read instead of config_file_new when we are
...
sure the path cannot be a directory path
2019-04-22 01:23:50 +02:00
twinaphex
270e95bc97
Turn a lot of input_config_parse functions static
2019-04-21 06:42:13 +02:00
twinaphex
7372bafb44
Remove RARCH_CTL_SET_LIBRETRO_PATH
2019-04-21 06:03:02 +02:00
twinaphex
81d22c63de
(task_content) Some simplifications
2019-04-21 05:33:41 +02:00
meleu
c2364096f3
Merge branch 'master' into runtime_rcheevos_switch
2019-04-19 21:50:00 -03:00
twinaphex
70373dba9a
(task_screenshot.c) Cleanups
2019-04-13 04:56:11 +02:00
twinaphex
3619fae2d9
(LGTM) Silence some warnings
2019-04-13 02:15:26 +02:00
Twinaphex
8918d0d873
Merge pull request #8580 from bparker06/playlist_subsystem
...
Add subsystem support for (history) playlists, make playlist_entry struct public to simplify function parameters
2019-04-12 23:45:02 +02:00
bparker06
15c0191f08
Update task_content.c
2019-04-12 13:04:59 -04:00
Brad Parker
f7b0c0947c
add subsystem_name (friendly name) to history playlist, make playlist_entry struct public to simplify function parameters
2019-04-12 12:50:27 -04:00
radius
d08779adf0
[subsystem] add a function to get the friendly name
2019-04-11 18:51:27 -05:00
natinusala
942d228e3a
menu widgets: fix screenshot flash tainting the image
2019-04-11 16:46:41 +02:00
Brad Parker
230c64ba4b
add subsystem support for playlists, only missing the content load portion
2019-04-11 00:09:13 -04:00
natinusala
3d52f2bf8f
menu widgets: reimplement screenshot widget
2019-04-08 17:06:04 +02:00
jdgleaver
2c65068be0
More 'Log to File' Additions:
...
- Add optional timestamped log files
- Handle errors if log file cannot be opened
- Android: flush log file immediately
- 3DS: log to file tested and fully working
- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
meleu
a5acd559d6
namespace both cheevos implementations & add a runtime setting to allow debugging
2019-03-19 21:13:10 -03:00
jdgleaver
dc8ef72323
Populate crc32 and db_name fields when adding history/favourites playlist entries
...
playlist.c: Fix silly range check error
2019-03-09 13:58:53 +00:00
Brad Parker
9279d06f93
Merge branch 'master' into send_debug
2019-03-07 19:23:41 -05:00
Brad Parker
10df615d14
add "Send Debug Info" option under Help
2019-03-07 19:17:54 -05:00
jdgleaver
8a2cd64889
Always use core display name when populating playlists
2019-03-07 16:54:46 +00:00
Brad Parker
e0b75ec3fb
fix a whole bunch of memory leaks
2019-03-01 12:05:14 -05:00
Brad Parker
4f0d61a2ac
update copyright
2019-02-22 19:13:36 -05:00
rlnilsen
e71b6d6d23
Fix content scanner creating false positive playlist entries that also have wrong label and crc32.
2019-02-21 04:24:07 +01:00
twinaphex
386657a366
(menu widgets backport) Re-commit task queue changes
2019-02-08 08:00:32 +01:00
twinaphex
894f3b7aef
Change function signature back
2019-02-08 07:29:50 +01:00
twinaphex
7022786f34
Revert parts of menu_widgets that were causing breakage, but leave
...
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
Twinaphex
f62e44c3e8
Merge pull request #7971 from Wiimpathy/WiiSkipCrc
...
Wii: Skip CRC. Avoid an unnecessary delay.
2019-02-07 18:42:13 +01:00
twinaphex
affd507151
Warning fix
2019-02-07 08:05:43 +01:00
radius
671e90a415
[discord] party & ask to join refinements
2019-02-06 22:45:05 -05:00
Twinaphex
477170884b
Some warning fixes
2019-02-06 23:25:41 +01:00
Wiimpathy
79b5a05aeb
Merge branch 'master' into WiiSkipCrc
2019-02-06 21:51:27 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
4c56167446
Convert to linux line endings.
2019-02-03 15:43:42 -08:00
twinaphex
987a91a1ae
Silence some warnings
2019-01-31 21:24:13 +01:00
twinaphex
9421584772
Header include updates
2019-01-31 19:41:51 +01:00
Brad Parker
90db5e7e27
Implement in-menu sound effects
2019-01-27 11:22:16 -05:00
Twinaphex
556b7b19de
Merge pull request #8025 from krzys-h/uwp-storagefile
...
(UWP) StorageFile implementation
2019-01-27 08:33:17 +01:00
radius
b0b39a1610
this should fix errors with --disable-menu
2019-01-20 17:20:17 -05:00
twinaphex
b13777e9fc
Header cleanups
2019-01-20 03:16:58 +01:00
twinaphex
cfd7228469
Cleanups
2019-01-20 02:57:12 +01:00
twinaphex
0083e10926
Some header include changes - create task_file_transfer.h
2019-01-20 02:17:43 +01:00