Commit Graph

346 Commits

Author SHA1 Message Date
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
Toad King d478e8b0cd (RGUI) Add restart game item
fix messages only staying up for half as long as they should
general cleanup
(GX) force vsync for menu rendering
general cleanup
2012-08-19 17:22:49 -04:00
Toad King 83c51f136a (RGUI) add screenshot command
(GX) general cleanups, change joystick threshold
2012-08-19 15:28:19 -04:00
Twinaphex 7c4189cdd5 (RMenu) Split up platform-specific code into Rmenu context files 2012-08-18 22:45:46 +02:00
Twinaphex c14b560255 (RARCH_CONSOLE) Refactor some console-specific things 2012-08-18 21:50:44 +02:00
Toad King 8f3305a316 (GX) add custom linker script for increased stack size 2012-08-16 14:59:12 -04:00
Toad King 9890a0ba9a (GX) aspect ratio selection
TODO: custom viewport code
2012-08-16 12:41:07 -04:00
Toad King 1b6b313787 (RGUI) add savestate support 2012-08-12 03:39:00 -04:00
Twinaphex 4d7d35f0ef Move platform-specific thread code into common thread/ folder 2012-08-11 14:27:12 +02:00
Twinaphex e57a083697 (GX) Compile in HAVE_THREAD - provide pthread wrapper for GX 2012-08-11 13:33:32 +02:00
Themaister c9a22392c8 Update to 0.9.7-rc1. 2012-08-11 09:18:39 +02:00
Toad King 28c14e7946 (GX) silence warning 2012-08-10 23:42:24 -04:00
Toad King ce0ff54693 (GX) add devoptabs for logging stdout/stderr, useful for logging core messages 2012-08-10 22:49:12 -04:00
Toad King 545b530a50 (GX) fix asm blitter in optimized builds 2012-08-10 14:49:18 -04:00
Toad King da0d300d54 (GX) fix exiting after failing to load a ROM 2012-08-09 23:50:49 -04:00
Twinaphex 6929349c4f (GX) Salamander path refactor 2012-08-10 05:00:19 +02:00
Toad King 552180f276 (SALAMANDER) fix rarch_manage_libretro_set_first_file so it doesn't select the salamander executable 2012-08-09 22:58:38 -04:00
Toad King 7ee8e1e524 (GX) implement core changing in RGUI
fix core management picking salamander, resulting in hard-lock
change tabs->spaces
2012-08-09 19:01:46 -04:00
Twinaphex 0c6017caff (GX) Cleanups 2012-08-09 05:27:06 +02:00
Twinaphex 5e97b86e65 (GX) Change wii_ naming conventions to gx_ 2012-08-09 03:54:27 +02:00
Twinaphex e277828526 (GX) Cleanup dirty hack a bit 2012-08-09 03:13:08 +02:00
Twinaphex 0fd65fccc1 (GX) Dirty hack to get Classic analog sticks mapped as D-pad working
properly (without messing up same controls in menu)
2012-08-09 03:07:08 +02:00
Toad King 4e8bb6580b (GX) more GC button combo changes
Exit is now Stick Down + C-Stick Down + L + R
2012-08-08 19:27:52 -04:00
Toad King 6598e71b9c (GX) Change button combos for GC controller for Menu/Exit
Stick Up + C-Stick Up + L + R for menu
Start + Select + L + R for exit
2012-08-08 18:23:33 -04:00
Twinaphex 4eb04a682c (GX) VIDEO_SetTrapFilter not run every frame now 2012-08-08 23:25:41 +02:00
Twinaphex d7fd90883b (GX) Slim down vi_encoder.c 2012-08-08 23:18:31 +02:00
Twinaphex 5de1373d23 Revert "Revert "(GX) Add VI_Trap Filter (for Wii)" - noticeable audio pops"
This reverts commit 827e69fabc.
2012-08-08 22:39:19 +02:00
Twinaphex 827e69fabc Revert "(GX) Add VI_Trap Filter (for Wii)" - noticeable audio pops
for little gain

This reverts commit 690ac65d3e.
2012-08-08 21:25:52 +02:00
Twinaphex 690ac65d3e (GX) Add VI_Trap Filter (for Wii) 2012-08-08 21:04:33 +02:00
Twinaphex c6032be256 (GX) Add gamma correction options in settings menu 2012-08-08 19:55:38 +02:00
Twinaphex 5e2307d9c9 (GX) Add rotation options in settings menu 2012-08-08 18:47:15 +02:00
Twinaphex c48d8e45a9 (GX) Quit shortcut combos added - for Wiimote (Home + B) - for
Classic (Home + ZL + ZR) and Gamecube (L + R + Z + Start + A)
2012-08-08 06:56:56 +02:00
Toad King 54a5845321 (GX) initial in-game menu 2012-08-07 23:40:17 -04:00
Twinaphex a5f8651dcd (GX) Add 90/180/270 degree rotation tex coord matrices -
wii_set_rotation just needs to be implemented now
2012-08-08 00:36:47 +02:00
Twinaphex ba2323c443 (GX) Update icon - no more SSNES icon 2012-08-08 00:12:10 +02:00
Twinaphex ab0ce82b1e (GX) Alpha blended image overlay when exiting back to menu 2012-08-07 23:52:36 +02:00
Toad King c850fa956f (GX) video changes 2012-08-07 13:12:51 -04:00
Twinaphex 0fc1a37872 (GX) Get rid of static variables in gx_video.c 2012-08-07 06:04:17 +02:00
Twinaphex a413b4126f (GX) Take out some unused and unimplemented stubs 2012-08-07 05:30:14 +02:00
Twinaphex d78cab023b (GX) Add HW_RVL ifdef 2012-08-07 05:27:27 +02:00
Twinaphex 46210fce54 (Wii) Rename all Wii files to gx/ 2012-08-07 05:24:12 +02:00