Commit Graph

2044 Commits

Author SHA1 Message Date
twinaphex 3d8d807e6b Refactor a bunch of menu code - menu 'settings' can now be implemented
per-menu context
2014-04-26 01:54:15 +02:00
twinaphex 70164a8105 (PPC) Build fix 2014-04-19 21:40:42 +02:00
twinaphex 569de131a0 Move device enums outside of driver.h - and create new callback
for 'getting' the number of 'devices' the input driver supports
2014-04-17 20:47:43 +02:00
Twinaphex 4e2572bbfe (MSVC 360) Build fix 2014-04-17 17:42:41 -07:00
Themaister 1ccbc10d22 Style nit. 2014-04-16 11:38:04 +02:00
twinaphex 9772c48016 (SoftFilter) Cleaner and more portable way of grabbing the name from the filter 2014-04-16 06:48:24 +02:00
twinaphex 415440948c (menu_settings.c) Build fix 2014-04-16 03:36:54 +02:00
twinaphex 8d6a7dbe1f (Console) Bakes in filters now for ifndef HAVE_DYLIB targets 2014-04-16 03:33:10 +02:00
twinaphex 45c917afa4 Compile in filters for console ports (HAVE_DYLIB not defined in
Griffin)
2014-04-16 02:09:09 +02:00
twinaphex d17392b835 (OSX) Fix some warnings 2014-04-15 16:53:38 +02:00
Themaister cd3e97df19 Print correctly in RGUI. 2014-04-15 12:32:56 +02:00
Themaister e780c1fed1 Changing filters requires driver reinit. 2014-04-15 12:25:41 +02:00
Themaister 4913683462 Small filter fixes. 2014-04-15 12:22:01 +02:00
twinaphex 6bdd5cf6ec Add RGUI actions for Softfilter directory path and Softfilter selection -
maister - test if this works - it doesn't here on my end and keeps saying
that the example softfilter (dark.c) has the wrong color format)
2014-04-15 06:19:24 +02:00
Themaister 1cc9d10e09 Fix CXX_BUILD. 2014-04-14 09:07:15 +02:00
twinaphex 125d9e837e Add load_dummy_on_core_shutdown option to cfg and RGUI 2014-04-14 06:07:17 +02:00
twinaphex f0f615c38a (OSX) Build fix 2014-04-14 04:00:51 +02:00
Twinaphex ad60a4fa1b (360) Build fix 2014-04-14 02:34:28 -07:00
Twinaphex f156443e5f (MSVC) Build fix 2014-04-14 02:08:20 -07:00
twinaphex 195efc5acf (PS3) Build fix 2014-04-14 02:41:44 +02:00
twinaphex 9dfcded389 (Menu) Refactor menu code -move backend menu code to separate driver 2014-04-14 02:32:54 +02:00
twinaphex dcebbf0202 (XUI) Move file list code to XUI 2014-04-14 00:09:52 +02:00
twinaphex 9bc6e99104 Clean up menu_navigation 2014-04-13 23:42:04 +02:00
Themaister 982c8e87a3 Bump keybind timeout to 5 s. 2014-04-13 23:35:42 +02:00
Themaister 72671279c7 Correctly check for RGUI_ACTION_OK. 2014-04-13 20:12:45 +02:00
Themaister 64652f5ee9 Use bind mode to differentiate between keyboard/joypad binding. 2014-04-13 20:09:51 +02:00
Themaister 39ef5d8e03 Don't accept hotkeys until key has been released.
Avoid quitting RetroArch immediately after Quit RetroArch bind.
2014-04-13 19:47:32 +02:00
Themaister 255e43966a Implement basic keyboard binding in RGUI. 2014-04-13 12:12:12 +02:00
Themaister 6d6ec8b35a Allow toggling available device types in RGUI. 2014-04-12 14:12:06 +02:00
Themaister aafe28bb14 Add some testing of new controller info API to libretro-test. 2014-04-12 13:59:19 +02:00
Themaister b4eaf81fed Begin implementing SET_CONTROLLER_INFO. 2014-04-12 13:22:24 +02:00
Themaister 063bf83a5f Use correct default font size on default in RGUI. 2014-04-08 21:01:11 +02:00
twinaphex 821d6b083e Update rmenu.c/rmenu_xui.cpp 2014-04-08 16:23:28 +02:00
Themaister 7344bfe9c6 Some font option tweaks. 2014-04-08 16:13:44 +02:00
twinaphex d46304a80c (menu_settings.c) Fix typo - HAVE_LOCATION ifdef 2014-04-08 02:28:32 +02:00
twinaphex 802bbcb321 (Menu) Add Font Options 2014-04-07 22:12:23 +02:00
twinaphex e779681528 Add Privacy Options 2014-04-06 22:59:16 +02:00
Themaister a802b18212 Fix derp. 2014-04-06 15:42:40 +02:00
Themaister 2e3ca36010 Allow toggling monitor index in RGUI. 2014-04-06 15:41:53 +02:00
Themaister c81de5119d Initial take on subsystems support. 2014-04-04 14:58:42 +02:00
Themaister ab2040a100 Avoid some confusing opaqueness.
First argument of menu_ctx_init_first must always be const menu_ctx_driver_t**.
2014-04-01 17:42:00 +02:00
twinaphex a40e942280 Add frame function to menu_ctx_driver_t struct 2014-04-01 04:45:00 +02:00
twinaphex aadb940da8 Move menu_context.c code into driver.c 2014-04-01 04:12:41 +02:00
twinaphex f3cae240e0 Take out rgui_handle_t dependency in menu_context.c 2014-04-01 04:08:44 +02:00
twinaphex 6064511cc2 Move menu_ctx variable over to driver struct 2014-04-01 04:03:55 +02:00
twinaphex 454ef3fa28 (menu context) Go through opaque pointers 2014-04-01 03:51:32 +02:00
twinaphex b6484f80ab (Menu) RGUI_MAX_SHADERS becomes GFX_MAX_SHADERS 2014-03-30 17:35:22 +02:00
twinaphex 064a0c87a0 (Apple) Build fix 2014-03-28 16:10:55 +01:00
Themaister 6eb349dca6 Remove passing around video_data inside RGUI.
Makes very little sense to add cruft to the interface
when it also risks using an invalidated video_data ...
2014-03-25 10:19:02 +01:00
Themaister bad7f9af82 Check command interface in rarch_input_poll. 2014-03-17 11:34:25 +01:00
twinaphex 6752687f16 (Menu) Cleanup 2014-03-16 13:55:30 +01:00
Twinaphex 7fa8920357 Merge pull request #606 from aliaspider/master
(PSP) VFPU optimized audio resampler and s16 <-> float conversions
2014-03-14 17:02:04 +01:00
twinaphex 7cdc23505c (Apple) Build fix 2014-03-10 06:00:06 +01:00
twinaphex 767f2a4466 (Menu) Simplify menu_update_libretro_info 2014-03-10 05:50:56 +01:00
twinaphex 451f4823d2 (RARCH_CONSOLE) Set rgui->libretro_dir to default_paths.core_dir 2014-03-10 03:31:00 +01:00
twinaphex be7798a308 (XDK Menu) Forcibly hardcode core path - was giving a lot of
problems
2014-03-10 03:04:18 +01:00
twinaphex 01f02568b2 (360/Menu) Implement render_messagebox through custom message
queue
2014-03-09 18:26:30 +01:00
Themaister 171cb7ed79 Quick and dirty fix for fullscreen RGUI crash. 2014-03-09 16:47:36 +01:00
aliaspider 1d517d1846 (PSP) add VFPU flag to main thread attributes 2014-03-08 15:48:47 +01:00
twinaphex 813a2daaa0 (XUI) Should update entries when pushing new dir list 2014-03-08 06:18:47 +01:00
twinaphex b16f3f9bca (XUI) Implement populate_entries 2014-03-08 06:15:52 +01:00
twinaphex 16eb15376d (Menu) Update menu_navigation 2014-03-08 05:48:52 +01:00
twinaphex f512ba76d1 (XDK) Rename xdk_d3d_video_t to d3d_video_t 2014-03-07 20:17:25 +01:00
twinaphex 40e0b70ee3 (Menu) Put guards around functions that get video_data passed to them 2014-03-07 19:44:38 +01:00
twinaphex 36716706c2 (Menu) Pass video_data pointer to menu functions 2014-03-07 06:28:49 +01:00
twinaphex ef01743ef9 (Xbox 360) Expose Gamma correction option in menu 2014-03-06 05:45:11 +01:00
twinaphex 29293476c1 Ifdef libretro_free_system_info with HAVE_DYNAMIC 2014-03-06 02:14:38 +01:00
twinaphex f7c532ea30 (Xbox 360) Set default libretro info path and default core path 2014-03-06 02:11:08 +01:00
twinaphex 3d2c4171cd (core_info) Add back hack for RARCH_CONSOLE 2014-03-06 01:02:00 +01:00
twinaphex 2cbaf4c5dd (Menu) Show Core Directory path 2014-03-06 00:41:18 +01:00
twinaphex ec682695ba (RARCH_CONSOLE) Bake in 'Core Directory' in Path Settings 2014-03-06 00:17:02 +01:00
twinaphex ffc0525a4c (RARCH_CONSOLE) Take out hack in core_info_list_new 2014-03-05 23:47:11 +01:00
twinaphex f765408f57 (RARCH_CONSOLE) Take out dead core upgrading code 2014-03-05 23:43:21 +01:00
Toad King 97c7ea07ba fix core information not working on statically linked cores 2014-03-05 16:39:08 -05:00
twinaphex fb48a9e356 (XDK D3D) refactors 2014-03-05 22:10:36 +01:00
twinaphex b3729d589a (XUI / 360) Set fullscreen viewport for RMenu XUI 2014-03-05 19:03:25 +01:00
twinaphex 2b59b2fda0 (Mobile) Don't expose 'Black Frame Insertion' for mobile platforms -
can be dangerous for screens
2014-03-05 18:40:01 +01:00
twinaphex 1e37515e2f (XDK D3D) Rename d3d_render_device member to dev 2014-03-05 06:05:48 +01:00
twinaphex a225beb4e5 (XUI) menu_iterate_xui updated 2014-03-05 03:55:16 +01:00
twinaphex 75fee188e2 (Xbox 1) Refactor Xbox 1-only audio volume setting 2014-03-05 03:40:55 +01:00
Themaister 6e42f4485d Join core info lists with new string_list_join_concat(). 2014-03-04 10:17:00 +01:00
Themaister 86fa251cd5 Use menu_ticker() implementation for core information. 2014-03-04 10:04:49 +01:00
Themaister f54898350b Style nits ... 2014-03-04 09:34:34 +01:00
AndresSM 20d1ccda0a fix spacing again 2014-03-03 18:50:08 -05:00
AndresSM c9ae29e347 fix spacing 2014-03-03 18:47:50 -05:00
AndresSM 511f158255 Merge branch 'master' of github.com:fr500/RetroArch
Conflicts:
	frontend/menu/menu_common.c
