Commit Graph

1781 Commits

Author SHA1 Message Date
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
Themaister ca3d4416d3 Can save parameters. Can tweak on RGUI presets and current shader. 2014-05-26 18:48:29 +02:00
Themaister b38c30b368 Can tweak shader parameters from RGUI.
Just need to figure out how to handle parameter saving now.
2014-05-26 18:47:49 +02:00
twinaphex e447c654ad (Lakka) Integrate png_texture_load.c code into disp/lakka.c 2014-05-26 18:40:27 +02:00
twinaphex 50ff38195a (Lakka) Integrate tween.c code into disp/lakka.c 2014-05-26 18:32:32 +02:00
Themaister dfd33a8f3f Rename Video Filter Directory.
Overflowed RGUI.
2014-05-26 16:09:19 +02:00
twinaphex 496915eb20 (Menu) Add Autoconfig Dir Path option 2014-05-26 02:57:44 +02:00
twinaphex 09f5f2c25a (Menu) Expose logging verbosity and libretro log level to menu
(Settings) Save logging verbosity
2014-05-26 02:44:58 +02:00
Themaister 25e56d8db0 Kill support for XML shaders.
Long overdue ...
2014-05-25 17:16:45 +02:00
Themaister 42d501fae1 Rename Game Speed Cap. 2014-05-25 17:01:16 +02:00
Themaister 07ab8c0052 Whitespace derp. 2014-05-25 13:18:24 +02:00
Themaister 745cab4f4e Fixups for fastforward_ratio and slowmotion_ratio.
Rename to Game Speed Cap in RGUI, more clear.
2014-05-25 13:13:55 +02:00
twinaphex d536435ea2 (Menu) Expose fast-forward ratio and slowmotion ratio to menu_common_backend 2014-05-25 06:09:12 +02:00
twinaphex c081993fd7 (Menu common) Put variable declarations on top 2014-05-22 06:20:10 +02:00
twinaphex 405d8b4370 (Menu) Refactor menu_defer_core to make it have less dependencies 2014-05-22 06:19:15 +02:00
twinaphex 9e1dfbef29 Split up defer core functionality to menu_common and create
callbacks for menu backend context-specific operations
2014-05-22 03:12:56 +02:00
Themaister 0e85445420 Remove RGUI_SETTINGS_BIND_DSP_CONFIG. 2014-05-20 14:09:08 +02:00
Themaister 1b9bbbd381 Some Panning fixes. 2014-05-20 14:00:48 +02:00
Themaister addba80c3b Rewrite DSP plugin interface. 2014-05-20 12:28:33 +02:00
twinaphex 701a805737 (Playbook) Fixes Playbook build 2014-05-20 02:33:09 +02:00
twinaphex cf7b6b0c4a (BB10) Take out some ifdefs for BB10 2014-05-18 11:04:30 +02:00
twinaphex d62164c4ae (BB10) Build fixes
(General) Fix some unused variable warnings
2014-05-17 22:16:25 +02:00
twinaphex a0567c3c77 (BB10) Start cleaning up some include header references
(Android) Uniquely name symbols - platform_android.c
2014-05-17 15:45:14 +02:00
twinaphex 90b7589b5d (Platform context) Unique names per platform instance 2014-05-17 14:56:12 +02:00
twinaphex 3e667a8c07 (Playbook) Fix build 2014-05-17 14:36:15 +02:00
twinaphex fdfa41b1e0 (Frontend) Add get_rating to frontend context 2014-05-16 22:20:51 +02:00
twinaphex 7773daa125 (Menu) If g_settings.input.analog_dpad_mode is set to ANALOG_DPAD_NONE,
force to ANALOG_DPAD_LSTICK  anyway. Might need some safety checks from
polling input to ensure controls do not go hayware when pad with analog stick
is not properly paired yet.
2014-05-14 04:40:06 +02:00
twinaphex 6fd5248fa6 Revert "(Menu) Analog to Dpad binds now get used for menu navigation when one" -
this code is messed up - we need to come up with a good way to allow analog
movement in the menu to be the same as the D-pad without affecting the
input of the main game
This reverts commit 0280fc769b.
2014-05-14 03:47:11 +02:00
twinaphex 0280fc769b (Menu) Analog to Dpad binds now get used for menu navigation when one
of the analog sticks is bound to the D-pad
2014-05-14 00:19:19 +02:00
twinaphex 8821a54aba put frontend_ctx variable into driver struct 2014-05-13 20:23:36 +02:00
twinaphex 1d552c42ee (Apple) Style nits/cleanups 2014-05-12 16:37:02 +02:00
twinaphex 10c801b64e Take out MODE_EXIT 2014-05-12 16:01:00 +02:00
twinaphex dda574ddf1 (Lakka) More deborking of Lakka 2014-05-12 15:36:01 +02:00
twinaphex d9e31151ed (Lakka/GL) Take out HAVE_LAKKA hack in gl.c - animations/tweening needs to
be fixed though
2014-05-11 20:47:44 +02:00
twinaphex fda33fec90 (Settings data) More shuffling around 2014-05-11 04:28:53 +02:00
twinaphex 88d9aae9a2 (RARCH_CONSOLE) Build fix 2014-05-10 20:40:11 +02:00
twinaphex b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
twinaphex 107efae2e2 (Lakka) Cleanups 2014-05-10 06:21:03 +02:00
twinaphex bbce01a449 (Lakka) Lakka now uses assets directory instead of hardcoded
/usr/share/retroarch
2014-05-10 05:25:50 +02:00
twinaphex ac2ddc3b20 Add 'assets' directory - interfaces like menus will try to look
here for loadable assets, etc. Can be expanded in scope later on
as well as a sandbox directory for user-modified content.
2014-05-10 05:12:31 +02:00
twinaphex d7c1ea5ece Revert "(RARCH_CONSOLE) Can finally get rid of global_driver_init"
Spoke too soon - we really need to refactor this mess so that
consoles, mobile and PC all follow the SAME basic initing/deiniting
structure. This kind of backwardsness is going to scale very, very
badly.

This reverts commit 540fad51a6.
2014-05-10 03:33:11 +02:00
twinaphex 43b79f34c9 (Lakka) ROM/core loading - add codepath for targets that don't
have HAVE_DYNAMIC defined as well
2014-05-10 00:07:15 +02:00
twinaphex a359045da3 (Lakka) Style nits and update headers 2014-05-09 23:50:40 +02:00
twinaphex b67a55518c (Lakka) Loads roms now 2014-05-09 21:43:21 +02:00
Twinaphex 01de6f9b6e Merge pull request #679 from lakkatv/lakka-integration
Fix hardcoded screen size
2014-05-09 21:28:14 +02:00