Commit Graph

290 Commits

Author SHA1 Message Date
ToadKing
3f4699cdd4 (GX) re-enable ASM blitter 2013-02-02 21:51:55 -05:00
ToadKing
4d1dccbd25 (GX) fix video issue on non-multiple-of-4 texture 2013-02-02 21:47:27 -05:00
ToadKing
98fa22bd37 (GX) fix nunchuk/cc joysticks 2013-01-29 18:48:52 -05:00
ToadKing
84e48fd3ed (GX) don't rotate menu if game rotates 2013-01-21 18:12:32 -05:00
ToadKing
9283aa2ea8 (GX) set default unbound buttons correctly 2013-01-21 17:32:37 -05:00
ToadKing
5daf48f303 (GX) cleanup input code a bit
fix minor accuracy issue with joystick values
2013-01-19 14:43:18 -05:00
twinaphex
e30b71c2e4 (Wii) Refactor classic analog controller code somewhat 2013-01-18 19:43:56 +01:00
twinaphex
70e41129c2 (GX) Add Gamecube shortcut button combos 2013-01-18 15:46:02 +01:00
twinaphex
b1cb4a7cd4 (Wii) Add button combo shortcut binds 2013-01-18 15:07:11 +01:00
twinaphex
0acf0a461b (Wii) Both analog sticks now work more or less correctly 2013-01-18 14:24:46 +01:00
twinaphex
1d29060e08 (Wiiuse) Merge patches from rpavlik/wiiuse
(GX) Remove Wii Classic analog stick menu moving -too twitchy to
bother with
2013-01-18 12:16:06 +01:00
ToadKing
929859a291 (GX) fix some menu messages not appearing
adjust position of in-game messages
2013-01-14 16:31:33 -05:00
twinaphex
c9b0e1635e (GX) Shows text menu message now ingame 2013-01-14 06:26:45 +01:00
twinaphex
0ed0295629 Revert "(GX) Declutter message queue code in RGUI"
This reverts commit 28b79e5872.
2013-01-14 03:55:01 +01:00
twinaphex
28b79e5872 (GX) Declutter message queue code in RGUI 2013-01-14 03:49:24 +01:00
twinaphex
0f2e36d349 (RARCH_CONSOLE) Move default_binds 2013-01-13 03:17:13 +01:00
twinaphex
04cacb5e30 Upgrade lifecycle_menu_state to 64bit variable lifecycle_mode_state 2013-01-12 03:13:03 +01:00
twinaphex
cc43b84ff2 (RARCH_CONSOLE) Refactor more state variables 2013-01-11 19:44:34 +01:00
twinaphex
ca3be92255 (RARCH_CONSOLE) Refactor msg_fps variable 2013-01-11 06:56:05 +01:00
twinaphex
5bf022fd99 (RARCH_CONSOLE) Use local variable copy of g_extern.lifecycle_menu_state in frame
functions - more state functionality will be moved here (for console ports)
2013-01-11 06:32:35 +01:00
twinaphex
3c8bb7333e (RMenu) Refactor g_extern.draw_menu 2013-01-10 19:43:00 +01:00
twinaphex
a925f3ca9f (RARCH_CONSOLE) Rename and relocate all menu files 2013-01-09 17:50:12 +01:00
twinaphex
905a2046f4 (NGC) Fix build 2013-01-09 05:08:08 +01:00
ToadKing
f33ed73671 (Consoles) re-add second timer for scroll delays 2013-01-07 23:58:00 -05:00
ToadKing
1dc08b9a6d (GX) work with new console code 2013-01-07 23:48:21 -05:00
Themaister
d9b640fafe (RARCH_CONSOLE) fixups for set_shader(). 2013-01-08 04:08:15 +01:00
twinaphex
fe62828fb1 (RARCH_CONSOLE) Refactor timer code 2013-01-08 00:35:49 +01:00
twinaphex
3a5d056b95 Expand functionality of set_shader callback function 2013-01-07 16:46:26 +01:00
ToadKing
1221b024cb (GX) fix potential memory corruption in 32-bit video conversion 2013-01-06 20:34:41 -05:00
twinaphex
4866aff654 (Android) Input tweaks - use local pointer variables 2013-01-07 02:09:19 +01:00
twinaphex
31e82fa6e8 (GX) Input - fix ifdefs 2013-01-07 01:51:29 +01:00
twinaphex
e563b3f1d2 (GX) One for loop now for both PAD and WPAD - WPAD done
first
2013-01-07 01:48:56 +01:00
ToadKing
5f08c2f937 (GX) skip polling of disconnected GC controllers 2013-01-06 19:19:23 -05:00
ToadKing
71bc5ae50d (GX) potential video memory corruption 2013-01-06 19:02:49 -05:00
ToadKing
dc92db11a3 (GX) fix input quirks 2013-01-06 18:47:52 -05:00
twinaphex
1a48a5522d (GX) Shows 'ingame menu' options now 2013-01-06 23:45:30 +01:00
twinaphex
3f2112d2fd (GX) Input polling refactor - do Wiimote first - skip GC poll
if no GC pads are connected
2013-01-06 20:17:05 +01:00
twinaphex
33154c1a04 (GX) Input tweaks 2013-01-06 19:40:54 +01:00
twinaphex
40430f735b (Wii) Menu flow control improvements 2013-01-06 17:40:27 +01:00
twinaphex
6c4da75612 (RARCH_CONSOLE) Move Salamander files to frontend/salamander 2013-01-06 05:33:37 +01:00
twinaphex
011e740129 Move all frontend files to new dir 'frontend' 2013-01-06 05:22:21 +01:00
twinaphex
aaebc0be3d (RARCH_CONSOLE) Add #ifdef HAVE_DYNAMIC for libretro dynamic
library argv
2013-01-06 04:11:24 +01:00
twinaphex
66dfceabe1 (RARCH_CONSOLE) Build fixes + rarch_main_init_wrap needs to be
always compiled in and not ifndef HAVE_RARCH_MAIN_WRAP
2013-01-06 03:50:55 +01:00
twinaphex
3f537518e1 (RARCH_CONSOLE) Use g_extern.config_path 2013-01-06 03:09:51 +01:00
twinaphex
369477a15b (RARCH_CONSOLE) Add MODE_INIT 2013-01-06 01:28:39 +01:00
twinaphex
e06583a45c (RARCH_CONSOLE) Get rid of emulator_initialized - replace with main_is_init 2013-01-05 23:49:58 +01:00
twinaphex
c0c81bf22b (RARCH_CONSOLE) Move rarch_config_save to settings.c - rename to
config_save_file
2013-01-05 22:18:59 +01:00
twinaphex
08afcbfa3d (RARCH_CONSOLE) Use void* for param passing type 2013-01-03 03:02:52 +01:00
twinaphex
14c3faab53 (GX) Create stub gx_set_shader function 2013-01-02 17:13:32 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
ToadKing
44dbdf7b02 (GX) skip launching salamander if we're switching core, one less point of failure 2012-12-30 18:06:17 -05:00
ToadKing
1fccba40d5 (GX) add ability to change default save location
fix save/load/screenshot/reset options not showing up in in-game menu
2012-12-30 17:30:43 -05:00
Toad King
5400d9eaa4 (GX) adjust refresh rate for non-interlaced mode
fix pal-60 detection
2012-12-23 15:43:37 -05:00
Toad King
ac1e760296 (GX) small changes to video mode switching, fixes debug text in some video modes 2012-12-23 12:52:35 -05:00
Toad King
9a41c3c1c7 (GX) convert image to pixel format with alpha field if we're drawing the menu 2012-12-23 12:32:24 -05:00
Toad King
c42bbaf191 fix 2012-12-18 23:04:26 -05:00
Toad King
79ccb9a6d9 (GX) implement 32-bit color support 2012-12-18 22:18:31 -05:00
twinaphex
2ecb4cebe8 (GX) Video - refactor convert_texture function some more 2012-12-19 04:16:04 +01:00
twinaphex
2e9d84efc3 (GX) Video - small refactor of texture conversion routine 2012-12-19 04:08:47 +01:00
Toad King
376317309e Revert "(GX Video) Only update texture if frame is not NULL"
This reverts commit 78027ee920.

