twinaphex
611bb0331f
Cleanups to load_menu_game
2014-06-03 02:28:38 +02:00
Jean-André Santoni
365fded925
(Lakka) Store the content icons in the category to save ram
2014-06-03 02:20:24 +02:00
twinaphex
8deaf2b714
(Menu) Forgot to deinit if main_is_init is true
2014-06-03 02:01:49 +02:00
twinaphex
ae1e3b3f07
Rewrite rarch_main_wrap - we need a way of getting a valid argc/argv
...
pair for consoles where we get stupid argc/argv pairs back that need
to be 'converted' into something that RetroArch's PC-style args parsing
can deal with
2014-06-03 01:45:25 +02:00
Jean-André Santoni
f2ce3fcbae
(Lakka) Code refactoring and performance improvements
2014-06-02 23:57:31 +02:00
twinaphex
83174b51c4
Correct 'ret' return of process_args at least - 0 is for content
...
being loaded, 1 is if content is not loaded
2014-06-02 22:58:28 +02:00
twinaphex
12a63a7bc8
(Frontend) Push load game history when process_args returns 1 for
...
console/mobile
2014-06-02 21:44:02 +02:00
Jean-André Santoni
36eaf74a2e
(Lakka) Fix a performance issue in lakka_frame when displaying a submenu
2014-06-02 21:15:12 +02:00
twinaphex
7014b703ba
Revert "Always do menu_push_history_current when starting with content"
...
This reverts commit 30ce741f98
.
2014-06-02 18:15:26 +02:00
twinaphex
30ce741f98
Always do menu_push_history_current when starting with content
2014-06-02 18:01:18 +02:00
Twinaphex
98491c3fa6
Merge pull request #726 from lakkatv/lakka
...
(Lakka) Display some fake settings
2014-06-02 16:45:08 +02:00
Jean-André Santoni
70b58f26fd
(Lakka) Display some fake settings
2014-06-02 16:34:17 +02:00
twinaphex
ae6688465c
(Menu) Add more info descriptions
2014-06-02 15:48:21 +02:00
twinaphex
42e012a080
(Menu) When both HAVE_DYLIB and HAVE_FILTERS_BUILTIN were defined,
...
menu item 'Video Filter' would respond to wrong action upon pressing
RGUI_ACTION_OK
2014-06-02 10:52:27 +02:00
twinaphex
2e430a9438
(Android) Should resume now from sleep again
2014-06-02 10:36:52 +02:00
twinaphex
537db4929c
(Android) Fix ROM parameter passing from Android frontend to
...
RetroArch native activity
2014-06-02 10:23:48 +02:00
twinaphex
a26bb62a56
(PS3) Add some HAVE_OPENGL ifdefs for platform_ps3.c
2014-06-02 09:37:26 +02:00
twinaphex
f224c21b7f
(Android) platform_android.c - reduce reliance on g_extern.lifecycle_state
...
for pausing
2014-06-02 09:31:14 +02:00
twinaphex
d04f86814d
(Android) More changes to platform_android.c
2014-06-02 09:24:06 +02:00
twinaphex
a55379c35b
(Android) Change some params to default_paths in environment_get
...
function
(Default paths) Add default_paths.core_path
2014-06-02 08:55:47 +02:00
twinaphex
adc9d2bbee
(Menu) Put Frontend Counters on top
2014-06-02 00:29:04 +02:00
twinaphex
5d68975d0a
(Menu) Add Frontend and Core Performance Counters
2014-06-01 23:54:26 +02:00
Twinaphex
58891e9ac8
Merge pull request #725 from lakkatv/lakka
...
(Lakka) Fix active item label
2014-06-01 22:55:59 +02:00
twinaphex
b51b0d1e62
(Android) platform_android - cleanups
2014-06-01 22:51:52 +02:00
Jean-André Santoni
b3da7c1a4b
(Lakka) Fix active item label
2014-06-01 22:37:05 +02:00
twinaphex
001d6e8897
Get rid of PERF_TEST entirely - if Performance Counters setting is
...
enabled, will also report performance counters log at exit
2014-06-01 22:16:22 +02:00
twinaphex
753d78dfd3
(Performance counters) Add performance counters to regular build
...
(Menu/Setting) Enable g_extern.perfcnt_enable - turns RetroArch
frontend perfcounters on/off
(Menu) Add menu option 'Performance Counters'
2014-06-01 22:07:39 +02:00
Themaister
51a3de5120
Avoid having to redefine all binds.
2014-06-01 20:53:52 +02:00
twinaphex
80f5167bd9
(Menu) Add more info descriptions for menu items
2014-06-01 20:43:55 +02:00
Themaister
3138152a80
Allow perf counter reset from RGUI.
2014-06-01 20:24:55 +02:00
Themaister
88a0fa81c2
Fix perf counter offset.
2014-06-01 20:08:10 +02:00
Themaister
cb6db240de
Avoid some more crazy switch mess.
2014-06-01 19:59:38 +02:00
Themaister
6ee535eafd
Avoid some pretty nasty switch mess.
2014-06-01 19:55:53 +02:00
twinaphex
a71d9d2811
(Menu) Minor nits
2014-06-01 18:54:07 +02:00
twinaphex
df53c6b6e7
(Menu) Add Performance Counters Option. TODO - when in Performance
...
Counters menu, should update values in real-time
2014-06-01 18:45:03 +02:00
Twinaphex
2fdc3a72ce
Merge pull request #723 from lakkatv/lakka
...
(Lakka) Init textures and labels in context_reset and destroy them in co...
2014-06-01 17:29:36 +02:00
Jean-André Santoni
9e3e3180d8
(Lakka) Init textures and labels in context_reset and destroy them in context_destroy
2014-06-01 17:07:03 +02:00
twinaphex
07592eaf63
Don't use rgui_handle_t pointer in GX video code and frontend.c
2014-06-01 15:59:39 +02:00
Themaister
d8c8f3a139
Sinc works just fine for downsampling.
2014-06-01 12:08:48 +02:00
twinaphex
871c7834e8
(Android) Build fix
2014-06-01 07:19:57 +02:00
twinaphex
15010dc77c
(Menu) Add some info screen messages for individual drivers
2014-06-01 06:54:09 +02:00
twinaphex
ba8ae2371f
(Salamander) frontend_salamander - pass argc pointer to get_environment
2014-06-01 05:57:45 +02:00
twinaphex
908164868f
Make 'argc' into int pointer so that we can modify argc inside
...
get_environment callback
2014-06-01 05:56:38 +02:00
twinaphex
237ac1aa56
Add default_paths.audio_filter_dir
2014-06-01 05:52:16 +02:00
twinaphex
51a3d93fbd
(Menu) DSP filter Directory Path needs to be exposed to non-HAVE_DYLIB
...
targets too
2014-06-01 05:47:34 +02:00
twinaphex
4f27c4b56d
(Salamander XDK1) Fix build
2014-06-01 05:35:28 +02:00
twinaphex
4d26d32e8a
(Salamander) Fix build
2014-06-01 05:09:00 +02:00
twinaphex
4d63b1d391
Move default_paths to settings.c
2014-06-01 05:06:55 +02:00
twinaphex
7303be0195
Merge rarch_console.h with frontend.h
2014-06-01 04:50:00 +02:00
twinaphex
6fa7e1894e
(GX) Move Wii-specific hack done to argc/argv to environment_get
...
function (platform_gx.c)
2014-06-01 04:42:32 +02:00
twinaphex
31f7c4e3fa
(PS3) Fix warnings in history.c - potential uninitialized variables
2014-06-01 03:20:53 +02:00
twinaphex
98467a744e
(GX) Fix warning
2014-06-01 03:17:46 +02:00
twinaphex
08c8e5fb5f
Reduce amount of includes for rarch_console.h
2014-06-01 03:08:26 +02:00
twinaphex
16350367b7
(360) Build fixes
2014-06-01 02:33:43 +02:00
twinaphex
06ee8f1bc6
(core_info) Do same here
2014-06-01 02:29:19 +02:00
twinaphex
a0bbb144be
Do same for core_info.c and history.c
2014-06-01 02:16:48 +02:00
twinaphex
5e11bf34ac
(File List) Fix errors with MSVC 2003 - 'cannot convert parameter
...
1 from 'void *' to 'file_list_t *'
2014-06-01 02:08:51 +02:00
twinaphex
1e73dcfb1d
(Lakka) Some cleanups
2014-06-01 01:08:39 +02:00
twinaphex
d362fa818a
(Lakka) fix build
2014-06-01 00:48:54 +02:00
Themaister
4449f071ed
Create rarch_reinit_drivers().
...
Avoid rarch_set_fullscreen() calls which are non-intuitive.
2014-06-01 00:42:36 +02:00
Themaister
79bd141839
Don't pass useless argument to set_texture().
...
Be more defensive in rmenu texture upload.
2014-06-01 00:20:54 +02:00
Themaister
206ea8012f
Don't completely reinit menu driver unless we're killing Rarch.
2014-05-31 23:54:07 +02:00
twinaphex
ea49c5ecae
Revert "(RMenu) Take out menu_texture_inited bool"
...
This reverts commit 36820347b3
.
2014-05-31 23:47:35 +02:00
Themaister
f1b3252193
Don't init assets from init.
...
Rename to context_reset/context_destroy and let the driver init/uninit
step signal the menu when the context is going down and coming up.
2014-05-31 23:24:46 +02:00
twinaphex
d5ec0c8d90
(Lakka) Add glDeleteTextures calls to lakka_free_assets
2014-05-31 23:19:59 +02:00
twinaphex
36820347b3
(RMenu) Take out menu_texture_inited bool
2014-05-31 23:01:20 +02:00
Themaister
ec92abba9f
Full fullscreen toggle and DSP reinit.
...
Softfilters broken due to menu reinit. The whole menu stack gets flushed
out causing infinite loop.
2014-05-31 22:58:22 +02:00
twinaphex
61ec27fd5c
(Menu) Use driver.menu instead of grabbing pointer from menu.driver
2014-05-31 22:56:33 +02:00
twinaphex
262c1aa54b
Softfilter toggling currently broken
2014-05-31 22:38:09 +02:00
twinaphex
5e05665a0e
(Menu) Replace rgui pointers everywhere in menu code with driver.menu
2014-05-31 22:35:08 +02:00
Toad King
500c3aac30
[GX] code cleanup
2014-05-31 16:27:35 -04:00
Toad King
d77c551aad
[WII] fix loaders/history/core detect
2014-05-31 16:27:35 -04:00
twinaphex
9212043920
(Menu) More cleaning up - replace rgui pointer with driver.menu
...
everywhere in menu_common_backend.c and disp/rgui.c
2014-05-31 22:20:27 +02:00
twinaphex
deb737e3c5
Start getting rid of continuous grabbing of pointer from driver.menu
...
and instead use driver.menu directly from the menu code everywhere
- starting with menu_common - backend and display drivers next
2014-05-31 21:45:16 +02:00
twinaphex
9b545db864
It should be possible to move the definiton of this struct to
...
driver.h now - now that all the dependencies are gone
2014-05-31 21:31:31 +02:00
twinaphex
d63a23dd06
Header changes
2014-05-31 21:23:53 +02:00
twinaphex
e3983d386b
(Lakka) Build fixes
2014-05-31 21:17:08 +02:00
twinaphex
ecb21743f8
(Menu) Convert rgui->shader into void* too
2014-05-31 21:08:32 +02:00
twinaphex
8f8f757d65
(Menu) Turn core_info_current into void*
2014-05-31 20:37:37 +02:00
twinaphex
d3c36ad5ad
(file_list.c) Make file_list_get_at_offset more robust
2014-05-31 20:02:02 +02:00
twinaphex
711a776f02
(Menu) Refactors
2014-05-31 19:22:23 +02:00
twinaphex
aaab33c014
(PS3 Salamander) Build fix
2014-05-31 18:45:08 +02:00
twinaphex
327be0af85
(PS3) frontend_ps3_process_args - properly sets verbosity back to original verbosity
...
before returning
2014-05-31 18:43:49 +02:00
twinaphex
ef7e3c91de
(RARCH_CONSOLE) Verbose logging is no longer enforced
2014-05-31 18:34:06 +02:00
twinaphex
b4256ac0ed
Cleanup menu_common.h
2014-05-31 16:48:07 +02:00
twinaphex
cc08dd30d9
(Menu) Get rid of some unneeded includes in menu_common.h
2014-05-31 16:41:11 +02:00
twinaphex
521c5e077f
(Frontend) Add init_msg_queue after rarch_main_clear_state
2014-05-31 16:31:03 +02:00
twinaphex
7b0ce6131e
(Apple) platform_apple.c - some cleanups
2014-05-31 16:30:09 +02:00
twinaphex
f47b321cdf
(PSP) Add default asset dir and core info dir
2014-05-31 16:27:19 +02:00
twinaphex
1bdfed187f
(QNX) Remove config_load in get_environment
2014-05-31 16:25:30 +02:00
twinaphex
64d413fb68
Add screenshot_dir to default_paths
2014-05-31 16:23:45 +02:00
twinaphex
47b936aa33
(GX) Set default overlay dir
2014-05-31 16:17:59 +02:00
Themaister
53661c5dea
Avoid global info_selection_ptr.
...
Don't reset selection_ptr after info screen.
2014-05-31 14:52:27 +02:00
Themaister
768e23ef4d
Clarify that SIGINT/SIGTERM is fine.
2014-05-31 14:48:29 +02:00
Themaister
3e3bc4fd28
You cannot disable composition on Windows 8.
2014-05-31 14:44:06 +02:00
Twinaphex
76c153f9a3
Merge pull request #721 from lakkatv/lakka
...
(Lakka) Fix init and reinit only textures
2014-05-31 14:39:22 +02:00
Themaister
1a2752a0bc
Fix crash on startup.
2014-05-31 14:37:57 +02:00
Jean-André Santoni
09ec46e6b5
(Lakka) Fix init and reinit only textures
2014-05-31 13:25:33 +02:00
twinaphex
7ee81ef4d5
Build fix
2014-05-31 08:17:18 +02:00
twinaphex
da51530f0e
(RARCH_CONSOLE) Setup default_paths properly
2014-05-31 08:15:57 +02:00
twinaphex
261ac0e3e7
(RARCH_CONSOLE) Now uses same menu input binds for menu as
...
PC - allows analog sticks to be used for navigation as well
for consoles
2014-05-31 05:41:32 +02:00
twinaphex
db0da490fa
(Menu) Add Info button - press 'Select' on the RetroPad to
...
have a message box pop up on an item. It will provide you with
info on the item. Not all items covered yet but it's coming along.
2014-05-31 05:14:44 +02:00
Toad King
8d7bbdce95
frontend.c cleanup
2014-05-30 20:21:23 -04:00
twinaphex
71032bafb3
(RMenu XUI) Build fix
2014-05-30 22:37:23 +02:00
twinaphex
cb4f3fb8e0
Move unused variable inside HAVE_SHADER_MANAGER ifdef
2014-05-30 22:31:49 +02:00
twinaphex
d7aa48aa33
(Menu) Don't pass rgui pointer to menu_build_scroll_indices
2014-05-30 22:06:54 +02:00
twinaphex
f49ea47040
(RMenu) Implement shader parameter representation logic in
...
RMenu display layer
2014-05-30 22:04:53 +02:00
twinaphex
6307202a6d
(Menu) render_messagebox/render/frame functions from menu_ctx no longer
...
get a rgui handle passed to them
2014-05-30 21:51:12 +02:00
twinaphex
a282a10ba9
(Lakka) Build fix
2014-05-30 21:15:39 +02:00
twinaphex
0c6b167e4d
(Menu) Don't invoke rarch_set_fullscreen for 'defaulting' SoftFilter
2014-05-30 21:12:09 +02:00
twinaphex
68c9a6003c
(Menu) Prevent another few segfaults when trying to 'default'
...
softfilter - have to continually grab pointer back to driver.menu
after some function occurred that could have changed driver.menu
2014-05-30 21:10:15 +02:00
twinaphex
e313c9d181
(Filters) Fixes filter applying - don't do rarch_set_fullscreen
...
for applying filters - instead do rarch_deinit_filter and rarch_init_filter - faster and less bug-prone since rarch_set_fullscreen will also bring
down menu
2014-05-30 21:01:17 +02:00
twinaphex
776d4599e3
(Menu) Fixes crash when toggling fullscreen mode in menu mode
2014-05-30 20:55:59 +02:00
twinaphex
8c1b4a3835
(Menu) Get rid of spammy log
2014-05-30 20:53:49 +02:00
twinaphex
b2d9c60613
(Menu) Don't pass menu data to menu_iterate
...
(Menu) Don't pass menu data to backend - postprocess
2014-05-30 20:53:10 +02:00
twinaphex
04c84dc36c
(RGUI) Return null if calloc of rgui struct fails in rgui_init
2014-05-30 20:41:31 +02:00
twinaphex
34ed0b3e04
(Menu) Get rid of hacky menu_reinit_context - NOTE - looks like the
...
RGUI display driver does not clean up all the state since continually
invoking rarch_set_fullscreen will eventually cause segfaults
2014-05-30 20:37:47 +02:00
twinaphex
779c467191
(Menu) Get rid of passing rgui pointer around to most functions in
...
menu backend. NOTE: Applying filters seems to be broken on PC
right now, investigate
2014-05-30 20:23:20 +02:00
twinaphex
c57f780d9f
(Menu) Start undoing passing rgui pointer to every menu-related
...
function - the only functions where it should actually pass a
pointer instead of just grabbing a pointer from menu.driver should
be in the menu init/deinit functions
2014-05-30 19:34:01 +02:00
twinaphex
0488dca77a
(Menu) Some cleanups to prevent crashing when applying softfilter
...
several times - should do something about this menu pointer being
passed around from function to function
2014-05-30 18:52:03 +02:00
twinaphex
d267f27130
(Style nit) Rename 'init' to 'initialize' in comments
...
(Filter) Get rid of questionable ifdef for HAVE_FILTERS_BUILTIN for
filter init
2014-05-30 18:23:32 +02:00
twinaphex
af440bf545
(Menu) Menu now gets inited from driver.c instead of frontend.c
...
(Console) Better way to 'restart' instead of using the function
'restart' - call rarch_set_fullscreen instead. 'Restart' function
in driver interface can go now
(Menu) Menu now gets properly deinited/reinited when - say -
rarch_set_fullscreen is toggled or some other state change like this.
If init_assets function of menu_ctx_driver is implemented, this should
ensure all GL/D3D assets get 'cleaned up' prior to teardown of the video
driver, and properly reinited after the video driver is brought up again
2014-05-30 17:49:04 +02:00
twinaphex
9319fb7c5b
(Menu) When applying softfilter, use rarch_set_fullscreen
...
for all targets
2014-05-30 09:02:56 +02:00
twinaphex
9adeae2df3
(Lakka) update_tweens gets value of 0.002 - assume
...
monitor refresh rate lock in RGUI
2014-05-29 17:44:31 +02:00
twinaphex
223ae6033d
(Lakka) Animations show up - unreliable though
2014-05-29 16:35:23 +02:00
twinaphex
0fce77fd1b
(GX) Fill in gx_free (move code from platform_gx.c to gx/gx_video.c)
2014-05-29 05:55:21 +02:00
twinaphex
b0b9599822
(Frontend) More cleanups
2014-05-28 22:44:25 +02:00
twinaphex
14c81f13c9
(Frontend) Remove attempt_load_game variable
2014-05-28 22:20:08 +02:00
twinaphex
d70b8a0f15
Get rid of global driver init/uninit bullshit - we're going to do
...
console initing/deiniting properly once and for all
2014-05-28 22:09:42 +02:00
twinaphex
e1387a7b0b
Take out image driver
2014-05-28 21:14:33 +02:00
twinaphex
66d4148e57
(GX) Build fix
2014-05-28 17:48:12 +02:00
Twinaphex
5354de4439
Merge pull request #711 from lakkatv/lakka
...
(Lakka) Fix a segfault in items_init
2014-05-27 22:48:02 +02:00
Jean-André Santoni
8a656cfccc
(Lakka) Fix a segfault in items_init
2014-05-27 22:43:04 +02:00
twinaphex
5da884036e
(PS3) Starts to somewhat get back to booting - still a lot of
...
breakage to go through
2014-05-27 21:38:30 +02:00
twinaphex
1416e47195
(Console) Should bring up menu context in case it fails the first time
2014-05-27 19:21:44 +02:00
twinaphex
f788249c59
(Menu) Add get_default_menu function for default settings
2014-05-27 17:13:53 +02:00
Twinaphex
a56d57c615
Merge pull request #706 from libretro/shader-parameter
...
Shader parameter
2014-05-27 16:28:06 +02:00
twinaphex
a25a258153
(Menu) Add Content Dir label
2014-05-27 07:58:41 +02:00
twinaphex
3a5011afcc
(Menu) Add Content Directory option
2014-05-27 07:57:28 +02:00
twinaphex
bc41b942e6
(Menu) Browser Directory was erroneously named 'Content Directory'
2014-05-27 07:53:39 +02:00
twinaphex
0f578ad97d
(Lakka) More cleanups
2014-05-27 06:32:33 +02:00
twinaphex
bffbdbaca7
(Lakka) Cleanups
2014-05-27 06:27:31 +02:00
twinaphex
ebfb104986
(Lakka) Prevent some more segfault bugs
2014-05-27 03:48:08 +02:00
twinaphex
7acf7e706d
(Lakka) Remove more redundant re-setting of rgui->last_time
2014-05-27 03:29:21 +02:00
twinaphex
3846ad5f0d
(Lakka) Cleanups
2014-05-27 03:25:41 +02:00
twinaphex
76bf7525ca
(Lakka) More cleanups
2014-05-27 03:06:58 +02:00
twinaphex
20b54b476a
(Lakka) Debork more code
2014-05-27 02:26:15 +02:00
twinaphex
0abbd3968b
(Lakka) Refactor more broken code
2014-05-27 02:02:39 +02:00
twinaphex
81fe85624a
(Lakka) Start refactoring questionable C code
2014-05-27 01:31:27 +02:00
twinaphex
e69b9c4f8a
(Menu) Initialize menu driver during init_drivers_pre
2014-05-26 23:18:49 +02:00