2014-03-03 18:45:06 -05:00
AndresSM a863dcdeae changed the layout of the list and add optional flag for BIOS 2014-03-03 18:43:30 -05:00
AndresSM 14381bd033 changed the layout of the list and add optional flag for BIOS 2014-03-03 18:23:56 -05:00
Themaister 5efedf134c And some more nits. 2014-03-03 13:58:14 +01:00
Themaister 1030244e75 Another style nit. 2014-03-03 13:31:54 +01:00
Themaister 344ebb77e9 Fixup style. 2014-03-03 10:11:07 +01:00
Twinaphex 7a19c34ead Merge pull request #587 from fr500/master
change code to match old info file structure to avoid crashes with old i...
2014-03-03 08:02:58 +01:00
AndresSM 508fc65292 Merge remote-tracking branch 'upstream/master' 2014-03-03 01:58:54 -05:00
AndresSM dea3f1ca1f change code to match old info file structure to avoid crashes with old info files
if firmware is numbered from 1, one entry will be missing
2014-03-03 01:57:18 -05:00
Twinaphex ac6801e653 Merge pull request #586 from fr500/master
check if BIOS is present
2014-03-03 07:11:26 +01:00
AndresSM 08fadaaf8c check if BIOS is present 2014-03-03 01:02:29 -05:00
twinaphex 7d178d015a (XUI) Add RGUI_SETTINGS_CORE_INFO 2014-03-03 06:48:09 +01:00
twinaphex 57aadf75b6 (Menu) Take out stray printf 2014-03-03 06:26:58 +01:00
AndresSM 10d90176e1 Add core information menu 2014-03-03 00:22:28 -05:00
twinaphex 049cc408fc (XUI) Cleanups 2014-03-03 00:25:22 +01:00
twinaphex ef4b5192ab (360 RXUI) Take out XM_CONTROL_NAVIGATE and XM_NOTIFY 2014-03-03 00:22:38 +01:00
twinaphex ca8aa77a6b (XUI) Show menu labels 2014-03-02 22:52:48 +01:00
twinaphex f479149364 (XUI) Do XuiListSetCurSel explicitly at end of file_list_pop 2014-03-02 21:24:58 +01:00
Themaister 2d8313479b Don't require display_info for core_info_list_get_info. 2014-03-02 14:12:40 +01:00
Themaister 511bc8b5ec Allow retrieval of core_info_t for selected core.
Refactor a bit to avoid lots of duplicated
libretro_free_system_info/get_system_info, etc.
Also copy the core_info_t struct on core change.
2014-03-02 14:07:07 +01:00
Themaister e24381ab44 Add space for consistency. 2014-03-02 12:34:54 +01:00
Themaister 5f3e0ffa8e Don't have to "save" key_event callback.
keyboard_line module already makes sure it works.
2014-03-02 12:30:32 +01:00
Themaister a13da8da19 Repurpose RSound IP address setting.
It's hardcoded for RSound, but it's actually setting the generic audio device ...
2014-03-02 12:25:38 +01:00
Themaister 4ae4d40364 Fix shader preset save.
Have to take into consideration the preset type.
2014-03-02 12:15:18 +01:00
Themaister d111a0c658 Cleanups to keyboard callback stuff. 2014-03-02 11:45:41 +01:00
twinaphex a8573860fa Compile in rsound audio driver by default and make RSound
Server IP Address setting configurable by keyboard
2014-03-02 07:22:19 +01:00
twinaphex f9d21c6804 (Menu) Make 'Save as Shader Preset' option available to non-HAVE_OSK targets as
well
2014-03-02 06:44:32 +01:00
twinaphex 5bb7097fbb (Menu) Add OSK enable option 2014-03-02 06:07:18 +01:00
twinaphex a58820d927 (Menu) You can now input nickname, IP address and TCP/UDP port
with the keyboard
2014-03-02 05:46:33 +01:00
twinaphex 6f19662d75 (Menu) Split up keyboard input line cb code to separate file - menu_input_line_cb 2014-03-02 05:24:57 +01:00
twinaphex 23489132b3 (Menu) VERY WIP - Netplay options. Still lacks way to input a
name/IP address/port with a keyboard callback - also state
bringing up/teardown will need to be handled
2014-03-02 04:46:26 +01:00
twinaphex 3835db276f Build fix 2014-03-02 03:33:12 +01:00
twinaphex 3f5e3c191e (XDK) Build fixes 2014-03-02 02:18:37 +01:00
Themaister fce4ebd31e Move core_info to frontend/info. 2014-03-01 11:53:04 +01:00
Themaister 2cd51db6c0 Move file_list.c to frontend/menu.
Doesn't belong in top-dir.
2014-03-01 11:41:00 +01:00
twinaphex bbb9de2712 (XUI) Update labels #2 2014-03-01 00:01:11 +01:00
twinaphex 5440704503 (XUI) Update labels 2014-02-28 23:40:37 +01:00
twinaphex 10bee2c6b0 (RXUI) Replace manual clearing of selection_ptr with menu_navigation
equivalent
2014-02-28 23:18:36 +01:00
twinaphex c8c6eecfcf (RXUI) Build fix 2014-02-28 23:16:37 +01:00
twinaphex bca4b77573 (Menu) Isolate menu ptr selection code to separate file menu_navigation.c 2014-02-28 23:14:42 +01:00
twinaphex 6c6fd23a3f (XUI) Use XuiListSetCurVisible instead of XuiListSetCur 2014-02-28 21:58:37 +01:00
twinaphex 450318394a (XUI) Build fixes 2014-02-28 21:55:50 +01:00
twinaphex da3cff4903 (XUI/Menu_common) Set current selection per action 2014-02-28 21:49:46 +01:00
twinaphex 189b043bb7 (XDK360) Build fixes 2014-02-28 21:24:39 +01:00
twinaphex db32d8a344 (RXUI) Cleanups 2014-02-28 21:15:16 +01:00
twinaphex 5a17ec7210 (Rmenu XUI) Entries get filled in now - now to get internal
state sync right between menu_common and RMenu XUI representation
2014-02-28 20:43:49 +01:00
twinaphex 6922a1ac0f (XDK 360) Take out all subscreens 2014-02-28 19:22:32 +01:00
twinaphex 36ccecf152 (XDK360) Take out fetch_directory_entries 2014-02-28 19:16:23 +01:00
twinaphex 4c22d1063d (360) Add HAVE_RMENU_XUI hooks to file_list.c 2014-02-28 19:07:30 +01:00
twinaphex dd7a4b4128 (RMenu XUI) Stub rmenu_xui_render 2014-02-28 17:51:26 +01:00
twinaphex 123d58df72 (Rmenu) Rename render_background to rmenu_render_background 2014-02-28 16:43:41 +01:00
twinaphex 20798433d1 (PS3) Add HAVE_RMENU ifdef to platform_ps3.c 2014-02-28 01:59:18 +01:00
twinaphex 6daf8a1d4f (Menu) Make input_postprocess part of menu_ctx_driver_t 2014-02-28 01:44:03 +01:00
twinaphex 8bcb4cf72b (Menu) Reduce namespace conflicts 2014-02-28 01:34:10 +01:00
Themaister f49f16b7fb Add missing TURBO_ENABLE. Avoid weird +1 offset. 2014-02-27 08:10:09 +01:00
twinaphex e316a966a5 (RGUI) Make it possible to map all binds from RGUI 2014-02-27 05:25:33 +01:00
twinaphex 84f3513c2f (Lakka) Change glTexParameterf to glTexParameteri 2014-02-26 21:36:25 +01:00
twinaphex b58fa92cfc (Lakka) Build fixes 2014-02-26 21:17:50 +01:00
twinaphex 9d311a8f9e (Lakka) Add unfinished Lakka menu display driver 2014-02-26 21:10:39 +01:00
twinaphex ffed705b4c (GX) Add more line-doubled resolutions 2014-02-26 20:22:10 +01:00
twinaphex 631b1709d8 (RMenu) Fix some labels 2014-02-25 21:00:33 +01:00
twinaphex be10872f7d Revert "(RMenu) Refactor rmenu"
This reverts commit 6e8e22a458.
2014-02-25 19:21:20 +01:00
Themaister 107c07c05d Reinit driver on composition change. 2014-02-25 19:14:22 +01:00
Themaister b83bce794f Use consistent casing for some menu entries.
Convention so far is casing every word.
2014-02-25 19:06:02 +01:00
twinaphex 6e8e22a458 (RMenu) Refactor rmenu 2014-02-25 19:05:46 +01:00
twinaphex df5c88c837 (Menu) Add window compositing disable option in 'General Settings'
(only implemented for Windows Vista+ right now)
2014-02-25 18:47:53 +01:00
twinaphex 180717faab (Menu) Add 'Pause if window focus lost' to General Options 2014-02-25 18:23:20 +01:00
twinaphex 7064845e0e (Menu) Move all uncategorized remaining options to 'General Options' 2014-02-25 18:09:29 +01:00
twinaphex 21901b2dd5 (RGUI) Fix labels for submenus 2014-02-25 16:44:09 +01:00
twinaphex ca067fd31b (Menu) Move Overlay Options up one level 2014-02-25 16:40:12 +01:00
twinaphex a08c6c8303 (Menu) Move Shader Options up one level 2014-02-25 16:04:36 +01:00
Themaister cd597dc247 Make resampler "driver" hook code consistent with rest. 2014-02-25 09:39:48 +01:00
twinaphex 4b1438e4b2 (Menu) Add audio resampler selection to 'Drivers' section 2014-02-25 03:23:50 +01:00
Twinaphex c5547bf9e1 Merge pull request #573 from aliaspider/master
(PSP) video driver update.
2014-02-24 19:55:07 +01:00
twinaphex 03ec845977 (Salamander) frontend_context.h gets new member function
'salamander_init'
2014-02-24 18:23:12 +01:00
aliaspider 5ce55a8dfa (PSP) add alignement requirement to menu_framebuf in rgui.c 2014-02-23 18:32:46 +01:00
twinaphex cf71da660e (Menu common) Add more runtime checks for checking if video is initialized 2014-02-23 05:02:48 +01:00
twinaphex efbbe5fbf0 (Frontend) Cleanups/cutdown on code duplication 2014-02-23 01:18:27 +01:00
Themaister 3156f976c2 Disallow savestate load from RGUI when using BSV or netplay. 2014-02-22 16:19:46 +01:00
twinaphex 6a4cfc7271 (GX) Get rid of warnings while compiling Wii/NGC versions 2014-02-19 18:07:47 +01:00
twinaphex 71b6485bb5 (PSP) Fix warnings 2014-02-19 17:47:59 +01:00
aliaspider bf3ad47cbe (PSP) fix up RGUI colors. 2014-02-18 22:01:04 +01:00
aliaspider 68c7a3ad5b (PSP) change clockspeed to 333MHz/166MHz on start. 2014-02-18 18:43:23 +01:00
twinaphex 10f4b5f92a (Apple) Set load_dummy_on_core_shutdown to false for Apple 2014-02-18 02:23:58 +01:00
twinaphex 9d6a0afd4a Reimplement menu clear input courtesy of meancoot 2014-02-18 02:18:34 +01:00
twinaphex e17e5aa960 (PSP) Cleanup psp_process_args 2014-02-17 15:14:48 +01:00
aliaspider 566696223f (PSP) allow game loading form the commandline (for use with pspsh) 2014-02-17 14:31:33 +01:00
aliaspider 650adef8da (PSP) added audio support 2014-02-17 14:26:03 +01:00
twinaphex 0260d51b7a (PSP) Starts up in RGUI now 2014-02-17 00:19:51 +01:00
twinaphex 94dec420cd (PSP) (Menu common) Add file paths 2014-02-16 17:27:23 +01:00
Themaister b86ca166bf Expose more SRAM settings in RGUI.
Also treat save state slot -1 as the "auto save slot".
2014-02-15 11:12:34 +01:00
twinaphex 63e8dfba4d (PSP) Hardcode ROM being fed right now for testing purposes 2014-02-13 11:45:22 +01:00
twinaphex 70f9905625 (PSP) Build fix 2014-02-12 18:24:34 +01:00
twinaphex b724851e93 (PSP) Hook up frontend platform driver - implement process_args
and not exec function
2014-02-12 18:17:54 +01:00
twinaphex 76a40ef066 (PSP) Add example for manually loading a ROM file so that we can
skip past the menu
2014-02-12 17:29:20 +01:00
twinaphex d4f9c211ee (PSP) Build fixes 2014-02-11 16:10:40 +01:00
twinaphex de0d0626f6 Include boolean.h instead of stdbool.h 2014-02-11 07:49:15 +01:00
Themaister d129258c32 Allow toggling fullscreen from bind in RGUI. 2014-02-08 16:27:09 +01:00
twinaphex d22999ab14 Backpot neagix patch - prevent last button input when resuming from
menu
2014-02-01 22:30:31 +01:00
twinaphex b109b9b01f (Emscripten) Rename frontend_emscripten.c to frontend/platform/platform_emscripten.c 2014-01-27 01:47:10 +01:00
twinaphex 580e05fc0f (Menu) Add menu driver selection 2014-01-27 01:32:05 +01:00
Themaister c90a8bcfec Return to RGUI when core shuts down.
Don't do this on consoles (uses dummy core).
2014-01-23 20:00:25 +01:00
Themaister 2ea94aac37 Remove rgui->base_path.
Completely useless and buggy.
2014-01-12 21:23:38 +01:00
twinaphex 6be640f656 (XDK 360) Avoid warnings 2014-01-10 21:22:24 +01:00
twinaphex e4b959a841 (Menu) Safety checks for accessing video_poke function pointers 2014-01-09 12:17:28 +01:00
Twinaphex 165698b9f2 Merge pull request #481 from libretro/dpad-map
Analog D-pad mapping
2014-01-08 12:01:39 -08:00
twinaphex f23e41bd17 Safety checks for accessing video_poke function pointers 2014-01-08 19:42:42 +01:00
Themaister f6643fe12d Push analog dpad mode for autoconfig as well. 2014-01-08 17:47:07 +01:00
Themaister f57a1aa032 Add support for mapping analogs to D-pad again.
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.

Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
Higor Eurípedes 1f8c114641 Use C linkage in frontend.h and input_common.h 2014-01-05 23:28:34 -03:00
twinaphex 7e9c8908f8 (PS3) Set default overlay directory 2014-01-05 19:17:13 +01:00
twinaphex 2da438bcf0 (PS3) Add paths 2014-01-05 05:00:08 +01:00
Themaister 388e9c7487 Make rom history handling a bit more robust.
If a missing core is trying to be loaded it can end up deleting the
entire ROM history because core_name is not found and history read from
file would then exit early.
2014-01-04 16:38:23 +01:00
twinaphex b20b6525d3 (Android) PendingIntent code created bad dependencies on Java frontend and
made it impossible for external clients like Dinothawr to use RetroArch
as a library
2014-01-04 05:36:08 +01:00
Themaister 79cd808e81 Fix broken use of SET_LIBRETRO_PATH. 2014-01-03 21:38:48 +01:00
Themaister 76a6e61fdd Use core-specific config path for RGUI cgp/glslp if applicable.
Avoids some collisions.
2014-01-03 15:31:10 +01:00
Themaister 81fc0f621a Only call rarch_main_deinit if main has been initied. 2014-01-03 14:42:38 +01:00
Themaister be81549d92 Only save per-core configs when core specific option is enabled.
Also, need to enforce that g_settings.core_specific_config is true
after loading core specific config. It's possible that core specific
option is set to false before loading a different core (using global
config only).
2014-01-02 18:01:01 +01:00
Themaister 13a006d147 Restructure per-core configs.
Merging yesterday was probably a bit premature.

