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
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
Themaister
2b28050c15
Build fixups.
2013-08-11 01:16:08 +02:00
Hans-Kristian Arntzen
21a1ae72d5
Remove unused variables.
2013-08-11 01:08:00 +02:00
Themaister
b51fca8411
Fix X/Y on Shield.
2013-08-01 20:04:36 +02:00
twinaphex
2323cee6a7
Get rid of MODE_EXIT
2013-07-27 20:34:06 +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
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
b696388f34
(Clang) No warnings now
2013-07-03 02:59:46 +02: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
twinaphex
2b32c4dd9b
(RMenu) Remove stub 'Default all' options which were no longer used
2013-06-03 01:18:09 +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
twinaphex
58557f837b
(Menu) Reuse rgui_input for both HAVE_RMENU and HAVE_RGUI
2013-05-27 11:11:23 +02:00
Themaister
de7fc0fb6f
Increase ROM history size to 100.
2013-05-25 12:07:34 +02:00
Themaister
085929a40d
Fix potential segfault if rgui->info is broken.
2013-05-18 22:45:23 +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
ToadKing
5e839e5d74
fix compile warnings
2013-05-05 16:19:27 -04:00
ToadKing
858ad034c8
don't scroll tickers for entries not highlighted
2013-05-05 15:42:45 -04:00
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