36 Commits

Author SHA1 Message Date
twinaphex
092b2625dd (RMenu/RGUI) Drop MODE_MENU_INGAME 2013-05-05 15:20:45 +02:00
Themaister
65deccfcad Refactor ticker line creation.
Move to menu_common. Can be reused.
2013-05-05 11:26:02 +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
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
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
ToadKing
210afcb23f (RGUI) fix ROM loading message not appearing 2013-04-29 16:01:41 -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
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
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
twinaphex
5aa4101620 (Menu) Move MODE_LOAD_GAME mechanics to upper function rarch_main 2013-04-28 15:00:37 +02:00
twinaphex
8768a69bc6 Move history_free and history_init to higher-level menu_common.c 2013-04-28 03:48:35 +02:00
twinaphex
74b5b8549e (RMenu) Drop ifndef for RMenu 2013-04-27 16:40:01 +02:00
twinaphex
3b2d41360c (RMenu) Initial 'doing menu toggle' without delay timers 2013-04-27 14:52:39 +02:00
twinaphex
5f449fc870 (RMenu) Add Settings link to Quick Menu 2013-04-27 03:50:42 +02:00
Themaister
ac6c576d29 Drop dependency on delay_timer in RGUI. 2013-04-26 23:52:29 +02:00
twinaphex
0addc6d885 (RMenu) Use proper extensions 2013-04-24 18:58:07 +02:00
twinaphex
7a2c78ae68 Start unifying global init/deinit code for console 2013-04-22 22:16:46 +02:00
Themaister
1f96c5aeb3 Don't spam apply_state_changes in RGUI. 2013-04-21 15:43:14 +02:00
Themaister
610f33962a Add fullscreen toggle to RGUI.
Drop hotkey handling. Needed to add delay timer hackery in that case.
2013-04-21 00:01:49 +02:00
Themaister
be01a0ea59 Refactor aspect ratio handling.
Rework aspect ratio handling in RGUI.
Custom viewports work on PC. Ensure that aspect_ratio_idx persist
through reentrancy. Change ASPECT_RATIO_AUTO to ASPECT_RATIO_SQUARE to
better signal that it's the square pixel option.

Add ASPECT_RATIO_CONFIG as an option to use config file defined aspect
ratio.
2013-04-20 10:56:04 +02:00
twinaphex
b7e71f17b8 (RMenu/RGUI) Move menu_iterate to upper-layer menu_common 2013-04-19 17:53:01 +02:00
twinaphex
16a40af173 (RGUI) Move menu_stack code back into rgui.c 2013-04-18 22:22:25 +02:00
twinaphex
fbb82177f3 (RMenu XUI) Build fix 2013-04-18 19:09:38 +02:00
twinaphex
798f40b6a1 (RMenu/RMenu XUI) Move browser_update to upper-layer menu_common.c -
use same function for both RMenu and RMenu XUI
2013-04-18 19:05:43 +02:00
twinaphex
96f2ecce20 (RMenu/RGUI) Move filebrowser/menu stack initialization to upper-layer
menu_init() function
2013-04-18 18:33:03 +02:00
twinaphex
5b35feddae (RMenu/RGUI) Free rgui and filebrowser in upper-layer menu_free() function 2013-04-18 17:29:04 +02:00
twinaphex
0127f5eadd (RMenu/RGUI) menu_init - check for NULL return value and fail gracefully
if so
2013-04-18 15:14:19 +02:00
twinaphex
7c4b730e51 (RMenu/RGUI) Move menu_init/menu_free to menu_common.c 2013-04-18 14:58:47 +02:00
twinaphex
84f80dc2c1 (RMenu/RGUI) Create menu_common to tie RMenu/RGUI more closely together 2013-04-17 23:31:49 +02:00