One issue I overlooked was that per-core configs were not flushed to disk
when loading a new core on PC. The per-core flushing only happened on
main_exit(), which is only run on application termination. This hence
would only work with consoles with exitspawn.

config_set_defaults() must be called when loading per-core-specifics as
well or lots of options silently leak into other core specific configs
when cores are changed.

The handling with g_extern.config_path and original_config_path was
difficult logic and very error prone considering it was mutated aribitrarily by RGUI.
I've removed the original config path concept and stuck
with that config_path is *only* for global config, and
core_specific_config_path is for core-specifics (which are resolved
during config load). Saves some memory too,
which is always nice.

The block_config_read solution I proposed yesterday was not good after
all (in fact, broken on PC), and the current solution should work better.

"RetroArch Config" option in RGUI now only shows global config.
2014-01-02 17:52:48 +01:00
Toad King e0671aba8b per-core minor fixes 2014-01-01 19:06:06 -05:00
Toad King e022b39061 fix per-core config on PC 2014-01-01 15:34:56 -05:00
Toad King 8f45063f74 menu support for core specific config 2014-01-01 15:02:57 -05:00
Toad King 0a91c528f9 core-specific config files 2014-01-01 14:44:20 -05:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex 0e54989a61 (XDK1) RMenu build fix 2013-12-31 20:50:24 +01:00
Themaister 0d3428ad15 Add texture_image_free().
Cleans up deinit code for textures.
2013-12-31 19:16:29 +01:00
Toad King defb6efc5a [EMSCRIPTEN] build fix 2013-12-29 16:19:15 -05:00
Themaister 2be201ecf3 Add volume option.
There's a rudimentary volume option for XBOX1 there though ...
Dunno what to do about that.
2013-12-29 12:01:23 +01:00
twinaphex fb41b96515 (360) Get to linkable state again 2013-12-29 06:06:23 +01:00
twinaphex c23b42013e (360) Remove set_root_and_ext function calls 2013-12-29 05:06:45 +01:00
twinaphex 18545b5730 (360) Move rmenu_xui.cpp to menu/disp/ 2013-12-29 04:26:34 +01:00
twinaphex 989106428e (360) Build fixes to rmenu_xui.cpp 2013-12-29 04:22:53 +01:00
twinaphex 030012f664 (360) Some build fixes 2013-12-29 04:08:42 +01:00
twinaphex ff036066e2 Rework frontend - separate functions now for iterating per frame
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
twinaphex 9d0c5a5a03 (frontend.c) Some cleanups 2013-12-28 04:40:40 +01:00
twinaphex 51c994da39 (Xbox 1) Render 'messagebox' text in menu disp now - position
text better
2013-12-27 02:00:57 +01:00
meancoot 55950cf009 (Apple) Update content history properly. 2013-12-26 16:18:28 -05:00
twinaphex 75a6db27b4 (GX/PS3) Reimplement menu binds 2013-12-26 20:11:33 +01:00
Themaister b23ff3b663 Refactor content_directory.
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
Toad King 3fd4f21c9a fix check for salamander file in core menu 2013-12-24 22:28:24 -05:00
twinaphex 204113e389 Add environ callback to expose 'Content Directory' path to core -
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
meancoot 839a5529b8 Merge branch 'master' into apple_no_thread 2013-12-23 21:03:14 -05:00
Toad King 2f46fa4fe9 [GX] input changes work now 2013-12-22 21:07:37 -05:00
Toad King d7cacaa9ed start of porting wii input driver to better support RGUI. still has issues with axises 2013-12-22 19:47:33 -05:00
meancoot f3d5a44e76 (Apple - No Thread) Fix performance regression. 2013-12-21 21:58:19 -05:00
twinaphex 129b7093a3 Set default overlay opacity to 0.7f 2013-12-22 03:03:26 +01:00
meancoot f069c82417 (Apple) First pass at removing UI/RetroArch thread split. 2013-12-21 19:42:10 -05:00
twinaphex 742f85eafc Add HAVE_LOCATION - still need to write frontend drivers now for
location
2013-12-19 01:51:51 +01:00
twinaphex 9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex 166aa29443 (Libretro) Expose perf_log as callback too to libretro 2013-12-17 19:37:33 +01:00
twinaphex 38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
Toad King f291e9c353 make config directory require dynamic libraries for now. fixes issue #420
the way we implement chaning directories involves loading a dummy core, which we can't do on non-dynamic core platforms right now
2013-12-16 15:05:57 -05:00
meancoot b35153855c (iOS) Add option to clear Load History menu, useful when you need to invalidate history after the GUID of the install directory gets changed. 2013-12-15 21:27:17 -05:00
twinaphex b946a5e302 (Menu) Omit "Threaded Video" for Gamecube/Wii 2013-12-14 02:33:09 +01:00
twinaphex ee18da7632 Save autodetect_enable 2013-12-12 22:14:10 +01:00
twinaphex eacc193d74 (GX) Rewrite audio interleaving
(GX) Make menu_binds variable Wii-only for now
(Menu) Add toggleable autodetect_enable for input
2013-12-12 22:10:11 +01:00
twinaphex 21ae4c24af (Wii) Menu now takes input again from Gamecube pad, Wiimote, Wiimote + Classic
and Nunchuk
2013-12-12 20:50:42 +01:00
Twinaphex 14a6c01a14 Merge pull request #410 from libretro/rgui-search
Add experimental RGUI keyboard search feature.
2013-12-10 14:22:17 -08:00
meancoot 693a826f2f (OSX) Fix frontend/frontend.c so passed arguments are accepted. 2013-12-10 16:41:23 -05:00
Themaister fde4532a33 Fix menu_search_callback.
str can be empty and non-NULL.
2013-12-10 19:46:50 +01:00
Themaister 977cec1378 Refactor keyboard event callbacks.
Go through input/keyboard_line.c to better hide internal logic
regarding keyboard line input.
2013-12-10 19:39:09 +01:00
Themaister 84c93ef94a Add experimental RGUI keyboard search feature.
Type '/' to start search, then type search string (case sensitive for
now due to strcasestr being GNU ext). When done, type return.
2013-12-09 16:18:58 +01:00
meancoot 8882d07f3f (iOS) Move iOS settings code into iOS specific file and fix the issue where every compile unit would get its own copy of apple_frontend_settings 2013-12-03 19:47:24 -05:00
meancoot 6943127aef (Apple) Start to refactor setting data structure; clean up iOS code some 2013-12-02 19:34:05 -05:00
twinaphex 3d18d580b6 (iOS) Add frontend/platform/platform_ios.h 2013-11-29 19:32:07 +01:00
twinaphex 3ec9581c68 (iOS) Move some cdoe from platform.m over to C 2013-11-29 19:31:39 +01:00
twinaphex 7bcb695c68 (menu_common) Rename 'Game' to 'Content' - RetroArch is not limited
to games/emulators
2013-11-26 21:41:27 +01:00
twinaphex 849e71138a (rmenu_disp) Initialize j to 0 2013-11-26 21:29:18 +01:00
twinaphex 6c638f91f4 (Android) Big changes -
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
2013-11-24 22:02:57 +01:00
twinaphex 1d06b07a16 (Android) Add "USED" intent extra to RetroActivity 2013-11-24 17:58:23 +01:00
twinaphex 4c4c828c02 (Android) JNI - Cache getIntent and getStringExtra jmethodIDs 2013-11-24 17:24:41 +01:00
twinaphex 25faefefac (Android) get_environment_settings - make it more readable 2013-11-24 17:02:38 +01:00
twinaphex 47c8c26511 (Android) Simplify intent grabbing with JNI 2013-11-24 16:43:57 +01:00
twinaphex 37fce3c56e (Android) Move engine_handle_cmd from input_android.c to platform_android.c 2013-11-22 21:12:13 +01:00
twinaphex d66d4f7263 (Android) have engine_handle_cmd take as argument void* 2013-11-22 17:41:45 +01:00
twinaphex afb2419235 (Apple) Move rarch_main_spring from ObjC source file to C (platform_apple.c) 2013-11-22 01:36:35 +01:00
Squarepusher 3f47951d3d (Apple) Build fix 2013-11-22 01:10:35 +01:00
twinaphex b1003b7640 (Apple) Move code out of main.m (ObjC) and into platform_apple (C) 2013-11-22 00:57:39 +01:00
twinaphex fb9eca8c69 (Android) Fix jni_get_intent_variable 2013-11-20 18:26:42 +01:00
twinaphex 8e303a3159 (Android) jni_get_intent_variable - Get rid of warnings - jstring pointer maybe uninitialized 2013-11-20 18:18:37 +01:00
twinaphex ef2bf910c7 (Android) Rename jni_get to jni_get_intent_variable 2013-11-20 18:10:52 +01:00
twinaphex 868de7d4ef (Android) jni_params struct -remove class_obj 2013-11-20 18:09:50 +01:00
twinaphex 87421d477c Clean up JNI: (...)
* pthread_key_create is used to set a destructor for every thread
created through jni_thread_getenv
* To grab a JNIEnv pointer - go through jni_thread_getenv
* jni_thread_getenv sets pthread_setspecific for the JNIEnv pointer
to bind destructor
* Reuse activity->vm everywhere instead of creating local pointer
copies
* Don't use DetachCurrentThread outside of platform_android's (new)
jni_thread_destruct function - the destructor will do this for us
now
2013-11-20 17:33:19 +01:00
twinaphex 3f279a2d5c (Android) Get rid of JNI_OnLoad - unused and unneeded 2013-11-20 15:54:31 +01:00
twinaphex 20f679d201 (Android) Get rid of globalMyNativeActivityClass variable 2013-11-20 03:56:33 +01:00
ToadKing 894b2870c0 more android camera work. no longer crashes, but still no image 2013-11-19 14:20:29 -05:00
twinaphex 21bc30a44c (Android) Make RetroActivity invoke JNI_OnLoad - grab pointer to
RetroActivity class - try to use from camera/android.c
2013-11-19 14:30:45 +01:00
Squarepusher 7231fdfa40 (OSX) Doesn't try to boot up game now at startup - can launch into RGUI 2013-11-19 11:31:46 +01:00
twinaphex a77b7576b7 (RMenu XUI) Get rid of rmenu_xui header 2013-11-19 06:42:27 +01:00
twinaphex 7843a3bec3 (Menu) Add iterate to menu_ctx_driver_t - needed for RMenu XUI 2013-11-19 06:35:11 +01:00
twinaphex 8fe6a04b56 (Menu) Add populate_entries to menu_ctx_driver - will be needed for RMenu XUI 2013-11-19 06:09:14 +01:00
twinaphex 59ad1baea7 (RMenu Disp) init_assets - calloc menu_texture 2013-11-19 02:12:09 +01:00
twinaphex 3f0be66ffc (RMenu) Get rid of rmenu.c/rmenu.h 2013-11-18 19:52:36 +01:00
twinaphex 723fddea80 (PS3/menu_common) Add System BGM Control setting 2013-11-18 19:50:47 +01:00
twinaphex 8465c47cd9 (Xbox 1) RMenu - menu title position is now correct 2013-11-18 18:09:27 +01:00
twinaphex 921d45decc (Xbox 1) Build fix 2013-11-18 18:03:48 +01:00
twinaphex 84ff66e8dc (Xbox 1/Menu) Simplify main-menu_480p.png - reduce entries height 2013-11-18 17:51:38 +01:00
Themaister b44bd25ab3 Fix segfault with video_poke missing. 2013-11-18 13:44:34 +01:00
Themaister adb0b4dfbe Fix ifdef for pushing early to history. 2013-11-18 09:27:51 +01:00
twinaphex 58d8079704 (Menu) Check if driver.video->restart is bound first 2013-11-18 03:25:50 +01:00
twinaphex 2fab149ae4 (RMenu Disp) Correctly frees and reinitializes RMenu texture asset 2013-11-18 03:23:32 +01:00
twinaphex 275789d99f (HAVE_OSK/Xbox 1/PS3) Add Xbox 1/PS3/HAVE_OSK-specific additions
to settings
2013-11-18 02:57:31 +01:00
twinaphex 0c54da42e3 (Android JNI) jni_params - now also takes a submethod_name/submethod_signature 2013-11-18 00:52:26 +01:00
twinaphex c062f36059 (OSK) Cleanup conditionals in menu_common.c 2013-11-16 15:56:52 +01:00
twinaphex 6828183b64 (OSK) Move runtime state (OSK callbacks) to g_extern 2013-11-16 15:54:50 +01:00
twinaphex 9558a47ada (PS3 RGUI) Working OSK input 2013-11-15 23:19:44 +01:00
twinaphex be356b7b67 (Menu) Add extra settings 2013-11-15 22:53:58 +01:00
twinaphex 111a5a3ed1 (Salamander) Cleanup 2013-11-15 17:42:43 +01:00
twinaphex e8723dec16 (HAVE_OSK) Add OSK to menu iterate function 2013-11-15 05:18:36 +01:00
twinaphex 3ccf5c1457 (Salamander XDK1) Fix 2013-11-15 05:02:39 +01:00
twinaphex 6c394d717c (XDK1 Salamander) Build fix 2013-11-15 04:26:38 +01:00
twinaphex 921327c7ab Add copyright to platform_apple.c 2013-11-13 12:43:28 +01:00
Squarepusher 4ab77e8405 Merge pull request #385 from libretro/webcam-test
Emscripten webcam driver
2013-11-13 01:25:19 -08:00
ToadKing aaff8f2648 move prototype camera interface to libretro interface - GL texture only for now 2013-11-12 19:48:36 -05:00
twinaphex d87c20feee (PS3) Get rid of ps3_input.h 2013-11-13 00:41:03 +01:00
twinaphex aec049c803 (OSK) Refactor - (Onscreen Keyboard) - PS3-only backend for now -
I will make an overlay-based backend soon too for all other platforms
2013-11-13 00:27:31 +01:00
twinaphex b20360948f (menu_common) Remove HAVE_OSK - will have to be reimplemented 2013-11-12 23:09:01 +01:00
twinaphex f9b502773d (OSK PS3) Fix free 2013-11-12 20:02:25 +01:00
twinaphex 8ce8051654 (OSK PS3) Refactor OSK PS3 input 2013-11-12 17:16:30 +01:00
twinaphex ec2f91f19e (platform_psp.c) use fill_pathname_join instead of snprintf 2013-11-12 15:03:50 +01:00
twinaphex 29677b7a08 (platform_gx) Use fill_pathname_join instead of snprintf 2013-11-12 14:59:06 +01:00
twinaphex d662357999 (RARCH_CONSOLE) Remove default_paths.border_dir 2013-11-12 10:36:07 +01:00
twinaphex fde4311ef5 (PS3) Refactor OSK code - next thing should be abstracting it 2013-11-11 16:58:12 +01:00
twinaphex 6a9bc1bfa4 (Menu) Show camera driver inside 'Drivers' category 2013-11-11 15:39:46 +01:00
twinaphex 672594d7d3 (menu_settings.c) Fix config.def.h include 2013-11-11 12:59:16 +01:00
twinaphex 82f548a969 Refactor out settings_set 2013-11-11 12:56:38 +01:00
twinaphex 177af1fac2 Move display rasterizers for menu_common to frontend/menu/disp 2013-11-11 12:23:18 +01:00
twinaphex a7a30646de Remove rgui.h 2013-11-11 12:15:38 +01:00
twinaphex 7420012721 (RARCH_CONSOLE) Remove unneeded variables from default_paths 2013-11-11 10:37:39 +01:00
twinaphex 6997c207bd Remove HAVE_FILEBROWSER/remove file_browser.c 2013-11-11 04:12:30 +01:00
twinaphex 50dc298187 (Xbox 1) Remove menu_panel 2013-11-11 04:04:24 +01:00
twinaphex 96c06b5b26 (Xbox 1) Some rmenu_disp cosmetic improvements - seems to overflow
on render_messagebox
2013-11-11 03:49:23 +01:00
twinaphex 0e155f0ab4 (Xbox 1 - menu) Fix initial dir mappings 2013-11-11 03:39:30 +01:00
twinaphex 54d2e2d321 (Xbox 1) Build fixes 2013-11-11 03:36:30 +01:00
twinaphex 99f3db5c78 (Apple) platform_apple.c - process_events - returntype int
instead of void - fixes warning
2013-11-09 01:51:00 +01:00
Themaister 720ea1a99d Build fix. 2013-11-08 18:43:27 +01:00
twinaphex 588224aaed (Menu) Use void* for arguments instead of passing by rgui_handle_t* 2013-11-08 15:38:18 +01:00
twinaphex cc78199051 (Menu) Cut down on some HAVE_RMENU ifdefs 2013-11-08 15:15:53 +01:00
twinaphex a4d5c3c99c (Menu) Add init_assets/free_assets to menu_context 2013-11-08 15:13:14 +01:00
twinaphex 3d016bd5bc (Menu) Avoid warnings with SNC compiler 2013-11-08 07:21:08 +01:00
twinaphex de6d5beeeb Condense ifdef preprocessor statement (ifdef HAVE_MENU) 2013-11-08 05:00:21 +01:00
twinaphex 3fa7f05cae Move file_list.c/file_list.h to root dir 2013-11-08 04:53:12 +01:00
twinaphex 77622e390c (file_list.c) Rename rgui_file to item_file 2013-11-08 04:50:33 +01:00
twinaphex a71314bded (file_list) Rename rgui_list to file_list - also replace function names 2013-11-08 04:48:31 +01:00
twinaphex 4ab64bcd8f (Menu) Rename some more functions with prefix rgui_ 2013-11-08 04:43:42 +01:00
twinaphex f8c37fc933 (Menu) Simplify menu preprocessor conditionals - there is now
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
twinaphex 9d4d6fe23d (Menu) Refactor menu code - change namespace of functions
(PS3 Menu) Add PAL60 mode
2013-11-08 03:37:06 +01:00
ToadKing 469671af57 make autosave timeout value more descriptive 2013-11-07 21:02:59 -05:00
ToadKing 1ca96ccd82 fix autosave timeout in RGUI 2013-11-07 20:49:33 -05:00
twinaphex 0faa3fbbde (RARCH_CONSOLE) Compile in SRAM Autosave option in by default
for RARCH_CONSOLE now
2013-11-08 01:54:46 +01:00
ToadKing 3124dff2a3 fix deferred loading on consoles 2013-11-07 18:28:49 -05:00
twinaphex da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex 329393eb14 (rmenu_disp) Implement render_messagebox 2013-11-07 21:10:53 +01:00
twinaphex 7b9b87c284 (rmenu_disp) remove most HAVE_MENU_PANEL ifdefs 2013-11-07 18:13:30 +01:00
twinaphex bd67fe7d86 (rmenu_disp) Cosmetic improvements 2013-11-07 16:40:04 +01:00
twinaphex c567bec9bc (RGUI) Add need_refresh for increasing/decreasing shader passes 2013-11-07 03:33:34 +01:00
twinaphex e61d086ef3 (PS3) Add RMenu as a rasterizer now for common menu interface 2013-11-07 02:54:09 +01:00
twinaphex c1c49f6ff6 (RGUI) Move Video/Audio/Input/Path Options to Settings as submenus 2013-11-07 00:27:30 +01:00
twinaphex 2c2542ff63 Rename message.c/message.h to message_queue.c/message_queue.h 2013-11-06 15:08:54 +01:00
twinaphex 1d8da54f22 (menu_common) Build fix 2013-11-05 12:31:14 +01:00
twinaphex feec9bc9fa (Menu_common) Core selection - make it work on all console platforms
and not just Wii
2013-11-05 10:51:23 +01:00
twinaphex 2299a4fb3f (RGUI) Fix PS3 directory paths 2013-11-05 00:46:07 +01:00
twinaphex 87ffd4eb06 (PS3 RMenu) Fix PS3 build 2013-11-04 20:33:49 +01:00
twinaphex fb5c2d5f34 (GX) Build fixes 2013-11-04 16:48:03 +01:00
twinaphex 3d756537ac Move popping of RGUI list out of rgui.c rasterizer - should make
all of the RGUI list state code self-contained inside menu_common.h
2013-11-04 16:37:51 +01:00
twinaphex 6bc239abf7 (RGUI) Turns rgui.c into a raster driver for common
menu code - rmenu.c and rmenu_xui.cpp will need to be
adapted accordingly
2013-11-04 16:23:37 +01:00
twinaphex 46099c5ca7 (RGUI) Style nits 2013-11-04 14:01:36 +01:00
twinaphex 767cf1e47b (RGUI) Move toggle_settings code to menu_settings.c 2013-11-04 13:46:24 +01:00
twinaphex 2fd6fcdd76 (RGUI) Integrate rguidisp.c into rgui.c 2013-11-04 13:27:03 +01:00
twinaphex 9688288837 Move initing/deiniting of menu_list over to menu_common.c - turn
rgui.c into a rasterizer
2013-11-04 13:18:07 +01:00
twinaphex 62737026f6 (frontend) Add more code that should allow for Emscripten support
in frontend.c
2013-11-04 13:08:19 +01:00
twinaphex 41751ff0cf (frontend) Add some workarounds for Emscripten 2013-11-04 12:46:47 +01:00
twinaphex 0612ec702c (RGUI) menu_set_settings_populate_entries moved to menu_common.c and
renamed menu_populate_entries
2013-11-04 12:32:43 +01:00
twinaphex fb8bc6ced6 Move more logic to menu_parse_and_resolve - rgui.c and rmenu.c
should become purely rasterizers only
2013-11-04 11:57:24 +01:00
twinaphex e9cfb210bd (RGUI) Combine menu_parse and menu_resolve_names 2013-11-04 11:53:25 +01:00
twinaphex c5ee3c8f49 (RGUI) history_parse and directory_parse become one function 2013-11-04 11:48:33 +01:00
twinaphex cdb179f38a (RGUI) Combine resolve_names functions into one 2013-11-04 11:33:11 +01:00
twinaphex df5c9b6878 (RGUI) Host menu_type_is out of rgui.c and into menu_settings.c 2013-11-04 03:09:36 +01:00
twinaphex 4136fce571 (RGUI) Only one menu_type_is function now 2013-11-04 03:08:14 +01:00
twinaphex f7bde4c537 (RGUI) Cutdown on ifdefs to do with setting enums 2013-11-04 02:53:00 +01:00
twinaphex eea2a07fe1 (RGUI) Have all settings enums be available 2013-11-04 02:42:17 +01:00
twinaphex 5da1ffd24a (RGUI) Combine rgui populate_entries functions into one function and
move it outside rgui.c to menu_settings.c
2013-11-04 01:49:25 +01:00
twinaphex abf2079920 (XDK) platform_xdk - use fill_pathname_join where appropriate 2013-11-03 17:55:59 +01:00
twinaphex 27fd78e8fa (GX/PS3) Fixes:
- Use fill_pathname_join and strlcpy where possible in platform_gx/platform_ps3
- Split up system_exec Wii code into its own separate file - platform_wii
- Salamander file path string handling should be more reliable now
2013-11-03 17:39:12 +01:00
twinaphex d1b69f4c43 (frontend) HAVE_BB10 should also have HAVE_MEHU defined 2013-11-03 17:04:44 +01:00
twinaphex e3ebfbffa9 Rename frontend_android.h to platform_android.h 2013-11-03 17:02:40 +01:00
twinaphex fe66f57406 (frontend) Fixup space in license header 2013-11-03 16:52:11 +01:00
twinaphex 002c519707 Add credit where credit is due 2013-11-03 16:51:37 +01:00
twinaphex 74d1d11a65 (Android) Remove frontend_android.c - now uses frontend.c 2013-11-03 16:49:54 +01:00
twinaphex 5d52aaf3a3 (Android) Rewrite frontend_android 2013-11-03 16:38:56 +01:00
twinaphex 1bc17ca81c (menu_common) load_menu_game_prepare - add RARCH_CONSOLE ifdef 2013-11-03 15:17:45 +01:00
Themaister e159007aca Remove a redundant branch. 2013-11-03 10:46:10 +01:00
Themaister 970c973540 global_uninit_drivers() should come after main deinit.
Actually free video driver in global_uninit.
2013-11-03 10:42:05 +01:00
twinaphex 250a2b305d (Rmenu XUI) Cleanup unused variable in rgui_iterate 2013-11-03 06:36:02 +01:00
twinaphex d4593a088a (RMenu XUI) Cleanup unused rgui pointer in rgui_free 2013-11-03 06:34:49 +01:00
twinaphex a35eb793f7 (menu_settings) Fixup last w assignment - thanks to Lioncash for pointing out 2013-11-03 06:26:41 +01:00
twinaphex 4f7ebbd964 (Frontend) Remove ifdef 2013-11-03 06:14:02 +01:00
twinaphex c55a0885c7 (RARCH_CONSOLE) Fixes pushes to ROM history list - it should only push an entry
if either g_extern.system.no_game is true, or when either *tmp
or g_extern.fullpath is not null. Otherwise it will push an entry
with a bogus 'ROM path' to the list, and this broke RMenu badly
2013-11-03 05:49:46 +01:00
twinaphex 2e5d151fac (RARCH_CONSOLE) Should fix erroneous attempt_load_game for RARCH_CONSOLE 2013-11-03 04:55:30 +01:00
twinaphex 2b7635e740 (Frontend) Clean up ifdefs 2013-11-03 04:46:41 +01:00
twinaphex c0e02d3957 (Android/General) Add preliminary sensor support to libretro API /
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex d6ad586114 (PS3) We don't use texrefs for font texture 2013-11-02 23:20:20 +01:00
twinaphex cc315379c5 (Android) Fixes core library being passed from Java frontend to
native library
2013-11-02 18:32:42 +01:00
twinaphex e9243a5ab4 (GX) Move remainder of video initing code to gx_init 2013-11-01 18:12:06 +01:00
twinaphex ed1b012250 (360) Build fixes 2013-11-01 17:16:02 +01:00
twinaphex 727dc76db8 (Console/Android) Init input driver from context driver/graphics
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
twinaphex 08305ec877 (Android JNI) Use strlcpy 2013-11-01 07:02:38 +01:00
twinaphex d3edf50c4e (Android) Get rid of unused AConfiguration code 2013-11-01 05:59:37 +01:00
twinaphex dd68d46b4c (Android) Wrap pthread calls 2013-10-31 23:12:40 +01:00
ToadKing fea062ce67 fix static library builds with empty core directories 2013-10-30 21:53:01 -04:00
twinaphex 1bdaf62be1 Move some more default settings to config.def.h 2013-10-31 02:34:49 +01:00
twinaphex aab3f93f56 Fix driver next/previous switching 2013-10-30 17:50:43 +01:00
twinaphex b2d1fe66b3 (RGUI) Can now change drivers from RGUI - you need to restart
for changes to take effect
2013-10-30 17:06:50 +01:00
twinaphex 7c39118f91 (RGUI) Rename 'Info Options' to 'Driver Options' 2013-10-30 16:05:59 +01:00
twinaphex 7e833618a6 (RGUI) Add Info page - will eventually be possible to switch
drivers with this
2013-10-30 15:36:37 +01:00
Themaister fc5ba8f79a Use configured aspect ratio to set windowed size.
Fixes some cases where core aspect is used and aspect_ratio_auto isn't set.
2013-10-26 18:31:48 +02:00
Themaister fbd2747122 Fixup debug FPS bug. 2013-10-22 21:49:39 +02:00
Themaister 7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02:00
twinaphex d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister c16217d42f Add fallbacks to where cgp/glslp's are saved.
If shaders are stored in /usr/shader or similar we need fallback
locations.
2013-10-18 09:21:04 +02:00
Lioncash a0eeea65d5 Fix a typo in the previous commit. 2013-10-17 14:18:30 -04:00
Lioncash fb4dd42edf Fix a potential memory leak in menu/rmenu_xui.cpp in function rgui_init(). 2013-10-17 14:16:07 -04:00
Themaister 3c3e90b0df Only display autodetect if there are info files. 2013-10-15 10:29:45 +02:00
Themaister 48602cbdbb Refactor out to menu_init_core_info. 2013-10-11 09:17:32 +02:00
Themaister b8fbc58e44 Update core info when INFO_DIR changes. 2013-10-11 09:14:31 +02:00
twinaphex 310f404747 Get rid of MODE_INFO_DRAW 2013-10-11 01:28:26 +02:00
twinaphex 849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
twinaphex a35e708335 (core_info) Can now set core info directory from RGUI 2013-10-11 00:36:08 +02:00
twinaphex 3d1b0fcdfc (RMenu) Use menu_settings.c function for setting (Show Framerate) 2013-10-08 10:16:36 +02:00
twinaphex 3a83c7711b (RMenu/RGUI) Rename 'Debug Info Messages' to 'Show Framerate' 2013-10-08 10:10:53 +02:00
ToadKing a999b56f33 implement deferred loading for consoles 2013-10-07 22:33:02 -04:00
twinaphex acde3339cf (Filebrowser/RMenu) More fixes 2013-10-07 22:00:54 +02:00
twinaphex d8ee1bb133 (Filebrowser PS3) Fix crash at startup 2013-10-07 21:37:53 +02:00
twinaphex be514e803a menu_settings.c - DEBUG_INFO_TEXT - left/right should toggle it,
start should disable it
2013-10-07 16:49:55 +02:00
twinaphex 37054f6a5c (GX) Get rid of HAVE_MINIOGC 2013-10-07 16:10:20 +02:00
twinaphex ebe5ddc257 (RMenu) osk_callback_enter_filename - add missing strlcat 2013-10-07 15:37:34 +02:00
twinaphex 96289960d5 (RMenu) Use fill_pathname_join instead of messy snprintf with hardcoded
path separator string
2013-10-07 15:33:52 +02:00
twinaphex e4beacd663 (RARCH_CONSOLE) Some better comments for rarch_get_environment_console 2013-10-07 15:25:09 +02:00
twinaphex 2b5220d2c7 (RARCH_CONSOLE) Refactor libretro_install_core 2013-10-07 15:22:33 +02:00
twinaphex 5cdfd2a06b (RGUI) Build fixes 2013-10-07 14:50:32 +02:00
twinaphex 14cb192f23 Add return_negative macro for entry function 2013-10-07 13:47:39 +02:00
twinaphex 0e553fd871 (Frontend) Customize returntype, function signature of main
entry function depending on platform port
2013-10-07 13:29:51 +02:00
twinaphex 83c89e4c92 (GX) platform_gx - Take out unused MAKE_FILE macro 2013-10-07 12:53:11 +02:00
twinaphex df3874deaf (360) Take out xfilecache 2013-10-07 12:51:24 +02:00
twinaphex 018af9989f (Filebrowser) Refactor 2013-10-07 12:02:02 +02:00
twinaphex b163096028 (RMenu/Filebrowser) Refactor filebrowser 2013-10-07 09:45:49 +00:00
twinaphex c5f5249e2a (RMenu/Filebrowser) Refactor filebrowser 2013-10-07 09:29:31 +00:00
twinaphex af10f3f5bc Split up file_list into separate compilable file 2013-10-07 08:56:16 +00:00
twinaphex b5b480ec15 (RMenu/RGUI) Move file_browser.h/file_list.h up one level 2013-10-07 08:45:32 +00:00
twinaphex 3b7e2a1882 (RGUI) Rename rguidisp_bitmap.c to rguidisp.c 2013-10-07 08:39:31 +00:00
twinaphex adda68219d (RGUI) rguidisp.c - change function signature for render_text 2013-10-07 08:27:01 +00:00
twinaphex 22ea71a4ad (RMenu) Split up RMenu display code into rmenudisp.c 2013-10-07 08:25:09 +00:00
twinaphex 7bdaae0dea (RMenu) Cleanups 2013-10-07 08:02:07 +00:00
twinaphex ef593a5d1a (RMenU) Add RetroArch Config option 2013-10-07 00:56:34 +00:00
twinaphex d67b954ed7 (RMenu) Add Crop Overscan option 2013-10-07 00:23:57 +00:00
twinaphex b7598b8494 (RMenu) Add Vsync/Rate Control option 2013-10-07 00:14:47 +00:00
twinaphex 079d93f3c9 (RMenu) Add setting - Device Type 2013-10-06 23:55:29 +00:00
twinaphex e574881d75 Get rid of SETTING_DPAD_EMULATION - will be reintroduced later in some
way
2013-10-06 23:48:12 +00:00
twinaphex 5aecea208e (Xbox 1 RMenu) Build fixes 2013-10-07 01:37:00 +02:00
twinaphex 371dd802e8 (RMenu PS3) Move reslution code over to menu_settings.c 2013-10-06 23:29:50 +00:00
twinaphex 62271ec540 (RMenu) Expand settings_lut 2013-10-06 23:24:14 +00:00
twinaphex 2528ac46a3 (RMenu) Take out LEFT/RIGHT actions for path setting options 2013-10-06 22:53:35 +00:00
twinaphex b75cd94fd4 (RMenu) Use menu_set_settings_label 2013-10-06 22:51:06 +00:00
twinaphex 3c002d6e2d (RMenu/RGUI) Move label printing of settings out of rguidisp_bitmap.c 2013-10-06 22:36:30 +00:00
twinaphex d31c6a864e (RMenu) Set up settings_lut 2013-10-06 22:26:35 +00:00
twinaphex cd12474eed (RMenu) Cleanups 2013-10-06 23:40:09 +02:00
twinaphex c052b2fb9c (RARCH_CONSOLE) Some cleanups 2013-10-06 23:14:41 +02:00
twinaphex fd053086ef (RARCH_CONSOLE) Remove DECREMENT_BIND/INCREMENT_BIND 2013-10-06 20:01:44 +00:00
twinaphex eba3eabe0a (PS3) Move PS3 resolution settings code over to menu_settings.c 2013-10-06 19:49:20 +00:00
Themaister 5a2531dbe1 Only compile in threaded video option if HAVE_THREADS. 2013-10-06 17:26:58 +02:00
Themaister 3b97cdfdac Add threaded video option. 2013-10-06 17:23:49 +02:00
twinaphex 79631ece8d Start using libretro_dir for RARCH_CONSOLE too 2013-10-06 15:09:36 +00:00
twinaphex 85d18b77d8 (RARCH_CONSOLE) Include rgui->libretro_dir for RARCH_CONSOLE
- Get rid of 'bypasses initialization of' warnings/errors
2013-10-06 15:00:59 +00:00
Themaister a3ddf8ed26 Sort results for libretro cores correctly. 2013-10-06 15:10:00 +02:00
Squarepusher 8a674d07e9 Merge pull request #326 from libretro/coreinfo
Integration of core info files in RGUI.
2013-10-06 04:54:46 -07:00
Themaister 8c768b0207 Move core_info stuff to menu_common. 2013-10-06 12:31:04 +02:00
Themaister c813e787cb Add core_info_list_get_display_name.
Avoids duped code in RGUI.
2013-10-06 12:27:08 +02:00
twinaphex abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
Themaister fa42aaf9cb Only create autodetect if we have info files. 2013-10-05 18:40:12 +02:00
Themaister bf0bce64b0 Poke into zip files as well to find matches. 2013-10-05 18:33:22 +02:00
Themaister aab2d20151 Some display tweaks. 2013-10-05 17:12:27 +02:00
Themaister 050e2375e3 Begin implementing core autoselect. 2013-10-05 17:07:56 +02:00
Squarepusher 3d386286e7 Merge pull request #324 from libretro/initcommands
Implement an idea for a start screen.
2013-10-05 05:38:32 -07:00
Themaister cf7232160b Only show start screen if rgui_show_start_screen is set.
Default to true, and set to false on first time.
2013-10-05 11:11:43 +02:00
Themaister 2d0131ddab Update start screen, and add Help ... entry. 2013-10-05 11:05:28 +02:00
Squarepusher 425c4a19ab Merge pull request #325 from libretro/libretrodesc
Resolve libretro core names in RGUI.
2013-10-04 20:40:34 -07:00
Squarepusher cd97b5e3d2 Merge pull request #323 from libretro/nextletterscroll
Repurpose L/R in RGUI to scroll to next letter.
2013-10-04 20:40:17 -07:00
ToadKing 746e5b4a4d fix missing include 2013-10-04 17:05:15 -04:00
Themaister 091a6379eb Use info files to resolve libretro names. 2013-10-04 18:10:03 +02:00
Themaister a53680a57e Resolve libretro core names in RGUI. 2013-10-04 17:33:21 +02:00
Themaister 1ff48fcd38 Implement an idea for a start screen. 2013-10-04 14:53:47 +02:00
Themaister 80b62bf9e6 Slight tweaks. 2013-10-03 20:53:07 +02:00
Themaister b72996da86 Add RGUI scroll acceleration. 2013-10-03 20:44:33 +02:00
Themaister 1c9bbb9333 Repurpose L/R in RGUI to scroll to next letter.
A common feature in controller-based file selection pickers
is to be able to scroll to next letter in the alphabet.
2013-10-03 17:32:59 +02:00
twinaphex 8c7550bb90 (GX) Move some GX-specific variables over to menu_settings.c (only place
they are needed
2013-10-02 19:15:51 +02:00
twinaphex 2f35b523cb (RARCH_CONSOLE) Dpad emulation assignment at init startup was causing the issues - we need to eliminate all this junk code and properly refactor it
for all platforms anyway, so take it out for now
2013-10-01 18:52:53 +02:00
twinaphex cf3fa07c4a (RARCH_CONSOLE) Reduce code duplication for default input binds 2013-10-01 18:38:12 +02:00
twinaphex 618bbf5aae (RARCH_CONSOLE) Reduce code duplication - after environment_get, default dirs are
created and config file is loaded
2013-10-01 17:06:14 +02:00
twinaphex 452dd2cad8 (RARCH_CONSOLE) Replace rarch_make_dir with path_mkdir 2013-10-01 17:00:49 +02:00
Themaister 57cbbde420 Create a default config file if it doesn't exist. 2013-10-01 11:57:07 +02:00
Themaister 21b9fb1f4b Refresh menu properly on player change.
Players > #2 shouldn't see hotkeys.
2013-09-30 19:49:09 +02:00
Themaister 21e5a08135 Drop strange comment. 2013-09-30 19:10:07 +02:00
Themaister 39bf64412c Add a FIXME. 2013-09-30 18:57:34 +02:00
Themaister 36de382581 Remove obsolete rgui_controller_lut. 2013-09-30 18:56:19 +02:00
Themaister b3c1afe2ec Redirect keyboard events to RGUI.
Fixes issue where libretro cores receive keyboard events even though
they are not running (inside RGUI).
2013-09-30 18:53:56 +02:00
Themaister a3a8b762c3 Allow multi-line messages in RGUI. 2013-09-30 18:42:44 +02:00
Themaister 02cd05550e Reuse input_config_bind_map. 2013-09-30 18:08:47 +02:00
Themaister b4a648ca8a Merge branch 'master' of github.com:libretro/RetroArch into inputconfig
Conflicts:
	frontend/menu/menu_common.h
	frontend/menu/rgui.c
2013-09-30 17:50:05 +02:00
Themaister d25313d0c1 Avoid new keybinds triggering stuff right away.
Most relevant things here are RGUI toggle, back, start, etc.
2013-09-30 17:39:44 +02:00
ToadKing acb201648a [GX] fix compile 2013-09-29 21:54:18 -04:00
twinaphex dbfff9dff1 (RMenu) Add 'Save Config' to RMenu - for static linked console RA,
library name doesn't seem to get updated when you switch core
and create a new config file
2013-09-30 03:16:43 +02:00
twinaphex 4dc52370c6 (menu_settings) Ifdef shader settings 2013-09-30 02:56:28 +02:00
twinaphex 11e2ceb34f (RMenu) Start using ticker bar for menu descriptions - make it look as much
like RGUI as possible
2013-09-30 02:52:35 +02:00
twinaphex 103cf3a94e (RMenu/RGUI) Reuse two shader settings across RGUI/RMenu 2013-09-30 02:17:15 +02:00
twinaphex 66431d1524 (RMenu XUI) Refactor - implement rgui_iterate - go through same
code in menu_common.c as RGUI/RMenu
2013-09-30 00:54:35 +02:00
twinaphex 64dc9513ae (RMenu/RGUI) Get rid of MODE_MENU_INGAME_EXIT 2013-09-30 00:09:40 +02:00
twinaphex 59bfae864e (RMenu XUI) Fix crash at core options when no core options
in core
2013-09-29 21:11:30 +02:00
Themaister 3bdd3131a2 Only show RGUI menu toggle for player 1.
All hotkeys are done in terms of player 1.
2013-09-29 20:44:44 +02:00
Themaister 4f2de6d578 Add RGUI menu toggle config. 2013-09-29 20:40:04 +02:00
Themaister f1bfaaf420 Allow to customize all. 2013-09-29 19:37:48 +02:00
Themaister c5a033f7e1 Basic configuration seems to work. 2013-09-29 19:09:33 +02:00
twinaphex af644b3c15 (Xbox 1 RMenu) Show menu panel again for settings 2013-09-29 19:04:28 +02:00
twinaphex 48c042d56c (360) More build fixes 2013-09-29 18:04:56 +02:00
Themaister dad5e347d8 Start adding joypad config. 2013-09-29 17:58:46 +02:00
twinaphex 059f2c98cd (360) Build fixes to rmenu_xui.cpp 2013-09-29 17:53:26 +02:00
twinaphex 4271a4c15b menu_context.c - make C++ compatible 2013-09-29 17:50:29 +02:00
twinaphex 68ea997b83 (RMenu XUI) Hide XUI_CONTROL_NAVIGATE defines 2013-09-29 17:39:43 +02:00
twinaphex f3a5859853 (RMenu XUI) Cut down on code duplication 2013-09-29 17:08:42 +02:00
twinaphex d70a4da1d1 (360 RMenu XUI) Refactor code to use menu_set_settings 2013-09-29 17:04:43 +02:00
twinaphex 0ba8db53cb (RMenu) Settings toggling fixed 2013-09-29 16:25:36 +02:00
twinaphex 25e7595a2d (RMenu) Reuse menu_set_settings 2013-09-29 16:07:36 +02:00
twinaphex 963b041d14 (RGUI) Split settings up into new file - menu_settings.c 2013-09-29 15:47:45 +02:00
twinaphex 43e3aa3372 (RMenu) Swap out controls for Resize so it works the same as RGUI 2013-09-29 05:08:57 +02:00
twinaphex a1c8943d59 (RMenu) render_ingame_menu_resize - will be made same as RGUI so all the
bloat can go already
2013-09-29 05:03:36 +02:00
twinaphex ba837a74b4 (RMenu) remove input_presets_dir variable 2013-09-29 04:53:00 +02:00
twinaphex 9abcd71e42 (RMenu) Remove INPUT_PRESET_CHOICE 2013-09-29 04:47:32 +02:00
twinaphex cbe6e2ab6b (RMenu) Take out CONTROLS_SCHEME/SAVE_CUSTOM_CONTROLS - configswap is a
better substitute
2013-09-29 04:30:42 +02:00
twinaphex 977086d7da (RMenu) Quick fix when shaders are compiled in 2013-09-29 04:10:24 +02:00
twinaphex 33f1a4931d (RMenu) Take out non-working 'Autostart CGP on startup' setting 2013-09-29 04:05:10 +02:00
twinaphex a3559645b2 (RMenu) Get rid of RMenu frame advance - we will use RetroArch's
frame advance functionality from now on - this hacky stuff can go
2013-09-29 03:36:51 +02:00
twinaphex bc152410ef (RMenu) Have RMenu act exactly like RGUI - pressing Back in
LIBRETRO_CHOICE goes back to menu - you can now press left/right
in History list
2013-09-29 03:23:25 +02:00
twinaphex 91f2d76fbe (RMenu) Now shows no entries available when trying to enter a dir that has
no files with valid extensions - can also exit out of this dir
2013-09-29 01:34:34 +02:00
twinaphex 5a81028f96 Split up filebrowser code 2013-09-28 23:47:37 +02:00
twinaphex 51ac125f65 (GX) Per-core input config loading/saving is now part of RGUI - get rid
of this
2013-09-28 22:30:02 +02:00
twinaphex 14983ab56e (RGUI) rgui_flush_menu_stack - unroll 2013-09-28 18:34:37 +02:00
twinaphex c545c3e4f2 (RGUI) Split off RGUI display presentation code into separate file - should
be going through interface next
2013-09-28 04:45:44 +02:00
twinaphex 74cfcfa713 (rmenu.h) Get rid of useless externs 2013-09-28 04:28:28 +02:00
twinaphex c5beaec16c (RMenu) Make RMenu even more minimalist - fit more text onscreen 2013-09-28 04:14:07 +02:00
twinaphex f04501bcb2 (Rmenu) yellow selected file in filebrowser instead of red 2013-09-28 03:21:26 +02:00
twinaphex 488e0d10ea (RMenu) Properly goes back now a prev dir for select_directory/select_file 2013-09-28 02:40:24 +02:00
twinaphex 725be8ff94 (360/XDK) Build fixes 2013-09-28 01:46:55 +02:00
twinaphex ff3ce71b98 (RMenu) select_directory - remove logic at RGUI_ACTION_CANCEL 2013-09-27 22:52:05 +02:00
twinaphex 24a05c5e5c (RMenu) Shows path again - get rid of comment in select_directory 2013-09-27 21:59:45 +02:00
twinaphex 9e8d5d05cf Rename directory_parse to rgui_directory_parse to avoid namespace conlict 2013-09-27 21:05:51 +02:00
twinaphex e58cec4f05 (RMenu) Take out SETTING_FONT_SIZE 2013-09-27 20:32:29 +02:00
twinaphex 2ddbbcd85e Ifdef shader_manager_init function call invocation 2013-09-27 18:54:47 +02:00
twinaphex 5040f852ef Avoid warnings passing rarch_time_t value to rarch_sleep - cast to
unsigned int
2013-09-27 18:43:34 +02:00
twinaphex b858d268e6 (RMenu) Cleanups - comments no longer necessary 2013-09-27 18:00:54 +02:00
twinaphex 1a0a23ac8e (Rmenu) Refactor all text rendering to render_text function - called once 2013-09-27 17:35:47 +02:00
Hans-Kristian Arntzen 884ae34f0a Merge pull request #305 from libretro/configswap
Configswap
2013-09-27 08:34:36 -07:00
twinaphex af8caf45f7 (RGUI) RGUI_ACTION_SETTINGS was deprecated - get rid of it 2013-09-27 17:00:00 +02:00
twinaphex 7056edf143 (RMenu) Bake in rgui_list for PS3/Xbox 1/360 too 2013-09-27 16:52:03 +02:00
twinaphex 525f33687a (RGUI/RMenu) Useless include removed 2013-09-27 15:31:04 +02:00
twinaphex 52703220ea (RMenu/RGUI) Refactor RGUI/RMenu controls - now uses straight RetroPad polling
from input driver without awkward button mappings
2013-09-27 14:31:16 +02:00
twinaphex 123c1e2c88 (RMenu) Forgot break for case 2013-09-27 14:05:40 +02:00
twinaphex a825ea8e53 (RMenu) Refactor select_rom into select_file 2013-09-27 13:47:21 +02:00
twinaphex 2ead9b328b (RMenu) Move filebrowser_update up one layer to rgui_iterate 2013-09-27 02:39:39 +02:00
Themaister 8238ba7d50 Allow saving new config files directly from RGUI.
The file name is inferred to avoid typing.
2013-09-27 00:19:03 +02:00
Themaister 5d63d4d9e6 Fix potential segfault on config swap.
Main Menu list can shrink and selection_ptr wasn't set to a sane value.
2013-09-27 00:19:03 +02:00
Themaister 17e2da87e1 Don't hardcode rgui.cgp/glslp as default.
In a multi-config environment, shader manager could conflict.
Instead, infer the default RGUI shader cgps/glslps from config path.

Fallback to old rgui.cgp/rgui.glslp if we use a default config.
2013-09-27 00:19:02 +02:00
Themaister 217ad4b04d Update shader manager on game load. 2013-09-27 00:19:02 +02:00
Themaister a3d61e1ec5 Add Config Directory option to RGUI. 2013-09-27 00:19:02 +02:00
Themaister ce6de72181 Some cleanups in settings saving/load defaults. 2013-09-27 00:18:17 +02:00
Themaister aecbf71a90 Begin adding config swapping support to RGUI. 2013-09-27 00:17:42 +02:00
Themaister 933844274c Build fix. 2013-09-27 00:09:01 +02:00
twinaphex f74c698822 (RMenu) Start rewriting input code to be uniform to RGUI 2013-09-26 22:34:51 +02:00
Themaister b11895ec4c Build fix. 2013-09-26 21:45:35 +02:00
twinaphex 0039ade630 (RMenu/RGUI) Fast L/R scrolling 2013-09-26 15:50:10 +02:00
twinaphex 01a1b16932 (RMenu) Use rgui->selection_ptr 2013-09-26 14:45:48 +02:00
Themaister 914dc969c8 Stop rumbling effects when entering RGUI. 2013-09-26 14:23:55 +02:00
Themaister 841d8fa8e1 Add video_rotation.
Replaces g_extern.console.screen.orientation.
Rotation semantics have slightly changed to be more composable.
The rotation is now video_rotation + rotation set by cores themselves
(if allowed).

The config is now also saved properly.
2013-09-22 11:45:04 +02:00
Themaister 086caef070 Add input_libretro_device_pN setting.
Allows input device type to be saved in a config, which tremendously helps usability
for PlayStation 1 cores.
2013-09-22 11:09:14 +02:00
twinaphex d7eac16329 (menu_common) Add missing header include 2013-09-21 13:34:10 +02:00
twinaphex 917c52b77f Cleanup to libretro_install_core 2013-09-21 13:29:33 +02:00
Themaister c2e863ac85 Fixup menu_ctx_init_first.
Use it directly instead of find_driver().
2013-09-19 17:44:28 +02:00
twinaphex 3b70e3be4a (RMenu XUI) Use interface for RMenu XUI too 2013-09-19 15:01:17 +02:00
twinaphex 45f46abb6d Create a menu_context interface 2013-09-19 14:49:07 +02:00
twinaphex 1fc1014448 More g_settings manipulation moved over to set_settings 2013-09-19 12:24:12 +02:00
twinaphex 81280896ed Move more g_settings manipulation to settings.c (settings_set) 2013-09-19 11:38:12 +02:00
twinaphex 66716dc94c (RMenu XUI) Replace some snprintfs with strlcpy 2013-09-19 11:11:51 +02:00
twinaphex 290c6f99cb (RMenu XUI) Use fill_pathname_join instead of messy snprintf and messy
seperators
2013-09-19 10:04:49 +02:00
Themaister 8707c4c648 Add screenshot directory option to RGUI. 2013-09-16 23:30:42 +02:00
Themaister 815cf1f35c Add GPU screenshots option. 2013-09-16 23:12:34 +02:00
Themaister bbbe058cad Avoid OSD fonts appearing on screenshots.
Clears message queue and renders a cached frame
before taking screenshot when taking GPU screenshots.
2013-09-16 22:29:07 +02:00
ToadKing 246139c022 fix rgui without dynamic cores 2013-09-15 17:09:23 -04:00
twinaphex 8837139271 (360) Build fixes 2013-09-15 18:49:18 +02:00
Themaister 04a1b4b652 Add Core Directory option to RGUI.
Also clean up some useless branches to ternaries.
2013-09-12 22:00:59 +02:00
Hans-Kristian Arntzen 7d90ff4011 Merge pull request #303 from libretro/emscripten
Emscripten/Javascript port
2013-09-11 01:01:29 -07:00
Cray Elliott ba095dca79 Fix compilation error introduced by analog overlay changes 2013-09-06 01:43:55 -07:00
meancoot 149a0f37d0 (Overlay Analog) Coding style fixes 2013-09-05 18:19:07 -04:00
meancoot cb55a1d45a (Apple) Reorganize source tree 2013-09-05 01:24:27 -04:00
ToadKing 336e1eeb51 [EMSCRIPTEN] more audio fixes, revert to busywait method 2013-09-02 21:29:40 -04:00
Themaister a6268692b6 Add window scale x/y and crop overscan options. 2013-09-01 13:48:43 +02:00
Themaister b2bf3c12de Add swap_interval support.
Again, mostly useful for 120Hz monitors, and/or playing content which is
a fraction of monitor refresh rate.
2013-09-01 13:20:10 +02:00
pinumbernumber b3b92ee563 RGUI: Do not scroll if all items are visible at once 2013-08-30 11:29:54 +01:00
Themaister 62c34c7871 Add black_frame_insertion support for 120 Hz monitors. 2013-08-30 09:35:13 +02:00
ToadKing 04be8cbee2 new audio core, RWebAudio. Glitchy, but works well, even with requestAnimationFrame callbacks 2013-08-28 00:03:25 -04:00
pinumbernumber f897552ee7 Merge branch 'master' of git://github.com/libretro/RetroArch 2013-08-26 13:29:16 +01:00
pinumbernumber 333ae68163 more small style tweaks 2013-08-26 12:13:41 +01:00
twinaphex 7ad663c5f2 Get rid of RARCH_PERFORMANCE_MODE everywhere 2013-08-25 22:21:23 +02:00
ToadKing 87844cc486 Merge branch 'master' of https://github.com/libretro/RetroArch into emscripten
Conflicts:
	gfx/gl.c
2013-08-25 15:37:16 -04:00
pinumbernumber 3370684a06 Improved XInput support, misc tweaks 2013-08-25 17:17:23 +01:00
Themaister 32cae444a0 Fixup new private extensions.
Moved private stuff to libretro_private.h.
Dropped use of retro_variable (redundant and wrong type).

Didn't understand difference between EXEC_LOAD and EXEC_RELOAD at all.
Only one was used anyways ...
2013-08-25 11:10:32 +02:00
twinaphex edfab9630a Add RETRO_ENVIRONMENT_EXEC - refactor some stuff internally in
libretro frontend to implement this new functionality
2013-08-25 01:37:15 +02:00
twinaphex 8aef9f4c64 Hide away g_settings.libretro mutation and do calls to environment
callback action instead - frontends should do it this way as well
2013-08-24 23:08:40 +02:00