the logic for this is already in update_textures and it broke menu rendering
2012-12-18 21:12:00 -05:00
twinaphex
5cd6017ff5 (GX) Use g_extern.draw_menu 2012-12-18 08:32:48 +01:00
twinaphex
49d35b2339 (Wii) Use WPAD_Data to obtain local pointer to pad state 2012-12-16 07:28:01 +01:00
twinaphex
7a67348b3c Change 1 << for bitmasks to 1ULL << 2012-12-15 18:00:30 +01:00
twinaphex
ffa5d4fa5f Rewrite do-while loops for console ports 2012-12-15 16:47:35 +01:00
twinaphex
dacab094f0 (RMenu) menu_loop renamed into rmenu_iterate - iterates menu code for one frame 2012-12-15 16:40:02 +01:00
twinaphex
78027ee920 (GX Video) Only update texture if frame is not NULL 2012-12-15 07:33:56 +01:00
twinaphex
799a9c35fb gfx_common.c - make gfx_get_fps into the main public function -
and remove the two public wrapper functions
2012-12-15 07:03:33 +01:00
twinaphex
7685009f56 (GX) Compile fixes -haven't tested yet 2012-12-15 05:55:08 +01:00
twinaphex
89e493ed15 (GX) Some input tweaks 2012-12-15 05:46:49 +01:00
twinaphex
8a271d318c Frame advance - get rid of unnecessary extern variables now 2012-12-15 02:25:48 +01:00
twinaphex
dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
Toad King
2209103248 (GX) redo video/RGUI code to use new font location 2012-12-13 16:12:51 -05:00
Toad King
c6111a3259 [CONSOLE] Make separate timers for holding scroll and menu/exit button delay.
Fixes issues with exit/menu button combo not working on GC controllers occasionally
2012-11-28 19:55:08 -05:00
Toad King
dcf505f0ea [GX] expand VI width in widescreen mode 2012-11-28 09:36:26 -05:00
twinaphex
1e91a5b827 (Wii) Input driver - some name changes so that Griffin function
overrides still work
2012-11-27 01:23:10 +01:00
Themaister
2c41fe7288 Move log_fp to g_extern.
Rework logger macros to use g_extern.log_file is it's non NULL.
Otherwise, fallback to stderr.
2012-11-26 16:59:00 +01:00
twinaphex
e1ea973e58 Promote HAVE_FILE_LOGGER for all platforms 2012-11-26 02:46:40 +01:00
Toad King
6dad2cda8c [GX] Probe Wiimote before doing input code for it 2012-11-23 18:01:28 -05:00
Toad King
f02b7e1791 [GX] set auto-return for crashes on release builds 2012-11-22 02:09:13 -05:00
Toad King
f333d0bc8c [GX] cleanup, prepare for 32-bit support (needs to be implemented) 2012-11-22 02:09:12 -05:00
Toad King
9746cb8f97 (GX) fix blank video 2012-11-20 18:21:42 -05:00
twinaphex
41b1bd3ed0 (GX/XDK) Have console ports use gfx_fps_title instead of gfx_window_title 2012-11-18 02:32:58 +01:00
Toad King
7f81422ae0 [CONSOLES] get compiling working
[GX] support rgb565, still need to fix a blending issue
2012-10-21 19:01:43 -04:00
twinaphex
6bf7c3cb06 Update credits for collaborated files 2012-10-18 06:06:55 +02:00
twinaphex
174c7d9d98 (RARCH_CONSOLE) g_console struct removed now - console settings
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00
twinaphex
f4b197784c Move zip_extract_mode from g_console to g_extern.filebrowser_state 2012-10-14 20:45:30 +02:00
twinaphex
fc17456581 (RMenu / RARCH_CONSOLE) Move more g_console state to g_extern 2012-10-14 20:34:16 +02:00
twinaphex
c6cf258b42 Simplify rarch_config_load 2012-10-04 20:09:23 +02:00
Twinaphex
c09fa1c7af Revert "(Android) Set up rarch_main_init_wrap so that it can load dynamic" - revisit
later

