Commit Graph

1258 Commits

Author SHA1 Message Date
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
twinaphex
7c81f554af Add RETRO_ENVIRONMENT_SET_LIBRETRO_PATH to libretro API. Also gives us opportunity
to write internal code - other libretro implementations can now just implement
this environ callback and have other external frontends of their own be able to swap
in/out libretro cores from outside
2013-08-24 22:35:54 +02:00
pinumbernumber
f5454cd446 Initial xinput support, fix msvc build 2013-08-23 13:09:59 +01:00
Themaister
9ce4684e14 Make sure ASPECT_RATIO_CUSTOM is set to something sane. 2013-08-19 23:00:17 +02:00
ToadKing
f4ff5f3ea3 [EMSCRIPTEN] less workarounds due to fixes in emscripten, enable more optimizations 2013-08-18 02:50:10 -04:00
twinaphex
e8555bc1ab (frontend) make macro for main entry point function 2013-08-14 14:10:49 +02:00
meancoot
9e2e135d19 (Apple) Get rid of some hacks in the frontend code. 2013-08-14 00:48:58 -04:00
twinaphex
1e14cbafd4 (frontend_android) Revert 2013-08-14 04:36:47 +02:00
twinaphex
6fd04e1e0e (Android Phoenix) Add TV mode - boot straight into RGUI 2013-08-14 04:17:30 +02:00
Themaister
fe24d961e3 Add args to ps3 environment. 2013-08-11 15:21:23 +02:00
Themaister
2b28050c15 Build fixups. 2013-08-11 01:16:08 +02:00
Themaister
e8271031b6 Stop/start audio driver on mute. 2013-08-11 01:09:10 +02:00
Themaister
6f4f1e3079 Fixup warnings. 2013-08-11 01:08:40 +02:00
Hans-Kristian Arntzen
21a1ae72d5 Remove unused variables. 2013-08-11 01:08:00 +02:00
twinaphex
b805efa59a (frontend) Additional param to argc/argv for iOS/OSX ports 2013-08-10 21:31:11 +02:00
twinaphex
3fda41bb8a (frontend) Get rid of one redundant RARCH_CONSOLE ifdef 2013-08-10 21:04:52 +02:00
twinaphex
d640c16eb3 (Frontend) Move more platform-specific code into environment_get function
implementations
2013-08-10 20:59:10 +02:00
CatalystG
99af806505 (BlackBerry) Fixup frontend for BB10 from merge. 2013-08-09 22:48:32 -04:00
Themaister
b51fca8411 Fix X/Y on Shield. 2013-08-01 20:04:36 +02:00
twinaphex
c7d3c9e955 (Apple) Fix build 2013-07-28 23:01:16 +02:00
twinaphex
56974007ad (frontend) Cleanups to frontend.c 2013-07-28 20:57:49 +02:00
twinaphex
52a160a744 (RMenu) Cleanups in select_file 2013-07-28 04:51:55 +02:00
twinaphex
f51e748ba8 (PS3) Fix core loading 2013-07-27 22:33:57 +02:00
twinaphex
db9462bc49 (GX) Build fixes 2013-07-27 21:38:38 +02:00
twinaphex
2323cee6a7 Get rid of MODE_EXIT 2013-07-27 20:34:06 +02:00
twinaphex
3e3e6ed976 Get rid of MODE_VIDEO_PAL_VSYNC_BLOCK 2013-07-27 20:14:29 +02:00
twinaphex
248d4e8084 Get rid of MODE_OSK_DRAW 2013-07-27 20:12:46 +02:00
twinaphex
29b13676c5 (Apple) Implement environment_get in Apple frontend context driver 2013-07-27 17:45:56 +02:00
twinaphex
e19d2320b2 (frontend_context) Implement process_events 2013-07-27 17:42:09 +02:00
twinaphex
ac8f57e679 Add platform_apple.c frontend driver 2013-07-27 17:40:21 +02:00
twinaphex
a9dd629fe6 Uniquely name each frontend context driver 2013-07-27 17:32:15 +02:00
twinaphex
484c5b8341 frontend.c - cleanups 2013-07-27 17:30:05 +02:00
twinaphex
ad7884e441 frontend.c - cut down on one ifdef 2013-07-27 17:18:18 +02:00
twinaphex
003635499f Add QNX frontend context file 2013-07-27 17:16:46 +02:00
twinaphex
40d5fcc472 Add shutdown to frontend_context.c - bake frontend_context in for all versions 2013-07-27 16:36:55 +02:00
twinaphex
78f757e0dc Have get_environment_settings call go through frontend_ctx function pointer 2013-07-27 13:07:26 +02:00
twinaphex
4eb283b7e3 Cleanups to frontend_ctx 2013-07-27 12:59:23 +02:00
twinaphex
1e70a46dd8 Merge platform_ files with platform_exec.c files 2013-07-27 03:59:01 +02:00
twinaphex
2650bec798 Setup platform_xdk as context as well 2013-07-27 00:32:56 +02:00
twinaphex
69381c2735 Add frontend_context.c - use for all console platform ports
(and other possible ports in future)
2013-07-26 20:58:47 +02:00
twinaphex
1549866703 (frontend.c) Remove another FIXME 2013-07-24 16:51:24 +02:00
twinaphex
1056b0b6b1 (rontend.c) Remove FIXME 2013-07-24 16:50:22 +02:00
ToadKing
9816334ef4 add ability to "disable" v-sync, set FPS limit to max 2013-07-20 04:23:03 -04:00
ToadKing
ff3de25636 fix error on video re-init, other cleanup 2013-07-18 23:58:35 -04:00
ToadKing
c77af5739b fix compile 2013-07-17 23:09:22 -04:00
ToadKing
ace8ead2db Merge branch 'master' into emscripten
Conflicts:
	config.def.h
	gfx/gfx_context.c
