toshixm
a39c38f267
refactor word_wrap()
2021-05-27 19:55:37 +09:00
jdgleaver
334a43a7c5
Prevent unnecessary extraction (to disk) of compressed content files + task_content.c clean-ups
2021-05-20 17:08:51 +01:00
twinaphex
35543ecd91
Move defines files over to libretro-common
2021-05-18 22:15:04 +02:00
jdgleaver
484c4ad51e
Add API extension for cores to override frontend fast-forward state
2021-05-13 13:16:37 +01:00
Norman Jordan
528af55abd
Adding a generic queue and linked list.
...
Both accept (void *) values. Also added some unit tests using CHECK.
2021-05-05 10:41:13 -07:00
jdgleaver
b1a7d3e995
(config_file) Modify hash map usage for proper compatibility with updated RHMAP implementation
2021-04-28 17:34:24 +01:00
Alcaro
2c5c4647e3
Track the complete string in rhmap
2021-04-28 16:09:45 +02:00
jdgleaver
29d5963cad
(config_file) Use hash map to optimise key/value lookups
2021-04-21 17:33:36 +01:00
twinaphex
637cff628f
* Simplify RARCH_CTL_IS_CORE_LOADED
...
* Create specialized function path_basename_nocompression
2021-04-11 17:27:31 +02:00
twinaphex
938c8f3abc
Fix some tvOS warnings
2021-03-15 01:52:18 +01:00
CrystalCT
f9eae08e1b
Add some PSL1GHT ifdefs
2021-03-09 08:27:46 +01:00
CrystalCT
3bafc82305
Add some PSL1GHT ifdefs
2021-03-08 13:09:43 +01:00
twinaphex
ea7bedf257
Remove one include
2021-02-03 09:58:50 +01:00
sonninnos
d78f321d33
Prevent duplicate key events with hotkeys + keyboard device type
2021-01-30 11:41:44 +02:00
Daniel De Matteis
59952c520b
(Mac) Silence more warnings
2021-01-26 20:39:36 +01:00
Jamiras
98ea2b6a47
improve granularity of custom compat_ctz
2021-01-21 23:29:58 -07:00
Jamiras
78ab9853a7
fix SSE2 implementation of find_change
2021-01-21 22:26:45 -07:00
Twinaphex
a83c328631
(Metal) Fix some build problems
2021-01-19 04:38:07 +01:00
twinaphex
a9cd33ac56
Revert "Experiment on Apple"
...
This reverts commit 8769866290
.
2021-01-16 23:54:31 +01:00
twinaphex
8769866290
Experiment on Apple
2021-01-16 23:45:06 +01:00
Bernhard Schelling
9bea4831d7
Add 32-bit key hash map rhmap
...
Based on ex_hashmap32 in menu_explore.c, modify that to use the new rhmap
2021-01-03 00:52:25 +09:00
Autechre
9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
...
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
twinaphex
357b7d68f6
(libretro-common) Rename rhash to lrc_hash
...
(rcheevos) Rename rhash to rc_hash
2020-12-28 19:55:54 +01:00
twinaphex
b1af12efc9
Add more PSL1GHT ifdefs
2020-12-27 18:56:00 +01:00
HyperspaceMadness
0c526b6498
Shaders Load Refactor and Fix Referenced Texture Loading
...
Partial update to work with shaders directly
More Edits
More changes
more shader fixes
More Fixes Compiling, reference load still wrong
Added Feedback & things are working
Logging Fixes
Log Fix
More Fixes
Added Feedback Logging
Fixes for file pathing in Linux
Fix GLCore and Crash in QT Saving
Code Cleanup
Removed Unused Function filepath.c
Code Cleanup
2020-12-26 21:09:27 -05:00
twinaphex
2ed59ea789
Turn this into macro
2020-12-21 20:25:18 +01:00
twinaphex
870707dbe8
Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead
2020-12-19 15:32:26 +01:00
Autechre
12dc69c501
Merge pull request #11666 from gouchi/finnish
...
intl: Add Finnish language
2020-12-12 21:45:06 +01:00
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