Bernhard Schelling
3de2c290fe
Mark function possibly unused to suppress warning
...
Add attribute to avoid the warnings "rbuf__grow' defined but not used [-Wunused-function]" (GCC/Clang) and "unreferenced local function has been removed" (MSVC).
2020-12-10 09:35:08 +09:00
gouchi
a7bdabd133
intl: Add Finnish language
2020-12-05 22:10:29 +01:00
Jake Stine
ad12cc089c
Improved code quality of retro_assert macro
...
Macros without do{}while() wrapping behave more like regular C expressions. The macro can now be nested/embedded inside of other similar compound statements and conditionals without introducing syntax errors. This change has no risk of negatively impacting existing code.
2020-11-25 10:16:19 -08:00
Bernhard Schelling
c594e8801d
Fix ctype style char macros with signed inputs
...
UTF8 byte codes are commonly stored in signed char types thus these macros could be called with negative numbers. Avoid invalid memory access by clamping the input values to 0 ~ 255 with an unsigned char cast.
2020-11-19 23:42:05 +09:00
David Guillen Fandos
bf48757a2e
Add support for 64 buttons in udev gamepads
...
It seems only 16 were only really supported anyway due to the
usage of BITS_COPY16_PTR (which only copies 16 bit states)?
2020-11-18 19:29:46 +01:00
jdgleaver
cef6707304
Clarify usage of 'RETRO_ENVIRONMENT_GET_RUMBLE_INTERFACE' callback
2020-11-12 16:47:35 +00:00
HyperspaceMadness
5008ac6eb0
Merge branch 'master' into Shader_Save_Load
2020-11-10 17:05:23 -05:00
twinaphex
3fdf93a273
Update libretro-common
2020-11-01 17:22:32 +01:00
HyperspaceMadness
70bf90c5d8
Shader_Preset_Simple_Save_Cleaned_2020_11_01
2020-11-01 09:18:40 -05:00
twinaphex
a2a58147e7
Update libretro-common
2020-10-31 06:22:10 +01:00
Bernhard Schelling
f6f8d3e235
Replace rapidjson parser/writer in discord-rpc with rjson
2020-10-29 16:55:23 +09:00
Bernhard Schelling
c20b01e9e1
Replace custom JSON parser/writer in translation service with rjson
2020-10-25 21:43:30 +09:00
jdgleaver
af6c2d6969
Add API extension for overriding frontend audio latency
2020-10-20 15:37:34 +01:00
jdgleaver
4961252a7a
Add API extension for cores to monitor frontend audio buffer occupancy
2020-10-17 15:06:03 +01:00
schellingb
ba1ed2da4b
New faster json parser/writer library rjson
...
Replace existing libraries jsonsax_full and jsonsax with it
2020-10-12 03:02:20 +09:00
twinaphex
c744baeb89
Add ctype variants to stdstring and use it in RA
2020-09-27 22:15:32 +02:00
jdgleaver
3d4ddebcaf
Add several LCD-effect video filters
2020-09-24 16:11:07 +01:00
twinaphex
1296fc4745
use strlcpy_literal for string literal copies
2020-09-19 23:28:01 +02:00
Alcaro
18f46e65ea
Add BearSSL support
2020-09-19 00:31:36 +02:00
twinaphex
c2cd39379a
(gfx_widgets.c) Put FIFO queue on stack
2020-09-18 02:18:21 +02:00
jdgleaver
5a0dc5524d
Fix string_list memory leaks
2020-09-08 14:58:49 +01:00
M4xw
bad97e29d2
Fix Regression caused by 023fd4f3
2020-09-04 20:56:26 +02:00
twinaphex
318ac1f667
(filebrowser_parse) Use non-heap allocated string_list functions
2020-09-04 06:29:30 +02:00
twinaphex
047efd2cd4
Revert "Resync"
...
This reverts commit f28056364a
.
2020-09-01 17:43:22 +02:00
twinaphex
f28056364a
Resync
2020-09-01 17:06:52 +02:00
twinaphex
044209bc5a
Create string_separate_noalloc
2020-08-26 23:46:16 +02:00
jdgleaver
7a07cc1305
Fix 'Set Core Association' regression
2020-08-26 15:18:39 +01:00
twinaphex
6df62bbccc
Create string_split_noalloc
2020-08-26 03:20:42 +02:00
twinaphex
ad61d8ff92
Simplify config_get_entry
2020-08-26 02:17:37 +02:00
twinaphex
2c0fb6ff6c
config_file_parse_line - put sub_conf on stack
2020-08-25 17:54:22 +02:00
twinaphex
6a88b3f20e
Cleanup strlen_size
2020-08-25 17:24:03 +02:00
jdgleaver
179e77c8b0
(string_list_join_concat) Prevent undefined behaviour if input string buffer is unterminated
2020-08-25 15:54:18 +01:00
twinaphex
4f29bef56e
(config_file) Cleanups
2020-08-24 21:11:41 +02:00
twinaphex
8a479e6006
Create dir_list_initialize/dir_list_deinitialize
2020-08-24 18:56:25 +02:00
twinaphex
64f8a5990c
Create fifo_initialize/fifo_deinitialize
2020-08-24 12:17:33 +02:00
twinaphex
71708f8ddd
(libretro-common) Add msg_queue_initialize/msg_queue_deinitialize
2020-08-24 12:04:56 +02:00
twinaphex
7a6b9fd1b2
(Ozone) Horizontal list - put on stack - it's already on heap-allocated
...
struct as is
2020-08-24 10:22:32 +02:00
twinaphex
93fa9a0194
Add file_list_deinitialize - does everything that file_list_free
...
does except for freeing the passed struct pointer
2020-08-24 01:45:45 +02:00
twinaphex
cd6e1cf3fa
(libretro-common) string_list - add string_list_initialize
...
and string_list_deinitialize - takes a pointer to initialize
and deinitialize a string list, but importantly does not
implicitly allocate and deallocate the string list pointer
itself. This way, string lists can be put on the stack instead
of always implicitly being put on heap - the struct itself is
small enough to fit on stack
2020-08-24 00:43:55 +02:00
Alcaro
e4022ab416
libretro.h: Fix contradictory comment
...
retro_get_system_info() says it can be called even before retro_init(), which means retro_deinit() doesn't need to be called at all. Mentioning deinit() in the struct definition is misleading and incorrect.
2020-08-23 18:29:12 +02:00
twinaphex
99873ccd8a
Reorder structs, alignment
2020-08-21 09:57:11 +02:00
twinaphex
5166eebcaf
for loop cleanups - use space after 'for'
2020-08-19 03:06:22 +02:00
twinaphex
c81d06d0a1
Reorder structs, alignment
2020-08-17 15:09:19 +02:00
Alcaro
df2db8bceb
stdstring: Delete duplicate function
2020-08-16 02:33:25 +02:00
twinaphex
b69ceaea1b
Reorder structs, alignment
2020-08-16 01:07:42 +02:00
twinaphex
f48dc0ff5b
Reorder structs, alignment
2020-08-15 20:38:31 +02:00
twinaphex
3ec21b292c
Reorder structs, alignment
2020-08-15 01:18:23 +02:00
twinaphex
a8646a2610
Reorder structs, alignment
2020-08-15 00:44:35 +02:00
twinaphex
7642cf5fa5
Struct reorders/alignment
2020-08-14 22:54:46 +02:00
twinaphex
4c0d9bc68d
Struct reordering/alignment
2020-08-14 21:19:32 +02:00
twinaphex
023fd4f330
Alignment changes
2020-08-14 18:19:57 +02:00
twinaphex
b3963a2897
Struct alignment changes
2020-08-14 18:03:09 +02:00
twinaphex
18cb55e207
Remove dynarray.h - rbuf.h replaces it
2020-08-14 16:09:13 +02:00
twinaphex
f3b440bab9
Some struct reordering
2020-08-14 07:07:34 +02:00
jdgleaver
b19eb64329
(m3u_file) Replace static entries array with dynamic array via RBUF library
2020-08-13 17:25:45 +01:00
Bernhard Schelling
48fabb7f88
Simplify gfx_animation by switching from dynarray to RBUF
2020-08-13 05:23:32 +09:00
jdgleaver
81bf22c3fb
RETRO_ENVIRONMENT_GET_INPUT_MAX_USERS: Clarify variable update frequency comment
2020-08-11 14:54:22 +01:00
jdgleaver
ee8a2f4268
Add API extension for cores to query the number of active inputs provided by the frontend
2020-08-11 14:07:00 +01:00
Bernhard Schelling
4a09907802
Return true when RBUF_TRYFIT is called with 0
2020-08-07 05:19:09 +09:00
Bernhard Schelling
0a67c0416a
Change playlist to use dynamic array
...
Instead of initial 12MB memory allocation, use a dynamically growing array.
This shares the container structure (now called rbuf) with the explore menu.
2020-08-07 03:27:52 +09:00
twinaphex
3680804217
Undo path_basedir_size
2020-08-04 03:05:20 +02:00
twinaphex
c5b9786675
Turn retro_sleep into macros for most systems
2020-08-03 20:11:00 +02:00
twinaphex
f35010e1ae
Cleanups
2020-08-02 10:28:23 +02:00
twinaphex
8a24cc350e
Resync
2020-08-01 22:55:08 +02:00
Francisco Javier Trujillo Mata
8334be07bf
Fix issue with the PS2 and PRI_SIZET
2020-07-21 10:17:16 +02:00
Bernhard Schelling
b03cdbd0da
First set of cleanups to archive handling (Rev B)
...
- Don't read the entire archive file into memory on systems without HAVE_MMAP
- Support ZIP files between 2GB ~ 4GB on 32bit architectures
- Remove zip exclusive members from `file_archive_transfer`
- Add `zip_context_t` for zip like the already existing `sevenzip_context_t`
- Unify cleanups of zip and 7z in `file_archive_file_backend::archive_parse_file_free`
- Handle some sizes and offsets as int64_t (preparation for future Zip64 support)
- Handle ZIP compression methods in `zlib_stream_decompress_data_to_file_init` not in `file_archive_perform_mode`
- Return progress of 7z iterating with `file_archive_parse_file_progress`
- Uses MMAP where available, for files up to 256MB
2020-07-16 02:47:59 +09:00
twinaphex
06064a0527
Revert "Bring back MMAP support"
...
This reverts commit 32dcff3880
.
2020-07-13 23:52:23 +02:00
twinaphex
c84aa90075
Merge branch 'archive_cleanup_1' of git://github.com/schellingb/RetroArch
2020-07-13 21:30:02 +02:00
Bernhard Schelling
32dcff3880
Bring back MMAP support
...
Will be used where available for files up to 256MB
2020-07-14 03:04:01 +09:00
Autechre
84ca79fcc1
Merge pull request #11006 from Jamiras/save_task_wait
...
only wait for save task to complete
2020-07-12 19:14:04 +02:00
Jamiras
6f964681ae
update comment
2020-07-12 08:21:02 -06:00
twinaphex
8656b3d6f8
Create specialized optimized path_basedir_size
2020-07-11 19:29:43 +02:00
Bernhard Schelling
0ddb073784
First set of cleanups to archive handling
...
- Don't read the entire archive file into memory on systems without HAVE_MMAP
- Support ZIP files between 2GB ~ 4GB on 32bit architectures
- Remove zip exclusive members from `file_archive_transfer`
- Add `zip_context_t` for zip like the already existing `sevenzip_context_t`
- Unify cleanups of zip and 7z in `file_archive_file_backend::archive_parse_file_free`
- Handle some sizes and offsets as int64_t (preparation for future Zip64 support)
- Handle compression methods in `zlib_stream_decompress_data_to_file_init` not in `file_archive_perform_mode`
- Return progress of 7z iterating with `file_archive_parse_file_progress`
2020-07-12 00:51:35 +09:00
twinaphex
0a1942f528
Turn fifo_read_avail and fifo_write_avail into macros
2020-07-07 08:13:32 +02:00
twinaphex
96dd505a0f
(libchdr) Backport baka0815 commits
2020-07-01 19:50:46 +02:00
twinaphex
1ae20ea17c
Style nits - turn macro names into upper-case - some while style nits
2020-06-26 20:00:19 +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
twinaphex
1c38dc67c2
Optimize config_get_bool
2020-06-25 03:03:42 +02: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
01bd76405f
Buildfixes
2020-06-13 08:37:26 +02:00
jdgleaver
321ede2256
(X11/udev) Input fixes
2020-06-12 14:12:22 +01: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
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
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
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
9eb8472805
Only write config files to disk when parameters change
2020-04-27 17:06:35 +01: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
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
e24274a314
(Manual content scanner/playlist cleaner) Prevent redundant playlist entries when handling M3U content
2020-03-20 14:26:08 +00: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
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
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
076fddd9d9
(Resampler) Turn this void
2020-02-03 00:16:16 +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
df06a0effe
Fix names
2020-01-30 17:14:45 +01:00
twinaphex
74cd84399f
Cleanups - Replace '== NULL'
2020-01-30 16:47:33 +01:00
jdgleaver
a2e1d622e1
Add disk control interface API extension
2020-01-17 16:34:05 +00:00
twinaphex
291012d2a9
(libretro-common) Updates
2020-01-08 19:47:23 +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
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
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
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
67e9fba9d7
generate User-Agent for retroachievement API calls
2019-11-02 21:52:30 -06: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
Jamiras
0b92224c36
update PCEngine-CD hash algorithm; pregap cdfs support for CUE and CHD files
2019-10-24 18:46:43 -06:00
twinaphex
362b76fd74
Update sthread_get_current_thread_id
2019-10-21 14:01:09 +02:00
twinaphex
e968dd85e2
Implement sthread_get_thread_id (functional equivalent for
...
SDL_GetThreadId) and sthread_get_current_thread_id (functional
equivalent
for SDL_ThreadID)
2019-10-20 23:55:19 +02:00
Rinnegatamante
7fee4ad11b
Update libretro-common.
2019-10-15 17:43:50 +02:00
twinaphex
cb576b1b95
Move include headers to rglgen_private_headers.h
2019-10-09 22:12:14 +02:00
Jamiras
1ab81e5711
support for Sega CD/Saturn; reduce hash calls to server
2019-09-29 09:07:16 -06:00
jdgleaver
58ad81f063
Menu drop-down lists: Add proper titles, and remember last postion when navigating core options
2019-09-24 17:41:06 +01:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
LazyBumHorse
f309c85f92
STRLCAT_CONST_INCR should be at most 1 statement, so single-line if, for etc work
2019-09-22 20:12:56 +02:00
Barry Rowe
4e155dbc8e
Added in rpng string streaming to ai service.
2019-09-21 23:57:59 -07:00
twinaphex
f65e005d97
label_sanitization - change a bunch of functions to static
2019-09-21 03:55:20 +02:00
twinaphex
7cfd996802
Add return value to fill_pathname_noext
2019-09-21 01:41:56 +02:00
twinaphex
6d8bc91220
Start returning sizes for file_path functions
2019-09-21 00:01:09 +02:00
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
76f4cf5cc5
Start using STRLCAT_CONST/STRLCAT_CONST_INCR/STRLCPY_CONST
2019-09-20 20:39:34 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
698387e762
(task_screenshot.c) Cleanups - don't use snprintf unless necessary
2019-09-18 02:31:02 +02:00
twinaphex
8fa6230426
Cleanups
2019-09-18 02:16:47 +02:00
twinaphex
5024b77492
Prevent more strlcats that are quite trivial
2019-09-17 02:43:40 +02:00
Jamiras
b1fb7a1c1e
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-09-01 11:13:54 -06:00
Twinaphex
29dc30fa48
Revert " add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
2019-08-30 15:55:07 +02:00
Jamiras
bcd61d7f9b
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-29 21:05:14 -06:00
twinaphex
d6df17a154
Revert "add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
...
This reverts commit 1185433374
.
2019-08-30 03:14:42 +02:00
Jamiras
1185433374
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-23 08:02:06 -06:00
twinaphex
a3e2531bd6
Remove duplicate function in translation_service.c
2019-08-21 21:51:25 +02:00
twinaphex
d8860104d3
Get rid of file_list_get_alt_at_offset
2019-08-20 06:13:33 +02:00
jdgleaver
3da96deec3
Enable per-playlist thumbnail selection
2019-08-15 18:05:31 +01:00
jdgleaver
5ac152a5f3
(glslang_util) Remove C++ 'isms' (where possible)
2019-08-12 13:10:50 +01:00
Twinaphex
58286367d7
Delete rsemaphore.h
2019-07-30 23:57:27 +02:00
Tim Van den Langenbergh
35e71ad786
Merge branch 'master' into 9107-playlist-name-sanitization
2019-07-30 12:41:19 +02:00
Brad Parker
7935cc80ee
media: add function to parse cue and detect system from first data track
2019-07-30 02:37:00 -04:00
Brad Parker
a191112634
cdrom: add PC Engine CD detection
2019-07-29 15:11:28 -04:00
Tim Van den Langenbergh
d3a98fea79
Make wording of messages for label display mode clearer.
...
Use strlcpy for safety in sanitization.
Change label sanitization to use the No-Intro conventions.
Remove integer manipulation of enums for hash strings.
Add handler for start button on label display mode.
2019-07-29 19:08:15 +02:00
Tim Van den Langenbergh
55f4c04ff2
Add label_display_mode to playlist.
...
Add label_display_mode to JSON format.
Add label_display_mode to old playlist format.
Add label_display_mode to configuration.
Add label sanitization functions to libretro common.
2019-07-28 01:22:46 +02:00
Tim Van den Langenbergh
fcf5d6bcdd
Add sanitization settings to playlist.
...
Add sanitization functions to libretro-common.
Add sanitization functionality to menu display.
2019-07-28 01:14:40 +02:00
Twinaphex
213fd3a2e8
Merge pull request #9196 from orbea/zlib2
...
Clean up the builtin zlib.
2019-07-26 03:40:22 +02:00
twinaphex
ce37405d29
(DirectSound) Add audio device selection - can set audio_device
...
either by name or by index
2019-07-26 02:36:41 +02:00
orbea
983172d0c2
deps/libz: Move zutil.h back to deps.
...
This is an internal zlib header and should not be used by other projects.
See the comment in the file.
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
2019-07-25 11:18:33 -07:00
orbea
0565f80ceb
deps/libz: Remove uneeded files.
2019-07-25 11:18:33 -07:00
orbea
84f4dcba2b
Remove WANT_ZLIB.
2019-07-25 11:18:33 -07:00
LazyBumHorse
6285c05948
add resolve_symlinks parameter to path_resolve_realpath() and cleanup playlist_resolve_path()
2019-07-22 13:44:35 +02:00
LazyBumHorse
7006764c12
replace realpath() by custom code which does not resolve symlinks
2019-07-22 12:10:28 +02:00
Brad Parker
41b3adc8a4
cdrom: always request one sector at a time
2019-07-21 12:06:10 -04:00
twinaphex
c2c7c106a1
Add conf->path for config_file_new_from_path_to_string
2019-07-20 00:39:55 +02:00
twinaphex
41a2fabb4e
Create config_file_new_from_path_to_string
2019-07-18 12:03:50 +02:00
twinaphex
4c276feb4a
Update
2019-07-17 23:16:25 +02:00
twinaphex
a6d6c21e52
Rename config_file_new_null to config_file_new_alloc
2019-07-17 19:50:32 +02:00
twinaphex
0c31437c24
Create config_file_new_null
2019-07-17 18:27:53 +02:00
Brad Parker
30c3b1ea9d
cdrom: add Disc Information details
2019-07-15 00:23:20 -04:00
jdgleaver
0476901ca5
Add ability to manually set default core option values when using the new v1 core options interface
2019-07-12 18:20:19 +01:00
jdgleaver
4f3adb8d2c
An environment callback for selectively hiding core options
2019-07-12 17:12:03 +01:00
jdgleaver
380812f83e
Core Options: Add sublabels + localisation support
2019-07-11 16:10:43 +01:00
twinaphex
3639614eba
(VFS) Should fix CXX_BUILD
2019-07-10 23:10:20 +02:00
twinaphex
84bf51acee
Take out HAVE_CDROM include ut of vfs/vfs_implementation.h
2019-07-10 22:53:38 +02:00
Brad Parker
980de11974
cdrom: check if disc is inserted before trying to load or dump
2019-07-10 11:17:28 -04:00
Brad Parker
60e7e5be8d
fix some warnings
2019-07-09 22:32:11 -04:00
Brad Parker
ae87f87ee3
C89 buildfix
2019-07-09 16:46:53 -04:00
Brad Parker
15d97dbaf3
cdrom: add disc dump option
2019-07-08 16:06:35 -04:00
Brad Parker
2ef16de941
cdrom: add atip check function, show relative and absolute MSF for read command
2019-07-08 16:06:35 -04:00
Brad Parker
59d8b918a1
cdrom: store group timeouts
2019-07-06 20:16:47 -04:00
Brad Parker
0b1ee7d00a
windows buildfix
2019-07-06 09:58:33 -04:00
Brad Parker
46ed5c3fcb
vfs: fix circular dependency issues by moving main structs to separate header
2019-07-05 23:45:48 -04:00
Brad Parker
e8d488ba67
cdrom: fix conflict with libchdr function names
2019-07-04 23:05:28 -04:00
Brad Parker
38d49136ce
cdrom: add function for reading via LBA numbers
2019-07-04 18:20:05 -04:00
Brad Parker
788b6cd39c
remove unimplemented command
2019-07-04 17:50:38 -04:00
Brad Parker
9d163493da
cdrom: print sense data on each failure
2019-07-04 17:47:39 -04:00
Brad Parker
7db030f98e
cdrom: add command to retrieve/print sense data
2019-07-04 16:15:21 -04:00
Brad Parker
6f0268ca30
cdrom: need const to call these from outside of internal functions
2019-07-04 01:06:47 -04:00
Brad Parker
052a8e48cf
cdrom: add extra debug functions, add function to check if media is inserted/ready
2019-07-04 00:22:16 -04:00
twinaphex
44eee1cf42
(VFS UWP) Real fix
2019-07-04 04:43:34 +02:00
twinaphex
b14dfc2585
Revert "(UWP) Fix VFS"
...
This reverts commit 163ec0f979
.
2019-07-04 04:40:13 +02:00
twinaphex
163ec0f979
(UWP) Fix VFS
2019-07-04 04:21:51 +02:00
Brad Parker
9a52595ce3
cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry
2019-07-03 14:19:32 -04:00
Brad Parker
4cedaaefe1
cdrom: add open/close tray commands
2019-07-02 21:35:20 -04:00
Brad Parker
24bd43a53f
cdrom: improve position setting
2019-06-30 18:34:00 -04:00
Brad Parker
9617605371
cdrom: set optimal read speed
2019-06-30 18:34:00 -04:00
Brad Parker
8f1b150806
cdrom: windows fixes, use starting address of current track for read/seeks
2019-06-30 18:34:00 -04:00
Brad Parker
07c0451b93
cdrom: add windows support
2019-06-30 18:34:00 -04:00
Brad Parker
8af3078966
track1 playback is working, redbook might have issues currently
2019-06-30 18:34:00 -04:00
Brad Parker
08cd3a90f2
initial cdrom reading work
2019-06-30 18:33:59 -04:00
twinaphex
023d2cb9a9
(Libretro) implement new environment callback RETRO_ENVIRONMENT_GET_INPUT_BITMASKS
2019-06-21 11:21:07 +02:00
Yoshi Sugawara
2dde223d23
Support returning the number of touches in the current input to support multi-touch inputs, like using a 2 finger touch to reload or secondary fire in lightgun games
2019-06-11 11:49:27 -10:00
twinaphex
77e7bc7a1c
Move stirng_list_clone to libretro-common
2019-06-09 06:10:28 +02:00
LazyBumHorse
2816730b2f
make shader presets use relative paths
...
Also change fill_pathname_resolve_relative() to apply path_resolve_realpath() as well
2019-06-07 16:11:06 +02:00
jdgleaver
431877799d
(RPNG) Fix undefined behaviour when loading bad/corrupt PNG images
2019-05-27 13:07:11 +01:00
twinaphex
22d762be67
We need to split up zlib headers in libretro-common to its own separate
...
dir
2019-05-27 03:40:14 +02:00
twinaphex
f117d763d6
Create path_stat and use it
2019-05-22 02:21:30 +02:00
twinaphex
f49f33f546
We don't need glsm inside libretro-common - cores that need
...
this will need to make their own version separately
2019-05-19 05:42:44 +02:00
Huw Pascoe
ea931428e1
rxml read from string and fix memory violation
2019-05-11 09:58:45 +01:00
Huw Pascoe
cd714dbd0b
image_texture_load_buffer
2019-05-11 09:58:45 +01:00
Barry Rowe
8745333892
OCR Translation feature finaliziation. ( #8738 )
2019-05-11 07:15:39 +02:00
twinaphex
74388d8490
Remove string_concat
2019-05-10 18:05:58 +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
natinusala
486f438cc3
task_database: reimplement task progression
2019-05-01 15:13:41 +02:00
twinaphex
4b22522ae0
We need faster string concatenation for performance-critical
...
codepaths - this is being run every frame
2019-04-30 19:36:40 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +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
4f8e59a3f8
(UWP) Rewind should now work - issues with the BitScanReverse
...
codepath for compat_ctz on UWP/WinRT - have not figured out a
solution yet, so just make it default to slowest ctz codepath
for now
2019-04-29 07:06:06 +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
Ghabry
5faf6a124d
UWP VFS: Calculate buffer offset correctly when read fails due to EOF
2019-04-28 12:15:46 +02:00
Ghabry
c209b0b3d9
UWP: Improve IO performance by manually buffering short reads.
...
Reduce copies by binding by reference in the lambdas
2019-04-27 23:47:52 +02:00
Ghabry
4390317992
Revert "(UWP/WinRT)"
...
This reverts commit b43b3e2bb0
.
2019-04-27 15:01:01 +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
e1b11593fc
(file_list.c) Cleanups/optimizations
2019-04-27 07:32:40 +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
twinaphex
7af68ca0b9
(libretro-common) Update
2019-04-27 02:21:35 +02:00
twinaphex
89563ce9c8
(stdstring) Small cleanups
2019-04-26 06:07:40 +02:00
twinaphex
69168ec6bc
Core info list iteration was calling path_stat two times on the same
...
paths - unnecessary file I/O is an issue with UWP/WinRT so let's cut
this down to only one path_stat. config_file_read function created -
acts the same as config_file_new except it doesn't check if the path
provided is actually a directory, which in turn would lead to another path_stat call
2019-04-22 01:13:19 +02:00
Brad Parker
d8968d8d0b
add initial Turkish translation from Ömercan Kömür (fpscan)
2019-04-17 19:08:23 -04:00