2013-07-17 22:58:14 -04:00
ToadKing
49398698b5 initial emscripten port (no audio/files, input broken) 2013-07-17 20:26:01 -04:00
twinaphex
d3acd123f1 (APPLE) Build fixes for new frontend.c 2013-07-16 22:44:34 +02:00
twinaphex
628426f8e8 (frontend.c) Only cater to new OSX port/iOS for now 2013-07-16 21:37:26 +02:00
twinaphex
d32c077ab2 (frontend) Make it still compatible with OSX SDL old-school version 2013-07-16 13:26:09 +02:00
twinaphex
3977cec315 (APPLE) Rename rarch_main_apple to rarch_main 2013-07-16 13:11:09 +02:00
twinaphex
1d69559b2e Remove frontend_objc.c 2013-07-16 13:09:11 +02:00
twinaphex
d09f9b88cf Correction to Apple conditional compile in frontend.c 2013-07-16 13:08:11 +02:00
twinaphex
30fff5049b Combine frontend.c and frontend_objc.c - meancoot - test if this
still works for OSX/iOS - can only check out later today
2013-07-16 13:06:13 +02:00
twinaphex
20654ca90b Cleanups in frontend.c 2013-07-16 12:15:28 +02:00
twinaphex
d929ef9d11 (frontend.c) Fixes for RARCH_CONSOLE 2013-07-15 20:49:36 +02:00
twinaphex
fe433b2322 Add new header file_ext.h - refactor out frontend_console.h 2013-07-15 14:54:40 +02:00
twinaphex
328ce6ad31 (RARCH_CONSOLE) Combine frontend_console.c with frontend.c - hope
and pray this doesn't break hard
2013-07-15 14:19:29 +02:00
twinaphex
e8a3151440 (PC) Get rid of warnings 2013-07-15 13:52:59 +02:00
twinaphex
a483953b5b (frontend.c) Fix Blackberry conditional compile 2013-07-15 13:51:09 +02:00
twinaphex
3e6ba96c0d Combine frontend_bbqnx.c and frontend.c 2013-07-15 13:40:47 +02:00
meancoot
a852da4e88 Start spliting ios port into dual OS X and iOS ports 2013-07-06 18:24:25 -04:00
Themaister
73016a2752 Throttle RGUI with timers.
Some drivers have broken VSync and without audio blocking, RGUI can blast away
at 1k+ FPS making it unusable.
2013-07-06 21:16:54 +02:00
twinaphex
e60f907ec6 Place conditional compile for frontend.c inside Griffin 2013-07-06 20:29:11 +02:00
twinaphex
a442e30c71 (Playbook) Updates to RetroArch Blackberry Playbook solution 2013-07-06 19:18:41 +02:00
twinaphex
df6dfb4970 (OSX/iOS) Start renaming ios_ namespace -functions we're going to implement for
OSX as well
2013-07-05 04:10:05 +02:00
twinaphex
423f4944ad (iOS/OSX) Make frontend code more generic 2013-07-05 03:56:41 +02:00
twinaphex
77d5190a01 (OSX) Make dummy context file - compile in RetroArch with Griffin 2013-07-04 15:01:38 +02:00
twinaphex
b696388f34 (Clang) No warnings now 2013-07-03 02:59:46 +02:00
twinaphex
1ff0107bd4 Clang warnings fixed
'Equality comparison with extraneous parentheses' semantics warnings in
Clang fixed
2013-07-02 15:23:20 +02:00
Squarepusher
7985de4eb8 Merge pull request #234 from Themaister/ios_btstack
Ios btstack
2013-06-22 20:23:13 -07:00
meancoot
20cb48818c (iOS) More cleanup and fixes 2013-06-21 23:39:01 -04:00
Themaister
40046531f3 Should fix GPU screenshots if last frame was duped. 2013-06-22 00:38:00 +02:00
Themaister
73bfae9602 Always render cache when using HW render.
When using HW render, only GPU screenshots are allowed.
2013-06-16 13:56:49 +02:00
Themaister
312154d110 Use common rarch_take_screenshot in RGUI.
Adds GPU screenshot support from RGUI by rendering a clean frame
then taking screenshot.

Should also fix screenshot crash when using GL cores.