This reverts commit 42f2d068a7.
2012-09-13 06:45:41 +02:00
Twinaphex
42f2d068a7 (Android) Set up rarch_main_init_wrap so that it can load dynamic
libretro cores if supported
2012-09-13 06:28:57 +02:00
Toad King
c69b3ca938 (GX) support more resolution modes, attempt fix at clearing garbage left during screen switch 2012-09-12 09:36:38 -04:00
Toad King
9f345b4483 (GX) prepare for more custom resolution modes 2012-09-12 00:17:33 -04:00
Toad King
e8ad25aef3 (GX) fix up bugs on switching screen resolution
change RGUI dimensions to display better with different resolutions
2012-09-11 23:33:44 -04:00
Toad King
0a5c5ca1c5 (GX) big video code changes, added some custom resolutions for specific consoles 2012-09-11 21:19:45 -04:00
Toad King
08743c2111 (GX) poll both analog and digital values for GC L/R triggers 2012-09-09 23:45:48 -04:00
Twinaphex
b710babeb2 Move 'set default controls' function call outside 'set default
settings' function
2012-09-10 01:48:39 +02:00
Toad King
20db83cd93 (NGC) new dol booter, move app_booter to wii folder
move package folders to wii and ngc respectively
2012-09-03 18:05:23 -04:00
Toad King
3197a3177f (GX) different detection code 2012-08-31 23:55:12 -04:00
Toad King
1cbc08d9fe (GX) attempt to fix ARAM issues 2012-08-31 23:52:08 -04:00
Twinaphex
d721d3c51c (Wii) Fixed define 2012-09-01 05:22:56 +02:00
Twinaphex
cee5dfc1de (NGC) Links and builds again 2012-09-01 04:20:30 +02:00
Twinaphex
16b2358bf6 (GX) Wii now takes in libretro_wii.a, Cube takes in libretro_ngc.a -
DOL/ELF binary output filenames changed - split up code
2012-09-01 03:01:33 +02:00
Twinaphex
994325c5f9 (NGC) Small changes 2012-09-01 02:30:12 +02:00
Toad King
616af5e5ec (GX) initial work on gamecube app_booter 2012-08-31 19:38:12 -04:00
Toad King
297723b836 (GX) load new programs through app_booter instead of in MEM1 2012-08-30 18:59:21 -04:00
Toad King
3058363d49 (GX) fix menu button on GameCube 2012-08-29 23:33:51 -04:00
Toad King
348a240dee (GX) add GC makefile, fix up code so it compiles 2012-08-29 15:15:24 -04:00
Toad King
226c23d09a (GX) leave important note about MEM2 2012-08-29 14:35:04 -04:00
Toad King
d87cb51848 (GX) initial forwarder support, still needs work on returning to forwarder 2012-08-28 23:00:57 -04:00
Toad King
c163d0a298 (GX) have power button return to loader 2012-08-28 23:00:56 -04:00
Twinaphex
8a94595d5c (GX) Bump up version (for Wii only) to 0.9.7.1 2012-08-28 05:58:25 +02:00
Toad King
5f4076c755 (GX) implement hotswapping for SD/USB 2012-08-27 22:50:46 -04:00
Toad King
ea70040cb3 (GX) save some MEM2 for libogc 2012-08-27 21:31:40 -04:00
Toad King
baec67ebef (GX) add MEM2 manager 2012-08-27 20:36:05 -04:00
Toad King
535f83be3e (GX) implement debug text 2012-08-27 16:09:53 -04:00
Toad King
fdd4adf76c (RGUI) refactor font code 2012-08-27 14:48:19 -04:00
Toad King
1ef0f4065d (RGUI) add support for loading font from .bin file
do not store two separate color buffers for font
saves around 400kb
2012-08-26 20:33:45 -04:00
Toad King
e479a50203 (GX) refactor EFB screenshot code
now might be feasible to implement it in normal compiles
2012-08-24 23:31:58 -04:00
Toad King
492e474826 (GX) change menu buffer back to 16-bit 2012-08-24 21:29:05 -04:00
Toad King
2554ec311d (GX) filter filebrowser by file extension 2012-08-24 19:42:08 -04:00
Themaister
c26413dd9a (Wii) Fix build. 2012-08-24 23:32:40 +02:00
Themaister
fc423995ee (Wii) Attempt to fix L/R channel issue. 2012-08-24 23:13:18 +02:00
Toad King
763dbe091f (GX) add hack for taking EFB screenshots on exit
only should be used for taking promotion screenshots
2012-08-24 16:51:11 -04:00
Toad King
31272e9a9d (GX) use dirent.d_type for deciding filetype instead of "stat"int each file
GREATLY reduces filebrowser lag for large folders
2012-08-24 02:24:13 -04:00
Toad King
946d09251c (GX) have salamander set libretro_path 2012-08-22 18:20:33 -04:00
Toad King
42b6fdf97a (GX) fix CORE renaming 2012-08-22 17:39:55 -04:00
Toad King
059cfd3c24 (GX) fix potential null-pointer exceptions 2012-08-22 16:05:03 -04:00
Toad King
a88e9e024f (GX) fix USB support 2012-08-22 15:56:39 -04:00
Themaister
fa5164fb8d Update some more files. 2012-08-22 20:01:19 +02:00
Twinaphex
207eea3954 (Salamander/RetroArch) Add default_paths.salamander_file 2012-08-22 19:30:20 +02:00
Toad King
54234060dc (GX) hack for libretro_path on first boot 2012-08-22 13:21:07 -04:00
Toad King
aaf898fde8 (RGUI) fix rom loading message not appearing 2012-08-22 12:26:11 -04:00
Twinaphex
c48b5a30da (GX) Always try to save config file at exit 2012-08-22 18:10:27 +02:00
Toad King
faf0b6f676 (RARCH_CONSOLE) save input device selection
(GX) set dpad_emulation correctly for device on init
2012-08-21 18:14:34 -04:00
Twinaphex
5ac07e4c3c (GX) Remove (now unnecessary) stub system files 2012-08-21 14:11:53 +02:00
Twinaphex
3b04e18739 (GX) Update Salamander so that it uses the new paths and loads
the config file from the right location
2012-08-21 14:10:10 +02:00
Toad King
0adeeaabf7 (RGUI) hold direction repeat 2012-08-21 01:14:46 -04:00
Toad King
dc0b44d2f3 (GX) save input binds (per core) 2012-08-21 00:51:00 -04:00
Toad King
14af5ca589 (GX) more sane default keybinds for Wiimote 2012-08-21 00:50:33 -04:00
Toad King
1cb588f710 (GX) default paths changed to match de-facto wii homebrew layout 2012-08-21 00:28:38 -04:00
Toad King
7d4a320a17 (RGUI) add reset command to custom viewport setting
allow negative custom viewport offsets
2012-08-20 22:50:15 -04:00
Toad King
fa643ee56d (RARCH_CONSOLE) do not set core aspect ratio until ROM is loaded 2012-08-20 22:28:12 -04:00
Toad King
3552f0ae16 (RGUI) custom viewport menu 2012-08-20 21:56:07 -04:00
Toad King
0c326bba2f (RARCH_CONSOLE) fix core-provided aspect ratio 2012-08-20 20:10:55 -04:00
Toad King
dc76d834ae (GX) cleanup, silence warnings 2012-08-20 19:47:04 -04:00
Toad King
2087aa285e (GX) crash/compile fixes 2012-08-20 17:35:33 -04:00
Twinaphex
969a92ac17 (RARCH_CONSOLE) Add apply_state_changes to video driver 2012-08-20 12:41:10 +02:00
Twinaphex
ad576f18f5 Small cleanups 2012-08-20 12:04:32 +02:00
Toad King
6c500b45d5 (GX) add overscan code
change rotation code to not depend on vertex trickery
2012-08-19 23:20:41 -04:00
Toad King
fda2dff40c (RARCH_CONSOLE) add core resolution (use aspect ratio provided by the emulation core) 2012-08-19 21:08:50 -04:00