Commit Graph

252 Commits

Author SHA1 Message Date
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
9bc24151f2 (XDK D3D) Go through local pointer to render device 2013-01-11 00:58:08 +01:00
twinaphex
3c8bb7333e (RMenu) Refactor g_extern.draw_menu 2013-01-10 19:43:00 +01:00
twinaphex
530fe37373 (Xbox 1) Move xbox1/image.c to xdk/image.c 2013-01-10 09:22:33 +01:00
twinaphex
27a71de056 (360) Build fix 2013-01-09 17:59:23 +01:00
twinaphex
84f7a2f5f8 Indenting nits 2013-01-09 07:27:05 +01:00
twinaphex
f3a74fe44f (XDK) Clear to black in xdk_d3d_frame 2013-01-08 19:16:06 +01:00
twinaphex
7b63268036 (XDK) Bind xdk_d3d_set_shader to callback system 2013-01-08 19:07:06 +01:00
twinaphex
3fbb716a8e (360) Do Clear() at start of xdk_frame - should do menu
rendering properly now
2013-01-08 19:03:42 +01:00
twinaphex
4df53478a9 (Xbox 1) Fixes controls for Xbox 1 too - X/Y buttons inverted 2013-01-08 18:54:10 +01:00
twinaphex
686e43b911 (360) Fixes controls - X and Y button were inverted 2013-01-08 18:42:24 +01:00
twinaphex
db6235ab06 (360) Starts up again - bad sound/controls 2013-01-08 18:32:28 +01:00
twinaphex
5192ce4709 (360) Add some more checks 2013-01-08 18:24:31 +01:00
twinaphex
10fd5ea617 (360) Add more error checking in D3D code 2013-01-08 17:48:55 +01:00
twinaphex
59e434ab09 (360) Stays in MODE_MENU now - still black screen thouh 2013-01-08 17:15:43 +01:00
twinaphex
728e88994d (Xbox 1) Fixes double swap issue - fixes flickering in
RMenu
2013-01-08 06:17:20 +01:00
ToadKing
f33ed73671 (Consoles) re-add second timer for scroll delays 2013-01-07 23:58:00 -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
46a62a44fc (XDK) Build fixes 2013-01-07 18:44:22 +01:00
twinaphex
3a5d056b95 Expand functionality of set_shader callback function 2013-01-07 16:46:26 +01:00
twinaphex
466acac261 (PS3/360) Input changes - make local pointer variable and reuse it 2013-01-07 00:31:38 +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
c0c81bf22b (RARCH_CONSOLE) Move rarch_config_save to settings.c - rename to
config_save_file
2013-01-05 22:18:59 +01:00
twinaphex
2c26f92c7d (RARCH_CONSOLE) Cleanups 2013-01-05 21:56:19 +01:00
twinaphex
08afcbfa3d (RARCH_CONSOLE) Use void* for param passing type 2013-01-03 03:02:52 +01:00
twinaphex
d0c4de9635 (XDK) Build fixes 2013-01-02 17:23:31 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
269698661a (Console/Android) Simplify input_key_pressed implementation 2012-12-23 14:44:46 +01:00
twinaphex
0b1bd6c276 (XDK) Use g_extern.draw_menu instead of block_swap mechanism 2012-12-18 08:19:57 +01:00
twinaphex
4076dda011 (360) Have xdk_d3d_frame decide to draw XUI instead of
it being done in rmenu_iterate
2012-12-15 17:46:57 +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
3d2d4e4c18 (XDK D3D) Only update texture if frame is not NULL 2012-12-15 07:19:59 +01:00
twinaphex
875b6b6f2e (Xbox 1) Font cleanups 2012-12-15 07:16:02 +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
09cb50ddea (XDK) Input refactor 2012-12-15 05:23:08 +01:00
twinaphex
0df739b86d (360) Build fix 2012-12-15 04:36:19 +01:00
twinaphex
566296068a (Xbox 1) Fix build 2012-12-15 03:59:31 +01:00
twinaphex
4864adc7b1 (XDK) Rewrote Xbox font code 2012-12-15 03:35:04 +01:00
twinaphex
8a271d318c Frame advance - get rid of unnecessary extern variables now 2012-12-15 02:25:48 +01:00
twinaphex
04674fbba7 (PS3/XDK) Better way to toggle frame advance 2012-12-15 02:13:58 +01:00
twinaphex
0261d934f2 (RARCH_CONSOLE) Rework how we do RARCH_QUIT_KEY - right now used
for ports that define HAVE_RMENU - made compiling in the RMenu
GUI separate from the HAVE_RMENU logic
2012-12-15 01:14:21 +01:00
twinaphex
dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
twinaphex
321596fc73 (XDK) Build fix 2012-12-02 06:01:39 +01: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
twinaphex
46c1fd6e41 (XDK) Indenting fixups 2012-11-22 05:52:24 +01:00
twinaphex
dee865d50e (Xbox 1) Build fix 2012-11-22 05:44:09 +01:00
twinaphex
8612711fa8 (360) Add FPS - memory free reporting 2012-11-22 05:32:58 +01:00
twinaphex
bd332c80c5 (360) Fonts can now be placed anywhere onscreen 2012-11-22 04:44:29 +01:00
twinaphex
8456464650 (XDK D3D) Switch from A8R8G8B8 to X8R8G8B8 - fixes shader issues
in 32bit mode
2012-11-21 18:53:21 +01:00
twinaphex
51f51d4a65 (XDK) Remove force_16bit 2012-11-20 23:54:35 +01:00
twinaphex
713995c0cd (XDK D3D) Get rid of redefined constants 2012-11-20 16:31:55 +01:00
twinaphex
35a1c32529 (360) Build fixes 2012-11-20 15:52:22 +01:00
twinaphex
881e440ea6 (360) Add some FBO reiniting logic 2012-11-20 15:44:44 +01:00
twinaphex
c3db8e8c8f (360) Build fixes 2012-11-20 15:16:54 +01:00
twinaphex
bac8a923b2 (XDK) Small cleanup of unused var 2012-11-20 15:04:58 +01:00
twinaphex
7937bff786 (XDK) Fixes rotation on Xbox 1 2012-11-20 15:03:20 +01:00
twinaphex
eaf5041cd8 (Xbox 1) Build fixes 2012-11-20 06:39:35 +01:00
twinaphex
28c39a5beb (XDK) Fixed viewport settings 2012-11-20 06:08:58 +01:00
twinaphex
47cd168a35 (360) No slash at the end of default system_dir path - fixes
system directory issues
2012-11-20 05:21:17 +01:00
twinaphex
1f74056286 (Xbox 1) Build fixes 2012-11-20 03:19:00 +01:00
twinaphex
a8b3d23184 (XDK D3D) Reinits textures now 2012-11-20 02:51:00 +01:00
twinaphex
9570e39744 (XDK D3D) Cleanups 2012-11-20 02:03:26 +01:00
twinaphex
cfc2fac31a (XDK D3D) Split up device creation code to context file 2012-11-20 01:55:16 +01:00
twinaphex
851befae00 (XDK D3D) Split off 3DPRESENT_PARAMETERS initialization into
separate public function
2012-11-20 01:40:52 +01:00
twinaphex
7a1954c260 (XDK D3D) Split off vertex initing code from init_textures
function
2012-11-20 00:33:57 +01:00
twinaphex
5976f4c7b1 (XDK D3D) Split off texture init into separate function 2012-11-19 23:30:32 +01:00
twinaphex
5627f3f8bd (XDK) Move font init code to d3d_start function 2012-11-19 21:34:34 +01:00
twinaphex
ba2de00c8d (XDK) Replace hardcoded 512 values with tex_w/tex_h 2012-11-19 19:57:25 +01:00
twinaphex
05b552e5a4 (Xbox 1) Build fixes 2012-11-19 05:00:38 +01:00
twinaphex
52f52bc253 (360) Build fixes 2012-11-19 04:46:48 +01:00
twinaphex
f0ebecfc32 (RMenu) Remove RMenu context files and use Gfx context files
instead
2012-11-19 04:09:16 +01:00
twinaphex
d264085bda (360) Move most of font rendering code outside of D3D driver 2012-11-18 02:57:42 +01: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
twinaphex
fdcc5cb569 (XDK - Xbox 1) Improve FPS logging
(PS3) Add FPS logging
2012-11-14 21:51:56 +01:00
twinaphex
013f833492 (XDK) Small optimization 2012-11-10 16:04:22 +01:00
twinaphex
35c96b17b9 (XDK) Set up now for 32bit color-capable libretro ports 2012-11-10 16:03:08 +01:00
twinaphex
6bf7c3cb06 Update credits for collaborated files 2012-10-18 06:06:55 +02:00
twinaphex
f52d7f462e (360) Build fixes 2012-10-15 07:22:20 +02:00
twinaphex
a7a7671ac0 (Xbox 1) Build fixes 2012-10-15 07:00:58 +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
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
6c5d6515ce (XDK) 360 and Xbox 1 now both use the same Direct3D driver 2012-10-01 03:35:38 +02:00
twinaphex
4d80a71f7e (XDK) Refactorings - build fixes 2012-09-30 17:57:32 +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
Twinaphex
b710babeb2 Move 'set default controls' function call outside 'set default
settings' function
2012-09-10 01:48:39 +02:00
Twinaphex
d4754f4c6c (XDK) Same for Salamander XDK 2012-09-01 06:59:38 +02:00
twinaphex
aba0d0de79 (Salamander XDK) Salamander takes care of setting a
config file with a proper libretro_path
2012-08-23 00:15:58 +02:00
Twinaphex
207eea3954 (Salamander/RetroArch) Add default_paths.salamander_file 2012-08-22 19:30:20 +02:00
twinaphex
ef3a84d6e0 (XDK Salamander) Small variable cleanups 2012-08-22 18:52:21 +02:00
twinaphex
51864da249 (360) set_first_file fixed - Salamander is called default.xex now 2012-08-22 18:45:40 +02:00
twinaphex
2abe11cb55 (Xbox 1 Salamander) Set first file fixed
(RARCH_CONSOLE) If a config file doesn't exist, it has to
be created before we attempt to save it or else we will run
into an unfortunate 'chicken egg problem' - confirmed problem
on Xbox 1
2012-08-22 17:39:44 +02:00
twinaphex
f921744ab4 (Xbox 1) Free up 8MB of RAM - Street Fighter Alpha 3 and all
big CPS2 ROMS work now
2012-08-22 16:22:42 +02:00
twinaphex
2ab41bbbeb (RMenu Xbox 1) Build fix 2012-08-22 15:54:23 +02:00
twinaphex
077c3a6469 (360) Small change to input D-pad emulation logic 2012-08-22 13:50:07 +02:00
twinaphex
476f5a9fe3 (XDK) Abstracted screenshot code
(360) Fixed some XUI menu placements
2012-08-21 20:40:13 +02:00
Toad King
fa643ee56d (RARCH_CONSOLE) do not set core aspect ratio until ROM is loaded 2012-08-20 22:28:12 -04:00
twinaphex
6d5ed820e0 (Xbox 1/XDK) Screenshot code implemented 2012-08-20 03:30:36 +02: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
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
twinaphex
6a08c92ada (Xbox 1) Cut down on some static variables 2012-08-17 17:45:14 +02:00
twinaphex
b3d4044e09 (Xbox 1) Fix Salamander 2012-08-16 10:26:09 +02:00
Toad King
49922e730e (CONSOLE) port failed rom fix to other platforms 2012-08-09 23:52:51 -04:00
Twinaphex
82b3edfe86 (Xbox 1 Salamander) Fixed Salamander pathname 2012-08-10 05:28:11 +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
twinaphex
8dae2d2179 (Xbox1/RMenu) Move Xbox init code to xdk/frontend/main.c 2012-08-06 22:53:57 +02:00
Twinaphex
465c2f9e33 (Salamander) Custom versions of Salamander 2012-08-06 02:07:57 +02:00
twinaphex
848ef3c1e4 (Libretro mgmt) use rarch_configure_libretro_core for
Xbox 1 port
2012-08-05 07:51:43 +02:00
twinaphex
6b02f6d21d (Xbox 1) Have to mess around to get libretro management working
properly again
2012-08-05 05:20:12 +02:00
twinaphex
2affce8829 (RMenu) Take out _XBOX1-specific defines - make it more generic 2012-08-05 04:43:21 +02:00
twinaphex
fe62cf91a9 (Xbox 1) Fixes crashes when attempting to go to 'Libretro/paths'
dir selection screens - had to do with wrong path setting
2012-08-05 04:30:02 +02:00
twinaphex
15e9860ab9 (Xbox 1/RMenu) Fixes for some of the 'set directory' settings 2012-08-04 05:26:46 +02:00
Twinaphex
275fdb104b (RMenu) Portable menu code - still WIP 2012-08-03 21:22:43 +02:00
twinaphex
8e71b62748 (PS3/Xbox 1) Menu changes 2012-08-03 18:27:38 +02:00
twinaphex
cdb2a2b4e7 (Xbox 1) Streamline menu code with that of PS3's 2012-08-02 17:09:41 +02:00
Twinaphex
16119d8ad7 (PS3) Platform-agnostic button labels 2012-08-02 01:59:05 +02:00
twinaphex
bc8675f711 (360/Xbox 1) Use the same input driver now for both 360 and Xbox 1 2012-07-31 20:56:05 +02:00
twinaphex
1be33ff581 (RARCH_CONSOLE) Create default_paths.filebrowser_startup_dir -
to get rid of system-specific hacks
2012-07-30 00:26:37 +02:00
twinaphex
d7fc00757d (Xbox 1) Change sprintfs to snprintfs 2012-07-29 18:46:52 +02:00
twinaphex
c92c08ff31 Replace strcpys with strlcpy (except for librsound.c) 2012-07-29 18:38:55 +02:00
Twinaphex
4cdd4eb8db We need to implement this properly or not at all - removing this
hackish thing for now
2012-07-29 17:09:48 +02:00
Twinaphex
ba64d7fa3f (RARCH_CONSOLE) Refactor rarch_configure_libretro_core 2012-07-28 18:41:18 +02:00
Twinaphex
7f269779ce (Salamander) Reuse rarch_console_exec for Salamander 2012-07-28 18:26:30 +02:00
twinaphex
122943299a (360) Add IS_SALAMANDER to 360 Salamander solution 2012-07-28 17:48:52 +02:00
Twinaphex
eef755d525 (RARCH_CONSOLE) Split up rsound helper functions into rarch_console_sound.c 2012-07-28 16:42:57 +02:00
Twinaphex
a5beb54ad4 (RARCH_CONSOLE) Split up HAVE_EXEC functions into new file rarch_console_exec.c 2012-07-28 16:35:07 +02:00
Twinaphex
c77b49b19a (RARCH_CONSOLE) Split up main_wrap code into its own file 2012-07-28 16:21:05 +02:00
Twinaphex
714837e8c0 (RARCH_CONSOLE) Namespaced all files in console/ 2012-07-28 15:54:35 +02:00
Twinaphex
bf9980d8bc (RARCH_CONSOLE) Control refactor - add post_init and set_analog_to_dpad_mapping
members
2012-07-27 15:46:15 +02:00
twinaphex
243944ac62 (360) Build fix
(XDK) Fix system_dir setting
2012-07-27 14:59:45 +02:00
Twinaphex
bfb933d98d (PS3) Split up more code in retroarch_console.c 2012-07-25 23:09:36 +02:00
Twinaphex
2ab5f84e5c (360/PS3) Ports that support HAVE_HDD_CACHE_PARTITION will
fill in default_paths member with path to cache dir
2012-07-25 21:46:22 +02:00
Twinaphex
811abcf612 (RARCH_CONSOLE) Further Input rewrite for console ports 2012-07-25 21:02:01 +02:00
Twinaphex
83ae89dc4c (RARCH_CONSOLE) Create more helper functions for RARCH_CONSOLE 2012-07-24 09:57:34 +02:00
twinaphex
7a74886730 (Xbox 1) Split up Xbox 1-specific code into xbox1/frontend/menu.cpp 2012-07-23 18:52:58 +02:00
Twinaphex
0e6e563b08 (PS3/360/Xbox 1) Create and use default_paths struct 2012-07-23 18:17:50 +02:00
twinaphex
2f51da4034 (Xbox 1) Remove Video.cpp from RetroLaunch - still black 2012-07-23 16:38:29 +02:00
freakdave
fe4b07d8b1 (Xbox 1) Modified RetroLaunch to use RetroArch's D3D device (!NOT TESTED!) 2012-07-23 16:05:16 +02:00
twinaphex
7395c805e6 (Xbox 1) For testing 2012-07-23 15:42:31 +02:00
twinaphex
baa25cdaa2 (Xbox 1) Included RetroLaunch into the solution - not yet working
though
2012-07-23 15:11:15 +02:00
twinaphex
c800df6fd5 (360) Quick compile fix 2012-07-23 10:23:27 +02:00
twinaphex
009addb8d5 (360) remove redundant code in main.c 2012-07-23 10:18:32 +02:00