Always uses g_settings.screenshot_directory path.
I didn't see the purpose of the RARCH_CONSOLE #ifdef. Probably a Wii
hack from way back ...
2013-06-16 13:44:07 +02:00
ToadKing
3bfa8d568d (Android) fix emulator settings not loading correctly 2013-06-14 21:13:37 -04:00
ToadKing
c424e0e99b (Android) fix crash on activity start 2013-06-14 20:50:15 -04:00
CatalystG
55b9f2f55d (BlackBerry) Adding to history for BB10 causes crash, it's done in load_menu_game_prepare anyways. 2013-06-11 23:19:59 -04:00
CatalystG
c3077bd4fe (BlackBerry) Add Cascades button mapping interface, player 1 only so far. 2013-06-11 23:19:58 -04:00
Themaister
bb3bac7e0d Fix ROM history being deleted when ROM includes ;.
Using ';' as a delimiter in history file was a mistake as it breaks
when files have this file included. Instead, split on newline.

To avoid reading broken history files, the history file path is
changed.

Also add game_history_path/size to config.
2013-06-09 22:24:30 +02:00
Themaister
d5a8d3bfb0 Can update video refresh rate from RGUI. 2013-06-07 14:34:09 +02:00
Themaister
d8d9073f30 Allow resetting frame time estimator from RGUI. 2013-06-07 14:26:33 +02:00
Themaister
b0b6e65ab6 Add monitor refresh rate monitor in RGUI.
Doesn't support updating refresh rate setting yet.
2013-06-07 14:10:42 +02:00
twinaphex
2eac87630d (Android) Build fix
(Android) Add GameMID to autodetection list
2013-06-04 11:14:14 +02:00
twinaphex
f50332df41 (360) Build fix 2013-06-03 20:42:04 +02:00
twinaphex
11ae5fde33 (RMenu) Move around 'Save Custom Controls' 2013-06-03 01:50:59 +02:00
twinaphex
5b3ef441a4 (Rmenu) Scroll viewport text at Resize Menu 2013-06-03 01:42:58 +02:00
twinaphex
9adf9ce818 (RMenu) Shorter menu labels 2013-06-03 01:23:02 +02:00
twinaphex
2b32c4dd9b (RMenu) Remove stub 'Default all' options which were no longer used 2013-06-03 01:18:09 +02:00
twinaphex
a71a6a4749 (RMenu/RGUI) Console changes - menu should always run with vsync on +
remove video throttle option
2013-06-02 23:29:28 +02:00
Themaister
74f3e8e11c Pause audio when going into RGUI. 2013-06-02 23:10:03 +02:00
twinaphex
5845530976 (RMenu) Fix game history Y positioning when dealing with multiple
pages
2013-06-02 22:57:35 +02:00
twinaphex
537be9f6a3 (Xbox/RMenu) Prevent empty string_lists returned by dir_list_new from
crashing the program
2013-06-02 22:32:06 +02:00
Themaister
1fb7ff7c4e Push the correct path to history.
If a zipped ROM was loaded directly from CLI, the extracted path would
be pushed to history.
2013-05-30 22:53:40 +02:00
ToadKing
35da2fd555 (GX) re-enable IOS reloading, fixes lingering USB issues 2013-05-28 22:20:36 -04:00
twinaphex
360184d49e (PS3) Fixes 'Return To Multiman' option 2013-05-28 22:15:21 +02:00
meancoot
6b2b56675c (iOS)Add a RGUI toggle button to the cocoa pause menu 2013-05-27 13:12:59 -04:00
twinaphex
58557f837b (Menu) Reuse rgui_input for both HAVE_RMENU and HAVE_RGUI 2013-05-27 11:11:23 +02:00
twinaphex
823b9a6a5d (Android) Add big changelog changes to Android built-in resources
(PS3) *blind coding* hopefully fix Return To Multiman option
2013-05-26 22:41:44 +02:00
Themaister
43a6346d26 Adds video_hard_sync_frames.
Allows to control the maximum amount of frames that can be queued on
GPU.
2013-05-26 13:43:24 +02:00
twinaphex
2613cf1b77 (RMenu XUI) Fix enums 2013-05-26 00:37:46 +02:00
twinaphex
eb05ee2ef4 (RMenu XUI) Move rewind options to RMenu XUI Options submenu 2013-05-26 00:37:00 +02:00
twinaphex
20fdda8ca9 (RMenu) Move rewind settings to Settings submenu 2013-05-26 00:32:39 +02:00
twinaphex
e492425700 (RMenu) Fixes key repeat 2013-05-26 00:03:27 +02:00
twinaphex
ce376ef7ea (QNX/iOS) Set default overlay directory for iOS and Blackberry QNX -
note - what to do on Android with /data/data/org.retroarch/cache/Overlays?
Can't seem to access or do anything wih this path on a Galaxy S3
2013-05-25 18:08:42 +02:00
Themaister
de7fc0fb6f Increase ROM history size to 100. 2013-05-25 12:07:34 +02:00
twinaphex
542a6b0385 (GX) Fix Gamecube build 2013-05-24 18:38:13 +02:00
twinaphex
1e05541477 (GX) Change ifdef HW_RVL to ifdef GEKKO for Gamecube resolution
support
2013-05-23 13:26:06 +02:00
twinaphex
5608683d41 Label of RGUI_OVERLAY_DIR_PATH - change to <default> 2013-05-22 23:02:03 +02:00
twinaphex
4dec0f271e (All other targets) Only save config if g_extern.config_path is
set
2013-05-22 22:59:55 +02:00
twinaphex
0977917837 (RGUI) Overlay directory path can now be set (and setting will be
saved)
2013-05-22 22:31:16 +02:00
Themaister
f6c126ecaa Only save config if g_extern.config_path is set. 2013-05-22 19:49:51 +02:00
Themaister
6654979cbb Enable config_save_on_exit for PC.
Off by default. Phoenix fixes later.
2013-05-22 19:49:18 +02:00
twinaphex
79ea30f54f Introduce config_save_on_exit 2013-05-22 15:35:28 +02:00
twinaphex
82b6ab3ec7 (NGC) Build fixes 2013-05-22 00:30:02 +02:00
Themaister
a66fdf8b5f Style nits. 2013-05-21 08:46:51 +02:00
ToadKing
c673c28274 (GX) fix crash on empty argv 2013-05-20 22:19:10 -04:00
ToadKing
655546849a (RGUI) allow setting paths from RGUI 2013-05-20 22:17:26 -04:00
Themaister
895d6cb4a7 (Android) Move menu_init() call around.
Should be called late (when g_extern.config_path, etc are set).
Fixes ROM history and RGUI showing configured libretro core.
2013-05-20 21:33:05 +02:00
ToadKing
812d78839d (GX) add hack for bad Salamander behavior 2013-05-19 20:40:48 -04:00
ToadKing
f3b4fbbb2d (GX) remove IOS reloading, was messing up Salamander and threaded device insertion fixed the issue we were having anyway 2013-05-19 20:40:13 -04:00
ToadKing
57058ee25f (GX) fix potential memory corruption in rarch_console_exec 2013-05-19 20:39:08 -04:00
twinaphex
f921162cac (RMenu/PS3) Implement Save Shader Preset 2013-05-19 23:10:21 +02:00
Themaister
085929a40d Fix potential segfault if rgui->info is broken. 2013-05-18 22:45:23 +02:00
ToadKing
fe81760a29 (ANDROID) fix ROM load error message on threaded video
remove overlay on ROM load error message
2013-05-18 14:06:23 -04:00
Themaister
1325794178 Remove config path in RGUI.
Wonky, opens a can of worms to change it.
2013-05-18 00:34:52 +02:00
Themaister
fd47aab9ee Allow user to browse overlays more easily. 2013-05-18 00:16:31 +02:00
Themaister
1a01c2b54a Print OVERLAY in menu when selecting one. 2013-05-18 00:14:11 +02:00
Themaister
44449a0ae6 Make overlay_scale logic consistent with overlay_alpha. 2013-05-18 00:09:09 +02:00
Themaister
2b72d6a30c Fixup overlay handling in RGUI.
- Fix massive memory leaks and behavior.
- Flush menu stack to input options.
- Display which overlay is used.
- Display (DIR)/(FILE) when overlay is searched for.
- Avoid potential floating point error when incrementing/decrementing
  opacity.
