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
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
Twinaphex
7fedabee4b
Merge pull request #8163 from orbea/cleanup
...
Cleanup
2019-02-04 23:19:05 +01:00
orbea
762151758d
Fix --disable-menu (Again).
2019-02-04 09:01:37 -08:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
twinaphex
000646e51e
Update header includes
2019-01-31 19:06:27 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Brad Parker
13ee5ccfdf
init core info when menu is disabled, remove more menu dependance from Qt
2019-01-06 22:04:23 -05:00
orbea
34f3eb7277
qb: Fix '--disable-rgui'.
...
Also fixes a crash on startup with '--disable-rgui'.
Thread 1 "retroarch" received signal SIGSEGV, Segmentation fault.
0x0000000000529f52 in strlcpy_retro__ (dest=0x7fffffffbb17 "treaming_toggle",
source=0x1 <error: Cannot access memory at address 0x1>, size=250)
at libretro-common/compat/compat_strl.c:38
38 while (--n && (*dest++ = *source++)) src_size++;
(gdb) bt
dest=0x7fffffffbb17 "treaming_toggle",
source=0x1 <error: Cannot access memory at address 0x1>, size=250)
at libretro-common/compat/compat_strl.c:38
size=250) at libretro-common/compat/compat_strl.c:60
out_path=0x7fffffffbb10 "input_", dir=0x94b460 "input", path=0x0,
delim=95 '_', size=256) at libretro-common/file/file_path.c:964
prefix=0x94b460 "input", btn=0x0, bind=0x151e180 <input_autoconf_binds+4672>)
at input/input_driver.c:2483
binds=0x151cf40 <input_autoconf_binds>) at tasks/task_autodetect.c:172
params=0x26adb40, task=0x26b74f0) at tasks/task_autodetect.c:252
params=0x26adb40, task=0x26b74f0) at tasks/task_autodetect.c:393
at tasks/task_autodetect.c:851
at libretro-common/queues/task_queue.c:182
at libretro-common/queues/task_queue.c:609
at frontend/frontend.c:146
at frontend/frontend.c:170
Fixes https://github.com/libretro/RetroArch/issues/7893
2019-01-05 16:54:40 -08:00
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