Vladimir Panteleev
d0e970f175
Fix/reimplement input flushing
...
This fixes:
- menu toggle erratically not working on Android
- stray input going to libretro core when resuming content
- bound keys triggering as soon as they're bound on Android
- menu key repeat also repeating keys which should not be repeated
- issues caused by relying on timeouts for flushing
Architectural changes:
- menu_ctx_driver_t::input_postprocess now takes state and old_state
(this allows getting rid of menu_handle_t::trigger_state)
Related changes:
- remove some no-op input_postprocess handlers (same effect as NULL)
- menu_iterate now uses the parameters passed to it, instead of
polling menu_input
- menu_input is now merged into meta_input_keys_pressed
2014-09-29 12:58:52 +00:00
Jean-André Santoni
7fb42d5da9
(Lakka) Fix subitems fade out
2014-09-25 23:22:17 +02:00
Jean-André Santoni
61435123d0
(Lakka) Fix initial alpha and zoom for settings subitems
2014-09-25 23:17:22 +02:00
Jean-André Santoni
788a081f00
(Lakka) Fix draw_text alpha when animating with a big LAKKA_DELAY
2014-09-25 20:02:38 +02:00
Jean-André Santoni
c172169a9e
(Lakka) Move tweening related functions in an external lib
...
so they can be used from another menu driver. Also add more tweening functions.
2014-09-19 13:36:18 +02:00
Jean-André Santoni
9bbd0b9825
(Lakka) Make settings values responsives
2014-09-19 11:31:06 +02:00
twinaphex
b857890d1e
(Lakka) Fixes
2014-09-16 01:36:28 +02:00
twinaphex
a09e04f679
Split up driver_menu.h into three separate header files -
...
for menu display API, menu backend API, and menu driver general API
2014-09-16 00:52:07 +02:00
Jean-André Santoni
2836d19052
(Lakka) Display a black background if no png background supplied
2014-09-16 00:18:14 +02:00
twinaphex
9e132a0c24
(Lakka) build fix
2014-09-15 17:32:05 +02:00
Lioncash
d1f908b8f8
Fix a few memory leaks
...
Also guard against calloc failure in lakka_init.
2014-09-15 11:29:30 -04:00
twinaphex
eff9bf17a8
Reimplement menu toggle in menu - now remembers last menu
...
(Disp) Menu display drivers shouldn't influence control flow
of menu, so take this out and move menu toggle control flow
to menu_backend driver
instead
2014-09-14 18:07:00 +02:00
twinaphex
2d64c7aa8f
(Menu) Uniquely name png_texture_load in lakka and glui
2014-09-14 15:17:03 +02:00
Higor Eurípedes
91fea130eb
(Lakka) Shut valgrind up
2014-09-12 17:26:26 -03:00
Higor Eurípedes
85cef84bd4
(driver.c) Add driver_video_resolve()
...
This function returns the real video driver data when threaded video is
in use.
2014-09-12 17:26:26 -03:00
Higor Eurípedes
d6de5773b5
(Lakka) Make some globals static
2014-09-12 17:26:26 -03:00
Higor Eurípedes
48f4a96605
(Lakka) Stop initialization if gl is not active
2014-09-12 14:42:59 -03:00
Jean-André Santoni
8b01b78123
(Lakka) Allow editing some boolean, uint and float settings
2014-09-11 22:07:41 +02:00
twinaphex
75d2e13dcb
Make drivers non-const
2014-09-11 07:06:20 +02:00
Jean-André Santoni
0301b924ca
(Lakka) Savestate switching
2014-09-11 00:09:53 +02:00
Jean-André Santoni
eb2c735ba3
(Lakka) Fix subitems allocation
2014-09-10 23:13:19 +02:00
Jean-André Santoni
684af29c06
(Lakka) Use setting_data_get_string_representation
2014-09-10 14:38:41 +02:00
Jean-André Santoni
2aa628d935
(Lakka) First subitem bugfix
2014-09-10 10:58:02 +02:00
Twinaphex
916367e686
(OSX) Add HAVE_LAKKA to OSX solution
2014-09-10 04:53:07 +02:00
Twinaphex
857457a615
Merge pull request #965 from lioncash/unused
...
lakka: Fix a few bugs
2014-09-10 04:33:22 +02:00
Lioncash
f64638567f
lakka: Fix a few bugs
...
- Previously it would attempt to print the pointer, not the actual value in a few sprintf statements.
- Change integer to unsigned_integer for the %u sprintf call.
- Initialize jj to zero so that it doesn't get used uninitialized.
2014-09-09 22:29:17 -04:00
Twinaphex
472f682982
Merge pull request #964 from lioncash/unused
...
lakka: Remove unused variables
2014-09-10 04:15:59 +02:00
Lioncash
af42c1b2d7
lakka: Remove unused variables
2014-09-09 22:02:10 -04:00
Jean-André Santoni
dee1890d9a
(Lakka) Handles cores that support no games
2014-09-10 01:49:51 +02:00
Jean-André Santoni
34368ad886
(Lakka) Display settings, read only for now
2014-09-09 22:59:27 +02:00
Jean-André Santoni
21236b0aa0
(Lakka) Start implementing settings
2014-09-09 00:08:25 +02:00
Higor Eurípedes
f9206a5419
(Lakka) Coding standard compliance fixes
2014-09-06 22:59:27 -03:00
Higor Eurípedes
a583a1b941
(Lakka) Fix directory list memleak
2014-09-06 22:56:30 -03:00
Higor Eurípedes
5ba310918d
(Lakka) Avoid invalid read and properly deinitialize sub menu items
2014-09-06 22:50:04 -03:00
Higor Eurípedes
3bcac616f7
(Lakka) Fix invalid read
2014-09-06 22:37:39 -03:00
Higor Eurípedes
8214f22761
(Lakka) Remove strange ampersand operator usage
2014-09-06 21:56:47 -03:00
Timo Strunk
3a1626f3cf
Merge remote-tracking branch 'upstream/master' into compressed_file_menu
2014-09-06 21:04:13 +02:00
Higor Eurípedes
a0de5b03b5
(Lakka) Solve some memory leaks
2014-09-06 14:28:53 -03:00
Higor Eurípedes
6b3cf20345
(Lakka) Shut valgrind up
2014-09-06 14:09:07 -03:00
Timo Strunk
38fec68fe9
Merge remote-tracking branch 'upstream/master' into compressed_file_menu
2014-09-06 17:51:54 +02:00
Floréal Toumikian
1f396357ff
Fixed Lakka menu
2014-09-06 15:05:50 +02:00
Timo Strunk
76d62ae7fc
Restores isdirectory functionality in all guis again
2014-09-04 21:46:14 +02:00
Lioncash
2c47dc171e
lakka: Guard against the possibility of realloc failing
2014-09-03 20:54:12 -04:00
Lioncash
02a1d38912
lakka: Remove three unnecessary NULL checks.
...
These are already checked for after the initialization of themselves.
2014-09-03 20:52:31 -04:00
Lioncash
99443f5745
lakka: Fix a few missing NULL checks.
...
If these are ever NULL, we'd hit null pointer dereferencing.
2014-09-03 20:51:21 -04:00
Lioncash
cf01bd0128
lakka: Remove unused variables
2014-09-03 20:20:04 -04:00
twinaphex
5a5d58d8e8
Refactor more direct manipulation of g_extern.lifecycle_state
2014-09-03 16:58:20 +02:00
twinaphex
c92269dedf
Move core_info/core_info_current to global
2014-09-03 14:57:29 +02:00
twinaphex
d36a4c5257
Cleanups - 80-char limit, C-style comments
2014-09-02 16:03:17 +02:00
twinaphex
0ffd9d8c4f
(Lakka disp) Add some more checks to gl->shader->use
2014-09-01 19:35:10 +02:00