2013-05-18 00:04:29 +02:00
twinaphex
69e2bbd57e (RGUI) Add Overlay Scale option - when downscaling, doesn't seem to
update the hitboxes
2013-05-17 23:37:48 +02:00
twinaphex
21238048a3 (RGUI) Add opacity overlay setting 2013-05-17 23:26:11 +02:00
twinaphex
04e884a213 (RGUI) Make it possible to change overlays from RGUI 2013-05-17 23:13:09 +02:00
Themaister
ea8aab4c42 Move rewind and SRAM settings around.
Move to general "Settings".
2013-05-17 22:22:15 +02:00
twinaphex
4d9d868077 (BB10) Save to ROM history when loading game from Cascades interface 2013-05-17 21:07:19 +02:00
twinaphex
2c5be4ad56 (iOS) Save to ROM history when loading game from Cocoa interface 2013-05-17 21:05:28 +02:00
Themaister
978ce1dc49 Call menu_rom_history_push_current() on Android. 2013-05-17 18:38:33 +02:00
Themaister
608f88bd55 Refactor initial ROM history save.
Add menu_rom_history_push_current().
2013-05-17 18:33:45 +02:00
Themaister
50bd5bb4ff Save to ROM history when loading from CLI. 2013-05-17 18:22:03 +02:00
Themaister
559b5d39fc Reallow left/right RGUI scroll.
Assumed this was a bug as right scroll was broken.
Fixes right case as well.
2013-05-13 00:26:46 +02:00
Themaister
f9cfface71 Don't set do_held on left/right.
Fixes a bug where NAV_MENU was checked for and not (1 << NAV_MENU).
2013-05-11 14:26:05 +02:00
twinaphex
50b9248624 (QNX/BB) Save config file at exit - compile in config_save_file
for all targets from now on
2013-05-11 02:19:09 +02:00
twinaphex
41e5083f0c (Playbook) Set g_settings.libretro to 'app/native/lib' by default 2013-05-11 02:05:05 +02:00
twinaphex
8754afe691 (Playbook) Autostart with default overlay if nothing is there in config file
+ put overlays as assets inside BAR file
2013-05-11 01:48:03 +02:00
twinaphex
e0cca6e7a8 (Playbook) Fixes Playbook build - starts up with RGUI now 2013-05-11 01:28:04 +02:00
twinaphex
6e2fc94c5e (360) Fix Salamander build 2013-05-10 23:38:54 +02:00
twinaphex
8785a45da1 (RMenu XUI 360) Add savestate loading/saving by pressing OK button
in Menu
2013-05-10 22:52:34 +02:00
twinaphex
523a27ce61 (360) Load Game History list now works on 360 as well 2013-05-10 22:44:58 +02:00
twinaphex
f1358e1643 (RMenu XUI 360) Add initial Load Game History 2013-05-10 22:01:35 +02:00
twinaphex
21c335df74 (RMenu XUI 360) Add Core Options 2013-05-10 20:40:38 +02:00
twinaphex
1ee603b07e (RMenu XUI 360) Add Audio Options 2013-05-10 19:02:24 +02:00
twinaphex
3543885acf (RMenu XUI 360) Fix VIDEO_OPTIONS_MODE 2013-05-10 18:36:59 +02:00
twinaphex
cdcc068a18 (360 RMenu XUI) Rename rarch_quickmenu to rarch_video_options 2013-05-10 18:25:17 +02:00
twinaphex
c1757f7a3d (360 RMenu XUI) Take out some unnecessary HXUIOBJs and just have a root_menu and
current_menu HXUIOBJ instead
2013-05-10 17:14:22 +02:00
twinaphex
70af692622 (360 RMenu XUI) Easier way to declare new XUI menu classes 2013-05-10 03:54:20 +02:00
twinaphex
0ca3a52172 (360) Move more video options from 'Settings' to 'Video Options' 2013-05-10 03:36:32 +02:00
twinaphex
388a2d9830 (360) HD XUI overlay better positioned for 4:3 screen - make
gamma correction toggle a 'restart app' option
2013-05-10 03:22:59 +02:00
twinaphex
c9d5f8ba67 (RMenu XUI) Make text bottom label work 2013-05-09 22:27:18 +02:00
twinaphex
75edb0fa43 (RMenu XUI) Have filebrowsers use the same XUI file 2013-05-09 21:46:13 +02:00
twinaphex
18fe85bc1b (RMenu XUI) Restore rotation functionality + other tweaks 2013-05-09 20:24:58 +02:00
twinaphex
17ea68b9cd (RMenu XUI) Implement more options in main menu 2013-05-09 20:07:12 +02:00
twinaphex
34ec600190 (RMenu XUI) Build fix 2013-05-09 18:46:06 +02:00
twinaphex
c5be3d957a (RMenu XUI) Cleanups + indenting 2013-05-09 18:44:35 +02:00
twinaphex
1ba7659c3f (RMenu XUI) Change rarch_main.xui into list view as well 2013-05-09 18:13:27 +02:00
twinaphex
4fc4c294c2 (360) Have 'controls' screen use same XUI screen as rarch_controls /
rarch_quickmenu - 'slider' will be reimplemented as a simple
list option
2013-05-09 15:13:09 +02:00
twinaphex
9f16c5eee5 (360 XUI) Start using the same XUI file for several screens (Quick Menu /
settings screen now use the same xui file only duplicated)
2013-05-09 13:25:02 +02:00
ToadKing
9b7bd42cc0 fix compiler warning 2013-05-08 19:12:18 -04:00
ToadKing
5290a25ccd (GX) support ROM passing through salamander
Needed on Wii since we might need to load salamander when switching cores due to memory issues
2013-05-08 19:11:52 -04:00
Themaister
7f88b51828 Split video and shader toggle options.
Fixes crashes when left/right was used on browser options.
2013-05-08 18:17:30 +02:00
twinaphex
b45ce8a998 (XUI) Use XuiUnregisterClass directly 2013-05-08 02:11:06 +02:00
Themaister
3b06905329 Update RGUI shader menu when a preset is loaded. 2013-05-06 16:41:31 +02:00
ToadKing
0c08726a8e (GX) workaround weird bug in file detection 2013-05-05 23:06:57 -04:00
twinaphex
7067b2eeb1 (RMenu XUI) Have one common m_back 2013-05-06 03:05:21 +02:00
twinaphex
bbcd7b535b (360 RMenu XUI) Programmatically fill in Input Options menu 2013-05-06 02:55:39 +02:00
twinaphex
21a50bdd65 (360 RMenu XUI) Use only one m_settingslist 2013-05-06 02:44:13 +02:00
twinaphex
1a3a86d824 (360 RMenu XUI) Programmatically fill in Quick Menu list 2013-05-06 02:40:15 +02:00
twinaphex
d481bc61fc (360) Programmatically fill in XUI list for 'Settings' 2013-05-06 02:07:33 +02:00
twinaphex
7d075514b3 (360) Fix 'Default filter' labels 2013-05-06 01:22:15 +02:00
twinaphex
a4c9e7cffd (360) Gamma correction toggle should no longer crash 2013-05-06 01:11:20 +02:00
twinaphex
dd1a0476d8 (360 RMenu XUI) Take out more unnecessary info messages 2013-05-06 00:57:29 +02:00
twinaphex
3e39c1ebef (GX/RGUI) Build fix 2013-05-06 00:54:17 +02:00
twinaphex
900ee2e9ae (XDK360) Get rid of no longer needed message queue messages 2013-05-06 00:47:22 +02:00
twinaphex
0a8ee17d55 (PS3/GX/PSP) Use new default 'savefile' directory called 'savefiles'
instead of 'sram'
2013-05-06 00:31:24 +02:00
twinaphex
af867b008d (XDK) Make initial 'default paths' creation of dirs work
on XDK
2013-05-06 00:30:45 +02:00
twinaphex
fd27c1b7ca (RARCH_CONSOLE) Check if needed directories exist and if not,
create them
2013-05-06 00:06:08 +02:00
ToadKing
5e839e5d74 fix compile warnings 2013-05-05 16:19:27 -04:00
twinaphex
f2e8f1f1fd (RGUI) Create Settings menu 2013-05-05 22:02:47 +02:00
ToadKing
858ad034c8 don't scroll tickers for entries not highlighted 2013-05-05 15:42:45 -04:00
twinaphex
87c59df6ea (RMenu/XDK1) Build fixes 2013-05-05 21:16:34 +02:00
twinaphex
9d2d0e5844 (RMenu) Split up Shader Options into submenu - same as RGUI 2013-05-05 21:11:34 +02:00
twinaphex
e8ef68345b (RMenu) Use more sane define names 2013-05-05 20:10:26 +02:00
twinaphex
c5e0c2ad2b (RMenu) Update some labels 2013-05-05 17:38:20 +02:00
twinaphex
5f441fbd43 (XDK1) Shows rotation option again on Xbox 1 2013-05-05 17:31:30 +02:00
twinaphex
26acc84596 (RMenu) Adjust amount of characters to consider as 'max' for ticker
for Xbox 1
2013-05-05 17:21:15 +02:00
twinaphex
84ed664fd1 (RMenu) Use menu_ticker_line for RMenu as well 2013-05-05 17:03:57 +02:00
twinaphex
40ba6cf9e2 (GX/RMenu) Have per-core configuration use g_extern.input_config_path - have
RMenu use it as well
2013-05-05 16:29:32 +02:00
twinaphex
6a1eb0c0b1 (PS3/RMenu) Move oskutil_handle to menu_common.h 2013-05-05 16:12:06 +02:00
twinaphex
9c3d943600 (RGUI/RMenu) Get rid of SRAM/Savestate dir enable - obsolete now 2013-05-05 16:02:57 +02:00
twinaphex
092b2625dd (RMenu/RGUI) Drop MODE_MENU_INGAME 2013-05-05 15:20:45 +02:00
Themaister
1540cb9bba Use ticker line across the board. 2013-05-05 11:31:43 +02:00
Themaister
65deccfcad Refactor ticker line creation.
Move to menu_common. Can be reused.
2013-05-05 11:26:02 +02:00
Themaister
5b8257d62c Add ticker line to settings in RGUI.
Adds a ticker line so that long paths can still display in full
without overflowing the terminal.
2013-05-05 11:17:27 +02:00
Themaister
e88b3204bc Clarify Hard VSync wording.
Can use Hard Sync even without VSync.
2013-05-05 09:54:54 +02:00
twinaphex
de1f159178 (RMenu) Change title of 'Screenshot Mode' to 'Take Screenshot' - same as
RGUI
2013-05-05 04:48:06 +02:00
twinaphex
2c557c1eef (RMenu) Menu now more or less synced with RGUI's menu ordering 2013-05-05 04:42:06 +02:00
twinaphex
ed97079b89 (RMenu) Path settings submenu 2013-05-05 03:41:41 +02:00
twinaphex
a0b07c8d7d (RMenu) Fix labels 2013-05-05 02:58:48 +02:00
twinaphex
374a8c065d (RMenu) Move input settings to submenu 2013-05-05 00:27:55 +02:00
twinaphex
2ac2df09d4 (RMenu) Sync name labels with that of RGUI 2013-05-05 00:27:55 +02:00
Themaister
a12d163bde Move Video Options out of shader manager branch. 2013-05-04 23:44:50 +02:00
Themaister
fdfdb43ada Move shader settings to their own sub-menu. 2013-05-04 23:44:50 +02:00
twinaphex
57949c7c46 (RMenu) Cleanups 2013-05-04 23:26:54 +02:00
Themaister
086db7c24a Remove RATE_CONTROL in RGUI.
It's redundant as 0.000 delta disables it anyways.
2013-05-04 23:20:38 +02:00
twinaphex
58899bbbf2 (RGUI) Fixup config file 'option' 2013-05-04 22:54:17 +02:00
Themaister
f5d4008018 Check g_settings.video.hard_sync per frame.
Don't use hard_sync default in RGUI.
2013-05-04 22:49:06 +02:00
twinaphex
6992ab8943 (RGUI) Add placeholder rate control option - needs way to be 'enabled'
/ 'disabled' ingame
2013-05-04 22:47:14 +02:00
twinaphex
d447dba432 (RGUI) Add Vsync and Hard sync options 2013-05-04 22:29:22 +02:00
twinaphex
f1d55b9360 (RGUI) Add Path options (note - not yet changeable - we will need 'scrolling'
if a label on the right side is too long to fit the screen - something
like a 'ticker' that increments the text from right to left by one
character per frame)
2013-05-04 21:17:47 +02:00
twinaphex
7c21bb1496 (RGUI) Split up 'disk options' into Disk submenu 2013-05-04 19:26:34 +02:00
twinaphex
f93513113d (RGUI) Split up audio options into 'Audio Options' submenu 2013-05-04 19:00:57 +02:00
Themaister
e3d78af36c Fix off-by-one bug.
Rename "Device No." to Player to clarify a bit.
2013-05-04 17:03:06 +02:00
Themaister
254d9b36d6 Flush RGUI menu stack correctly.
Menu stack wasn't flushed out correctly on ROM load.
2013-05-04 16:56:44 +02:00
twinaphex
a5f89d88ce (RGUI) Make 'input' into its own category (should have been done from the start
really)
2013-05-04 16:48:53 +02:00
twinaphex
e6b3bb079b (RMenu/RGUI) Add rgui->current_pad 2013-05-04 16:15:05 +02:00
Themaister
946a2a2fc1 Update rgui->load_no_rom in the right place. 2013-05-04 14:55:29 +02:00
Themaister
13f0a8548f Fix crash when rgui->info.library_name is NULL.
If retroarch was started with g_settings.libretro as a directory, and a
ROM loaded. Going into RGUI would see g_settings.libretro as a directory
and rgui->info wouldn't be properly initialized.

