352 Commits

Author SHA1 Message Date
Themaister
9e2392051d Refactor libretro device type handling.
Show devices in RGUI.
2013-04-27 12:32:30 +02:00
Themaister
f637a89423 Can toggle devices in run time on PC.
Drop some input options if set_keybinds isn't implemented. Only adds
confusion.
2013-04-27 00:37:20 +02:00
Themaister
ac6c576d29 Drop dependency on delay_timer in RGUI. 2013-04-26 23:52:29 +02:00
Themaister
9a3875d99a Don't hardcode new delay timers in RGUI.
Delay timers are reset in driver.c.
2013-04-26 20:16:58 +02:00
Themaister
66a1c01419 Make device name show up in RGUI. 2013-04-26 00:22:12 +02:00
twinaphex
1e22908756 (RGUI) Cleaner rotation label 2013-04-23 23:25:05 +02:00
twinaphex
7a2c78ae68 Start unifying global init/deinit code for console 2013-04-22 22:16:46 +02:00
Themaister
911f782c50 Fix BB build. 2013-04-22 20:25:00 +02:00
Themaister
14f8291e57 Display core version in RGUI as well. 2013-04-22 20:16:26 +02:00
Themaister
7e4ef13520 Get core information when statically linked. 2013-04-22 20:10:22 +02:00
Themaister
c146206d30 Allow game selection directly if core is set.
Don't require core to be loaded if it's found in g_settings.libretro.
2013-04-22 16:58:00 +02:00
Themaister
45357cabdf Fix version rendering in RGUI. 2013-04-21 18:56:17 +02:00
Themaister
b40933ba3b Allow core selection to traverse directories.
Drop use of RGUI_FILE_DEVICE as it adds many extra special casing for no
real gain.
2013-04-21 18:22:28 +02:00
Themaister
96c0fbc8bc Fix #ifdef for fullscreen toggle. 2013-04-21 11:15:30 +02:00
Themaister
bb36aecadb Fix MSVC 2010 build. 2013-04-21 10:05:26 +02:00
Themaister
b3eca2bb68 Fix back button in Core Options. 2013-04-21 01:25:56 +02:00
Themaister
4681fe2578 Fix casing consistency. 2013-04-21 00:11:55 +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
43dc80c430 Don't push a file list before settings.
Not really needed, and is a source for confusion.
2013-04-20 23:37:57 +02:00
Themaister
4f7d3b5ea0 Add custom viewport + integer scale mode. 2013-04-20 12:48:33 +02:00
Themaister
7120e5842d Add integer scale to RGUI. 2013-04-20 11:48:26 +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
dd9e6029c2 (RMenu/RGUI) Make menu_iterate almost the same in both RGUI and RMenu - now we
can start moving it to the upper layer
2013-04-19 17:34:46 +02:00
twinaphex
2cef7466a8 (RMenu/RGUI) Don't set first delay timer 2013-04-19 00:52:37 +02:00
twinaphex
a979cba13c (RMenu/RGUI) Standardization pt. 1 2013-04-18 23:00:27 +02:00
twinaphex
16a40af173 (RGUI) Move menu_stack code back into rgui.c 2013-04-18 22:22:25 +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
7c4b730e51 (RMenu/RGUI) Move menu_init/menu_free to menu_common.c 2013-04-18 14:58:47 +02:00
Themaister
41573976b0 Fix ROM loading in RGUI.
menu_input_process() was skipped, so MODE_INIT wasn't set.
2013-04-18 09:44:47 +02:00
twinaphex
54725d009c (RMenu/RGUI) Use similar defines for menu 2013-04-18 02:48:18 +02:00
twinaphex
84f80dc2c1 (RMenu/RGUI) Create menu_common to tie RMenu/RGUI more closely together 2013-04-17 23:31:49 +02:00
twinaphex
161dd5741f (RGUI/RMenu) Standardize somewhat 2013-04-17 21:11:13 +02:00
Themaister
a0f7a184fd Avoid potential segfaults if files are deleted.
Potentially, on a refresh, selection_ptr could be out of range
if files have been removed.
2013-04-16 12:32:03 +02:00
Themaister
46f1374a27 Refactor selection_ptr push/pop logic.
Should make more sense now.
2013-04-16 01:53:07 +02:00
Themaister
2c8ddeb109 Add gfx_shader_resolve_relative.
Translates relative paths (from CGP) into absolute paths,
suitable for loading files, and saving cgp some place else.
2013-04-15 23:48:25 +02:00
Themaister
4c15814bf7 Ensure that terminal doesn't get overflowed. 2013-04-14 23:27:15 +02:00
Themaister
2853e50aa2 Move Hardware Filtering to GEKKO ifdef. 2013-04-14 23:17:48 +02:00
Themaister
8c58ff191a Fix strange use of pointers in screenshot code. 2013-04-14 23:14:38 +02:00
Themaister
926707ae44 Avoid needless branch. 2013-04-14 23:05:25 +02:00
Themaister
f8ac159fc2 Properly set RGUI shader struct on init.
Use g_settings.video.shader_path if configured.
2013-04-14 22:59:36 +02:00
Themaister
6373819a16 Use default shader type correctly.
Don't hardcode Cg as it's not supported everywhere.
2013-04-14 22:48:35 +02:00
Themaister
c9a02273bb Check for fullscreen in RGUI. 2013-04-14 16:40:17 +02:00
Themaister
829840b415 Fallback in RGUI if libretro_path isn't set. 2013-04-14 16:34:42 +02:00
Themaister
5e45c31f06 Set selection_ptr when calling OPEN_FILEBROWSER. 2013-04-14 16:29:35 +02:00
Themaister
ca5ff43b6f Add default filtering option to RGUI. 2013-04-14 01:45:33 +02:00
Themaister
241d55ccbf Add CGP preset load to RGUI. 2013-04-14 01:27:13 +02:00
Themaister
c17714ffbb Add full screen mode to set_texture_enable. 2013-04-13 16:49:25 +02:00
Themaister
e389220df8 Refactor frame_counter.
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00