Stuart Carnie
c00b6e0750
fix: Fix use of freed memory in menu animations
...
`menu_animation_update` enumerates `menu_animation.list` to process each
`tween`. It was observed that some tweens execute a callback that
pushes more animations via `menu_animation_push`. During the push, if
the tween `list` does not have enough space, a `realloc` occurs,
potentially invalidating the existing list. The remaining pointer access
in menu_animation_update is therefore invalid. Best case is the memory
is unused and thus does not affect the program. Worst case is memory
corruption.
2018-12-15 14:55:10 -07:00
meepingsnesroms
94f691e5d2
More info
2018-11-18 11:44:46 -08:00
meepingsnesroms
ca5eddf7ff
Clarify documentation
2018-11-18 11:18:40 -08:00
Francisco Javier Trujillo Mata
17d30f9dd5
Use SDL timer for counters and sleep the thread
2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
0880bd00b0
PS2 is compiling with null drivers
2018-11-09 22:40:50 +01: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
cf9341f2ea
Update libretro-common
2018-10-17 05:45:43 +02:00
Sven
b48768c023
extend cheat searching to accommodate multiple memory pointers
2018-10-14 14:25:44 -04:00
LamboLighting
8509132ebd
(Language) Greek translation of RetroArch
...
First steps of the translation.
Still a WIP. Most of the menu labels have been translated. Lots of sublabels still need translation.
2018-10-12 01:22:33 +03:00
Sven
4c3b06d640
bugfix cheat saving
2018-10-10 11:10:49 -04:00
Sven
30d4df7634
Merge remote-tracking branch 'upstream/master'
2018-10-10 09:16:39 -04:00
Sven
f53e1ca4b1
fix new rumble types ; increase max displayed cheats to 6000
2018-10-10 09:15:46 -04:00
twinaphex
521b978d31
Add sthread_create_with_priority - missing functionality from desmume
...
rthreads implementation
2018-10-09 03:43:34 +02:00
twinaphex
31ba215c94
Update GLSM
2018-10-06 17:05:06 +02:00
twinaphex
f1e7e0c5f7
Update GLSM
2018-10-06 15:40:48 +02:00
twinaphex
22424fce0f
Update libretro-common
2018-10-06 15:16:33 +02:00
twinaphex
983c234a3e
Update libretro.h
2018-10-01 16:23:08 +02:00
twinaphex
3dcefa9316
Update libretro.h
2018-10-01 15:49:54 +02:00
twinaphex
072848445c
Fix some C89_BUILD errors
2018-10-01 03:31:13 +02:00
M4xw
cf097d7f42
[LIBNX] Implement OpenGL
2018-09-27 01:23:24 +02:00
twinaphex
19b4ef3b2c
Add conv rgb565 to ABGR8888 by m4xw
2018-09-12 20:04:52 +02:00
Sven
3c0eadbdf2
per request
2018-09-11 18:52:51 -04:00
Sven
b771a3e0f5
move libretro.h defines to retroarch.h
2018-09-11 18:45:01 -04:00
Sven
d8796732aa
provide a means for cores to coordinate with the frontend when shutting down multiple threads gracefully
2018-09-11 13:29:20 -04:00
twinaphex
df059c585f
Implement RETRO_ENVIRONMENT_GET_FASTFORWARDING
2018-09-08 02:19:05 +02:00
David Walters
b592f254b9
Support for "OEM-102" key (usually '\' on Euro keyboards)
2018-09-02 18:24:51 +01:00
twinaphex
1265d7546c
Revert "Start using raw constants for OSX version detection"
...
This reverts commit ab34a70873
.
2018-08-31 19:19:42 +02:00
twinaphex
ab34a70873
Start using raw constants for OSX version detection
2018-08-30 16:35:44 +02:00
twinaphex
c12baad087
Fixup compat_snprintf.c for MSVC 2008
2018-08-16 10:12:17 +02:00
twinaphex
137a39c705
Update
2018-08-07 06:22:56 +02:00
twinaphex
7fdc516d8d
Update
2018-08-07 06:19:27 +02:00
twinaphex
653bcba2e0
Update libretro-common
2018-08-07 06:17:48 +02:00
twinaphex
f52708e205
Update filestream_transforms.h
2018-08-07 06:00:16 +02:00
twinaphex
c563eedb32
Hopefully the VFS interface can now remain stable
2018-08-07 05:53:32 +02:00
twinaphex
1bda6ba204
Update libretro-common
2018-08-07 05:43:19 +02:00
Brad Parker
a1b831abdb
allow 7z archives to have multiple files extracted at once
2018-08-06 20:44:59 -04:00
Sven
5f35249216
Implement robust cheat searching interface with rumble features
2018-07-25 19:19:14 -04:00
twinaphex
d6c5c7f208
Pre-MSVC 2013 did not support PRIu32, add workaround
2018-07-14 05:29:17 +02:00
twinaphex
5ba2a621c0
Silence warnings
2018-07-14 00:45:16 +02:00
Sven
83da70586e
implement a way to set rewind_buffer_size via the UI
2018-07-13 16:12:09 -04:00
twinaphex
0230c2f4d8
Merge commit 'a078d40b80103ba083ad04eab625084279e930b3'
2018-06-25 23:55:41 +02:00
twinaphex
a078d40b80
Squashed 'libretro-common/' changes from edffe4d147..1548bee835
...
1548bee835 Update glsm
df7c8aebea Update glsm
git-subtree-dir: libretro-common
git-subtree-split: 1548bee835ab5fa2d120a4859ff653a5f128de1f
2018-06-25 23:55:40 +02:00
twinaphex
e8b0d6974d
Merge commit '48cb38619ff8bbc5ff3c0df93704b3297047a8fe'
2018-06-22 15:00:02 +02:00
Twinaphex
467aa30131
Cleanups
2018-06-21 07:26:05 +02:00
Zoran Vuckovic
8d99044fb4
Document MIDI interface
2018-06-18 21:26:10 +02:00
Twinaphex
49f3dacde5
Merge pull request #6892 from casdevel/midi
...
Add MIDI support
2018-06-17 23:07:26 +02:00
twinaphex
76db13fda4
Merge commit '950525a37032877e080ee0f4455c0c4cda550d45'
2018-06-17 20:11:37 +02:00
twinaphex
fa1ec0780b
Merge commit '3997b59cd652c7852f866aa11c25693fab6bbcda'
2018-06-17 20:04:50 +02:00
Zoran Vuckovic
b487c3cace
Add MIDI support
2018-06-16 21:17:32 +02:00
twinaphex
23b0444afe
Update libretro-common
2018-05-28 17:30:56 +02:00
twinaphex
04a4578435
Merge commit '75aea8225637bb47e44543ed624f5861cb27c204'
2018-05-12 18:07:47 +02:00
twinaphex
9d5472cecf
Merge commit '37aad93a58efba6c340e13aa1d83ddf2df762b3d'
2018-05-12 18:03:49 +02: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
46f7742afc
Some early WinRT commits
2018-05-09 16:13:29 +02:00
twinaphex
e18f81eb74
Update libretro-common
2018-05-06 17:11:18 +02:00
twinaphex
5aeab54ab7
(Audio mixer) Ability to individually set volume per stream
2018-04-30 17:51:01 +02:00
twinaphex
64f31f1ddd
Update libretro-common
2018-04-28 13:52:54 +02:00
twinaphex
faa99bd323
Start adding FLAC hooks
2018-04-27 23:45:06 +02:00
twinaphex
1f2ef858ab
Update libretro-common
2018-04-27 23:12:24 +02:00
twinaphex
7b1ad55b20
Try to use snprintf instead of sprintf
2018-04-25 11:31:50 +02:00
twinaphex
997c24ae0c
Make FLAC, zlib and LZMA support in libchdr optional
2018-04-22 20:19:07 +02:00
twinaphex
fc169cf4fe
Split up libchdr_chd.c into several files
2018-04-22 19:50:14 +02:00
twinaphex
8a1f2f5cf2
Update libretro-common
2018-04-22 18:36:30 +02:00
twinaphex
7bef8746a3
Add chd_precache code to libchdr
2018-04-22 18:04:45 +02:00
twinaphex
4d64a94cb2
Updates
2018-04-19 22:28:17 +02:00
twinaphex
74d4bc80d9
(libretro-common) Updates
2018-04-19 09:43:21 +02:00
twinaphex
1c66905f0d
Updates
2018-04-19 08:01:07 +02:00
twinaphex
4914c164fa
Update file_stream_transforms
2018-04-19 07:56:57 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
David Walters
adf4ed960e
Handle null and empty string calls to retro_opendir with a consistent null return.
2018-04-13 10:31:21 +01:00
Twinaphex
bd2b913bc6
Silence more warnings
2018-04-13 00:52:52 +02:00
twinaphex
041670fe02
Get rid of multitude of casting warnings
2018-04-13 00:47:42 +02:00
twinaphex
1751f4a0af
Make it possible to read bigger files by replacing ssize_t with int64_t
...
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
twinaphex
d0b735735c
Update libretro-common
2018-04-08 23:23:01 +02:00
twinaphex
a82bb0ec94
Create special type input_bits_t
2018-04-08 20:21:12 +02:00
radius
0ed9f05571
remap-redux part2:
...
- remapping analogs to buttons works 100%
- remapping analogs to other analogs still messed up for some reason
- need to reset input of the original axis in input_driver.c still
2018-04-08 12:13:49 -05:00
Dwedit
36d33deb30
Add message about load state expected to succeed.
2018-03-30 20:41:52 -05:00
Dwedit
ec6d6e58d6
Fast Savestate and Hard Audio Disable flags
2018-03-30 20:35:52 -05:00
Dwedit
77f2b7d326
Replace the file handling code from secondary_core.c with the file streams
...
Hide secondary instance menu item if dynamic libraries are not supported
Remove unlink_utf8 stuff
Fix a compiler warning
2018-03-29 09:37:35 -05:00
twinaphex
ca7c374303
Fix OSX compilation
2018-03-29 15:41:02 +02:00
Dwedit
f5e0346fc2
Runahead system
2018-03-28 14:22:07 -05:00
twinaphex
89e912087b
Put RARCH_INTERNAL ifdef around this
2018-03-28 16:41:37 +02:00
twinaphex
167b977c4d
Fix some build errors with MSVC 2003/2005 cores
2018-03-28 16:22:35 +02:00
aliaspider
3d96cacd71
add experimental D3D11 hwrender support.
2018-03-25 23:14:14 +01:00
Twinaphex
473d978d78
Merge pull request #6444 from Dwedit/original_suggestion
...
Functions to suspend and resume audio and video, and environment function for core to query status of enabled/disabled audio and video
2018-03-24 09:54:47 +01:00
Dwedit
fbd4900031
Add documentation for RETRO_ENVIRONMENT_GET_AUDIO_VIDEO_ENABLE to the header file
2018-03-23 16:33:51 -05:00
Dwedit
7deeb6d2fa
Functions to enable and disable audio and video, and an environment function to query status of audio and video enables
2018-03-23 14:12:05 -05:00
twinaphex
85d3be1245
Update libretro-common
2018-03-23 11:17:56 +01:00
radius
c52fdc469f
remove task_push_http_transfer_raw, encode before sending data to the task
2018-03-16 22:38:21 -05:00
twinaphex
32b2808fe0
Revert "Turn scaler_ctx_scale_direct into inline function"
...
This reverts commit d51edd8239
.
2018-03-14 23:48:47 +01:00
twinaphex
d51edd8239
Turn scaler_ctx_scale_direct into inline function
2018-03-11 18:14:17 +01:00
twinaphex
d6eda2502d
Improve scaler_ctx_scale_direct macro
2018-03-11 17:46:39 +01:00
twinaphex
df7f47d00a
Create string_is_equal_case_insensitive
2018-03-01 23:16:34 +01:00
radius
692c8683b2
subsystem part 2: add missing define, fix typo
2018-02-12 02:39:24 -05:00
Brad Parker
aaf35f53f8
fill_pathname_parent_dir_name: return failure if path has no slash
2018-02-08 23:19:12 -05:00
aliaspider
45580cb9a8
add basic support for arabic.
2018-02-05 20:54:55 +01:00
twinaphex
8d99fd7ce0
Cleanup string manipulation
2018-02-01 11:16:13 +01:00
twinaphex
f9a412dc11
Create fill_pathname_join_concat_noext and use it
2018-01-31 22:43:55 +01:00
Brad Parker
722137296d
add fill_pathname_parent_dir_name function
2018-01-28 15:55:27 -05:00
aliaspider
96e96b9dfd
(msvc) use stdbool.h for VS 2013 and later.
2018-01-23 17:50:46 +01:00
aliaspider
5db96f35fa
(WIN32) various build fixes.
2018-01-20 20:05:32 +01:00
twinaphex
df1979be12
Define string_is_not_equal
2018-01-17 01:06:09 +01:00
Twinaphex
5d64adf1a6
Merge pull request #6119 from garbear/libretro-api
...
Add missing {, |, } and ~ to the libretro API
2018-01-16 01:37:02 +01:00
Garrett Brown
39742e24db
Add missing {, |, } and ~ to the libretro API
...
Missing keys are found in TyrQuake's source:
https://github.com/libretro/tyrquake/blob/be5aede91/common/keys.h#L111-L114
2018-01-14 13:58:11 -08:00
Rob Loach
26b9cb3c78
libretro-common: Clean up dependencies of file_path
...
This moves a few functions that were defined in file_path_special to libretro-common to clean up the dependency tree.
2018-01-13 00:27:49 -05:00
radius
3b334b60d6
add display name and config name to autoconf
2018-01-11 17:06:14 -05:00
orbea
eeb6230ebd
libchdr: Trivial cleanup
2018-01-05 16:08:29 -08:00
twinaphex
bc53b9e1b6
Update libretro-common
2018-01-05 23:32:25 +01:00
twinaphex
24a78a28c2
Update
2018-01-03 17:28:41 +01:00
twinaphex
dbd2faf69a
fabsf not defined for MSVC 2003
2018-01-03 14:48:53 +01:00
twinaphex
f611d1c357
* Compile C code with MSVC Makefile as C instead of C++
...
* Add compatibility tweak for MSVC in C mode for math functions
2018-01-01 17:38:04 +01:00
Twinaphex
80f946e0a6
Merge pull request #6022 from bparker06/taskbar_progress
...
win32: Show progress meter on taskbar for downloads (Windows 7 and up)
2018-01-01 08:13:39 +01:00
Brad Parker
e62e0c83da
win32: Show progress meter on taskbar for downloads (Windows 7 and up)
2018-01-01 02:08:09 -05:00
twinaphex
f2ddc8eff0
Revert "Simplify config_file_write"
...
This reverts commit a4500eeafc
.
2018-01-01 07:45:56 +01:00
twinaphex
b9248cf3af
Start preparing runtime toggleable resampler quality settings
2017-12-31 20:55:26 +01:00
twinaphex
0dd2f075fe
Refactor sinc resampler so that we can set resampler quality
...
at runtime
2017-12-31 20:40:04 +01:00
Alcaro
9ab6957dc4
Fix #6009 v2.0
2017-12-31 14:32:14 +01:00
Alcaro
93f0679ead
Fix #6009
2017-12-31 13:20:05 +01:00
misson20000
6d2a7b1f26
Nintendo Switch (libtransistor) port
2017-12-29 00:10:01 +01:00
Ian House
78c49047a5
Changed the retro environment LED interface to 46 to avoid a numbering conflict
2017-12-27 11:18:49 -05:00
Ian House
8178e21cda
Merge branch 'master' of https://github.com/libretro/RetroArch into leds
2017-12-27 11:14:35 -05:00
Ian House
aa7c289708
Added an LED interface and a Raspberry Pi GPIO implementation
2017-12-27 11:11:08 -05:00
twinaphex
2e1e2cb406
Update
2017-12-24 18:53:03 +01:00
twinaphex
a4500eeafc
Simplify config_file_write
2017-12-20 17:07:31 +01:00
twinaphex
259b077eef
(PS3) Set PATH_MAX_LENGTH to CELL_FS_MAX_FS_PATH_LENGTH
2017-12-20 15:45:11 +01:00
twinaphex
7cda1aaab9
Set PATH_MAX_LENGTH to 512 for PS3
2017-12-20 15:39:01 +01:00
Twinaphex
5eb6c5dae9
Merge pull request #5936 from clienthax/ps3res
...
More ps3 networking fixs.
2017-12-19 23:02:14 +01:00
clienthax
73aa381b27
More ps3 networking fixs.
2017-12-19 21:39:22 +00:00
David Walters
adffa5fc4c
Fixes for overlay buttons
2017-12-17 12:36:18 +00:00
twinaphex
9596cc2866
Update
2017-12-16 17:06:37 +01:00
twinaphex
6622cb0810
Update libretro API
2017-12-16 14:12:38 +01:00
twinaphex
1b6b670882
filestream - use int64_t
2017-12-15 21:10:58 +01:00
Alcaro
cbdb91a668
Remove file_ prefixes, for consistency with the rest of libretro. They're not useful, anything they'd mean is provided by the vfs_iface-> anyways. Also rename delete to remove to match libc and avoid C++ keywords.
2017-12-15 17:28:55 +01:00
Alcaro
03723118e5
Some minor clarifications
2017-12-15 10:02:49 +01:00
twinaphex
1932513edb
Update libretro-common
2017-12-15 00:31:37 +01:00
Alcaro
ecf5d55a25
Rename this one, to not codify policy in what should be a frontend decision
2017-12-14 21:21:18 +01:00
twinaphex
c7c4b723d6
Move path_file_exists to filestream and do away with filestream
...
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
Brad Parker
8c0adf3594
move path_file_rename and path_file_remove into VFS
2017-12-14 13:32:26 -05:00
Alcaro
d5847c2391
Revert and fix "Don't use opaque handle to get around warnings and other issues"
...
This reverts commit e23409926e
.
2017-12-14 17:28:13 +01:00
twinaphex
e23409926e
Don't use opaque handle to get around warnings and other issues
2017-12-14 15:06:28 +01:00
twinaphex
0b6c191354
Start moving file stream code over to vfs_implementation.c
2017-12-14 14:03:42 +01:00
twinaphex
7788a852c0
Some more cleanups
2017-12-14 00:16:18 +01:00
gblues
0f7de204f7
Last batch of whitespace cleanup (post-rebase)
...
-- looks like a few files committed with DOS line endings
2017-12-12 00:24:46 -08: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
twinaphex
57b730ab61
Start implementing VFS layer ; first split up VFS libretro functionality
...
to separate header until things are finalized
2017-12-11 21:24:14 +01:00
twinaphex
c03b791b46
Start adding stub VFS implementation
2017-12-11 20:51:46 +01:00
twinaphex
ad70bb9866
Get rid of unused filestream_get_ext
2017-12-11 17:42:00 +01:00
twinaphex
43c9bb374d
filestream_set_size can be made a static function
2017-12-11 17:39:56 +01:00
twinaphex
32511090ca
(task_save.c) Move to intfstream
2017-12-11 14:56:58 +01:00