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
twinaphex
7ec627d41d
Cleanups
2018-11-02 16:32:32 +01:00
Zoran Vuckovic
b487c3cace
Add MIDI support
2018-06-16 21:17:32 +02:00
twinaphex
897c1654ab
Reduce usage of string_is_not_equal_fast
2018-01-17 01:03:48 +01:00
Tatsuya79
6dbfbb0846
fix
2018-01-01 16:58:32 +01:00
Tatsuya79
10c6ef6f1a
Hide mouse cursor after RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO in fullscreen
2018-01-01 16:44:55 +01:00
Ian House
aa7c289708
Added an LED interface and a Raspberry Pi GPIO implementation
2017-12-27 11:11:08 -05: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
fd23a751e4
Fix joypad_driver
2017-12-06 20:40:18 +01:00
twinaphex
4e9cb21e03
Don't use hashes
2017-12-06 20:38:22 +01:00
twinaphex
c0207e9b56
Revert "Reduce size of variables"
...
This reverts commit 79f1166c6e1b0f43e3428abd1445222690463aac.
2017-09-09 00:20:39 +02:00
twinaphex
79f1166c6e
Reduce size of variables
2017-09-08 23:44:10 +02:00
Joseph Montgomery
28ef2d6487
Fix driver menu left wrap
...
Driver options in Settings/Driver should wrap left now.
2017-07-11 21:00:44 -04:00
twinaphex
30c5a2870f
Put this back here
2017-05-28 19:11:18 +02:00
twinaphex
c7825e4708
Put this here
2017-05-28 19:00:54 +02:00
twinaphex
b5aef51cc0
Revert "Make this code somewhat more like the other menu drivers"
...
This reverts commit 6c5d5ea4978ac2f9c26852fe10b0d305db9e081c.
2017-05-28 15:14:35 +02:00
twinaphex
6c5d5ea497
Make this code somewhat more like the other menu drivers
2017-05-28 15:13:18 +02:00
twinaphex
721c6bc5bb
Create menu_driver_destroy
2017-05-28 15:09:17 +02:00
twinaphex
dbbcba41a5
Clean this mess up
2017-05-28 15:03:03 +02:00
twinaphex
57b7398bdd
Move audio driver deinit
2017-05-20 13:15:14 +02:00
twinaphex
7e08752da2
Revert "We can now change menu drivers on the fly"
...
This reverts commit 85afd633e4ea49336a848c7c4f7768716f1e5d04.
2017-05-17 04:14:29 +02:00
twinaphex
85afd633e4
We can now change menu drivers on the fly
2017-05-17 03:04:36 +02:00
twinaphex
8eca08c6ac
Start using string_is_equal_fast/string_is_not_equal_fast macros
...
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex
bf3188eac4
Combine runloop_ctl and rarch_ctl
2017-05-15 05:06:23 +02:00
twinaphex
42ebe7a7ad
Merge runloop.c and retroarch.c
2017-05-11 09:11:46 +02:00
twinaphex
6bae9244e8
Create menu_driver_init
2017-04-29 17:23:09 +02:00
twinaphex
6f0df4cf60
Create menu_driver_context_reset
2017-04-29 17:13:18 +02:00
twinaphex
03145a0424
Pass video_is_threaded variable to video_driver_init
2017-04-29 17:10:59 +02:00
twinaphex
cc095e56fc
Start refactoring bool variables
2017-04-28 00:53:20 +02:00
twinaphex
f9bc2d3783
Use memcmp instead of string_is_equal where possible for
...
better performance
2017-04-21 22:47:15 +02:00
twinaphex
8c89ec158c
Update copyrights
2017-03-22 03:09:18 +01:00
twinaphex
4b01726f48
(video driver) Minor cleanups
2017-01-25 15:22:12 +01:00
twinaphex
768ce0854c
Make driver_set_nonblock_state a public function
2017-01-22 12:47:17 +01:00
twinaphex
cb64f28950
Create drivers_init
2017-01-16 22:04:57 +01:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913cf2876d2bffd4bedf0284b23f1ed593.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c
Rename runloop_msg_queue_push to video_driver_msg_queue_push
...
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
6cad8e3b74
core_info should be correctly initialized now from the commandline;
...
and not just when launched from menu
2016-12-22 00:50:47 +01:00
twinaphex
08a60c94d0
Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT
2016-12-12 13:02:29 +01:00
twinaphex
9e2717e927
Revert "Create drivers_data array and no longer use recording_data"
...
This reverts commit e049b7e1f0728a6148323c05d1f7052882ff66c0.
2016-12-05 02:02:59 +01:00
twinaphex
e049b7e1f0
Create drivers_data array and no longer use recording_data
2016-12-05 01:56:06 +01:00
twinaphex
f751199860
Create driver mask enums
2016-12-05 01:47:56 +01:00
twinaphex
d078df7a37
Prevent implicit memsets
2016-10-09 09:05:41 +02:00
Jean-André Santoni
c45058d3ae
Start adding a WiFi driver
2016-09-22 02:02:43 +02:00
twinaphex
7c0ba42c09
driver.c - Cleanups
2016-09-17 00:44:29 +02:00
twinaphex
b93ef046a7
Header include cleanups
2016-09-11 16:31:23 +02:00
twinaphex
229e0dd640
Cleanups
2016-09-08 05:48:43 +02:00
twinaphex
8320466824
Add HAVE_CONFIG_H ifdefs
2016-09-06 23:52:33 +02:00
twinaphex
82d82110ae
Merge system.h with core.h
2016-09-06 06:11:54 +02:00
twinaphex
4f577f1932
Get rid of some header includes
2016-09-01 05:36:52 +02:00
twinaphex
ff07d3569b
Move menu_update_libretro_info to menu_driver.c
2016-08-17 12:51:26 +02:00