Fixed by updating g_settings.libretro if a specific core is resolved.
2013-05-04 14:32:00 +02:00
Themaister
1dfcc8a2b0 Fix MSVC2010 build. 2013-05-04 00:59:59 +02:00
Themaister
175e657071 Clear out load_no_rom after rom load. 2013-05-02 15:43:11 +02:00
Themaister
99990173cc Can load without ROM in RGUI (HAVE_DYNAMIC).
Not sure how this will work on RARCH_CONSOLE, but it'll probably be
checked for in startup on core load somehow and either start in menu or args->no_rom.
2013-05-02 14:46:05 +02:00
Themaister
2f61e3c65d Fix punctuation. 2013-05-01 16:49:23 +02:00
ToadKing
c8b0d23c78 (ANDROID) display error message when ROM fails to load 2013-04-30 22:43:13 -04:00
ToadKing
a2247272ef add back in ROM load failure message 2013-04-30 21:45:02 -04:00
Themaister
81e8a51728 Should fix RMenu zip support. 2013-05-01 01:18:01 +02:00
meancoot
be5022b9c5 (iOS) Build fixes 2013-04-30 19:11:43 -04:00
Themaister
e2229ec3c3 Use strcasecmp in extension checking. 2013-04-30 23:58:49 +02:00
Themaister
c87e79556d Add zip extensions to RMenu as well. 2013-04-30 23:48:14 +02:00
Themaister
1d9eea880a Add zip as extension in RGUI file browser. 2013-04-30 23:36:29 +02:00
ToadKing
0c0e4d1ddd (GX) set argv[0] when switching cores 2013-04-29 22:05:21 -04:00
ToadKing
203435487e (GX SALAMANDER) fix hang in salamander 2013-04-29 21:55:23 -04:00
ToadKing
e01244acfa (GX) clear framebuffer before exit 2013-04-29 16:08:56 -04:00
Themaister
19f5d53b9d Fix capitalization. 2013-04-29 22:02:46 +02:00
ToadKing
210afcb23f (RGUI) fix ROM loading message not appearing 2013-04-29 16:01:41 -04:00
twinaphex
69aa79b1e9 (RARCH_CONSOLE) When we encounter a CORE executable - rename,
save and exit app.
2013-04-29 19:37:02 +02:00
twinaphex
8f2ed9a405 (XDK1) Load Game (History) works now on Xbox 1 2013-04-29 18:05:48 +02:00
twinaphex
eeaa53b127 (XDK1/RMenu) Build fix 2013-04-29 17:08:24 +02:00
Themaister
1cab391be8 Add SRAM autosave option to RGUI. 2013-04-29 16:12:15 +02:00
twinaphex
ded204ce19 (PS3) Load Game History works on PS3 - Multiman will from now on
have to supply its own SELF path to argv[2] in order to work
2013-04-29 15:19:52 +02:00
ToadKing
455167ec19 (GX) error checking fix 2013-04-29 08:27:16 -04:00
Themaister
e15ba44c50 Drop ROM history if config_path isn't set.
Avoid loading and saving history from/to a potential broken path.
2013-04-29 14:12:39 +02:00
twinaphex
6cee86c768 (RMenu) Get rid of main_wrap savestate_dir/sram_dir 2013-04-29 05:44:32 +02:00
twinaphex
b0968790c6 (RMenu) Add preliminary Load Game History - now just need to
properly set up rarch_console_exec for arg passing (PS3/Xbox 1/360)
2013-04-29 05:17:22 +02:00
twinaphex
7eafb676e3 (RMenu) Cleanups 2013-04-29 04:55:49 +02:00
twinaphex
51aa5b170f (RMenu) Fixes/cleanups 2013-04-29 03:59:48 +02:00
twinaphex
86628d3462 Add param to load_menu_game_history - rgui->selection_ptr is
unused yet in RMenu/RMenu XUI, so need to pass a param to function
2013-04-29 03:10:26 +02:00
twinaphex
4a772c3fa8 (Wii) Working Load Game History 2013-04-29 03:05:46 +02:00
ToadKing
74faafff37 buildfix 2013-04-28 20:06:32 -04:00
ToadKing
887fd3c798 (GX) arg passing changes (UNTESTED) 2013-04-28 20:00:09 -04:00
twinaphex
ebda8425dc (Wii) Ability to use custom libogc library 2013-04-28 18:37:55 +02:00
twinaphex
3b5c85f485 (CONSOLE) Fixes history list on console when g_extern.fullpath
does not point to a ROM path
2013-04-28 17:30:08 +02:00
twinaphex
775ed24633 Fix for consoles in load_game_menu_prepare 2013-04-28 16:58:58 +02:00
twinaphex
63ba647018 Move all of the code to menu_common.c to avoid code duplication
across frontends
2013-04-28 16:38:13 +02:00
Themaister
ca5db6d5b7 Include config.h correctly. 2013-04-28 15:25:22 +02:00
Themaister
13e978a2ed Avoid MODE_INIT step. It's useless. 2013-04-28 15:23:57 +02:00
twinaphex
b459d59793 Have system_process_args use MODE_LOAD_GAME from now on 2013-04-28 15:05:02 +02:00
twinaphex
5aa4101620 (Menu) Move MODE_LOAD_GAME mechanics to upper function rarch_main 2013-04-28 15:00:37 +02:00
twinaphex
05ac7919b1 system_process_args now has return type 2013-04-28 05:18:56 +02:00
twinaphex
295a6aadeb frontend_console - Cleanups to libretro_install_core 2013-04-28 04:52:50 +02:00
twinaphex
8768a69bc6 Move history_free and history_init to higher-level menu_common.c 2013-04-28 03:48:35 +02:00
Themaister
d70a7df8ae Fix CXX_BUILD. 2013-04-28 02:01:25 +02:00
Themaister
ecbda2497c Fix some casing consistencies. 2013-04-28 01:52:58 +02:00
Themaister
62e2586116 Fixups to display in history. 2013-04-28 01:47:20 +02:00
Themaister
5293f0e1fc Begin intergrating ROM history. 2013-04-28 01:47:20 +02:00
Themaister
901516d283 Load history. 2013-04-28 01:44:39 +02:00
Themaister
30ac2ebfcf Start in settings menu on menu entry. 2013-04-28 01:44:39 +02:00
Themaister
2ccea2299d Add initial ROM history. 2013-04-28 01:44:38 +02:00
twinaphex
582cfce1f8 (RGUI) Move all video settings over to 'Video Options' submenu 2013-04-28 01:41:38 +02:00
twinaphex
370ed0cef4 (RGUI) Move first video option ('Rotate') to Video Options submenu 2013-04-28 01:04:34 +02:00
twinaphex
c02725f091 (RGUI) Rename SHADER MANAGER to VIDEO OPTIONS - build it in when
HAVE_SHADER_MANAGER is not defined as well
2013-04-28 00:32:25 +02:00
Themaister
7fddcab108 If rarch_main_wrap_init fails, exit instead of crash. 2013-04-27 23:19:38 +02:00
twinaphex
11e2577a87 (RMenu XUI) Add menu toggle hack for now 2013-04-27 22:49:43 +02:00
twinaphex
cd9c6aa95d Drop delay_timer 2013-04-27 21:27:41 +02:00
twinaphex
6b6dd4fc4e (RMenu) Fixes rotation 2013-04-27 18:37:05 +02:00
twinaphex
40ac65f8ef (RMenu) Cleanups 2013-04-27 18:09:47 +02:00
twinaphex
e61ef2322c (RMenu) fixes menu toggle 2013-04-27 17:44:39 +02:00
twinaphex
c92585e6a3 (RMenu) Sligtly better menu toggle but still screwed up 2013-04-27 16:49:39 +02:00
Themaister
bd1f4ce72d Go back to settings menu after appending disk. 2013-04-27 16:48:17 +02:00
twinaphex
74b5b8549e (RMenu) Drop ifndef for RMenu 2013-04-27 16:40:01 +02:00