Commit Graph

397 Commits

Author SHA1 Message Date
TwinAphex51224 0c4f14a14f (360) message queue stuff works properly now before Rarch is inited 2012-05-29 17:44:07 +02:00
TwinAphex51224 1597c5a2cf (360) Abstracted message queue push code for generating messages -
seems to only work when Rarch is initialized - if not, it will
keep returning the first message that was pushed in the queue.
2012-05-29 16:45:37 +02:00
Twinaphex 68af1626d9 Indentation fixes 2012-05-29 15:25:39 +02:00
TwinAphex51224 0473785f65 (360) Small cleanups 2012-05-29 04:54:45 +02:00
TwinAphex51224 0555a703a7 (360) Cleanups 2012-05-29 04:39:54 +02:00
TwinAphex51224 ca2e20be84 (360) Use S_REWIND 2012-05-29 03:49:19 +02:00
TwinAphex51224 487856c2c3 (360) Indenting cleanups 2012-05-29 02:33:00 +02:00
TwinAphex51224 396d57ae77 (360) Implemented S_RETURN_TO_DASHBOARD 2012-05-29 02:17:35 +02:00
TwinAphex51224 87d04b4bbd (360) Replace static function return_to_game() with calls to new
rarch_settings_change
2012-05-29 02:05:23 +02:00
Twinaphex a171f4c9fd (RARCH_CONSOLE) We want to init the message queue way before RetroArch
actually starts on consoles - therefore we add this ifdef -
beats having to add this for every console port
2012-05-28 23:14:18 +02:00
TwinAphex51224 6a48f1e187 (360) Add menu toggle (between HD and SD) and add info message
enable/disable option
2012-05-28 23:19:40 +02:00
Twinaphex 705a0dd62e (PS3) Add info message enable/disable option 2012-05-28 22:43:08 +02:00
TwinAphex51224 82b7d4d046 (360) remove g_first_msg 2012-05-28 21:46:32 +02:00
Twinaphex 472ac47344 (360/PS3) use rarch_config_load for PS3 and 360 2012-05-28 21:21:03 +02:00
Twinaphex 3e7b2b8fd4 (PS3/360) Refactor rarch_manage_libretro_install 2012-05-28 20:07:08 +02:00
Twinaphex cf77233896 Libretro management refactor 2012-05-28 19:39:31 +02:00
Twinaphex 10ad19bf76 (360/PS3) rarch_manage_libretro_set_first_file - no more dependency on
HAVE_CONFIGFILE
2012-05-28 18:33:25 +02:00
Twinaphex eca9b3ddc9 (360/PS3) 360 and PS3 both use rarch_manage_libretro_set_first_file
now
2012-05-28 18:25:01 +02:00
Twinaphex 593376b9aa (360/PS3) Both ports use rarch_config_save now for saving
settings to config file
2012-05-28 17:49:31 +02:00
Twinaphex 944ddc589b (360/PS3) Use PATH_MAX instead of MAX_PATH_LENGTH 2012-05-28 17:34:58 +02:00
Twinaphex 15b7e0fafc (360/PS3) Use rarch_create_default_config_file 2012-05-28 16:50:18 +02:00
TwinAphex51224 c9ce831e22 (360) Inits second shader in FBO mode on startup now 2012-05-28 15:53:04 +02:00
TwinAphex51224 c1143f9e2e (360) Restore xdk360_set_nonblock_state 2012-05-28 15:47:27 +02:00
TwinAphex51224 8889af2d19 (360) Starts up with default generated config file again 2012-05-28 15:43:56 +02:00
TwinAphex51224 70dbebcb5e (360) Clean up font code + remove some Win32-isms 2012-05-28 14:05:28 +02:00
TwinAphex51224 232cf0d122 (360) Only print char * messages, not wchar 2012-05-28 05:42:00 +02:00
Twinaphex c5735e0aec (360/Wii/PS3) Abstracted input code 2012-05-28 05:06:25 +02:00
TwinAphex51224 6e8e5ec89b (360) Remove xdk360_video_general.h header file - use uniform
IS_TIMER/SET_TIMER macros
2012-05-28 03:45:22 +02:00
TwinAphex51224 ca9b6ac0e2 (360) Turned xdk360_init_fbo static 2012-05-28 03:29:07 +02:00
TwinAphex51224 c1d8bf8bea (360) Fast forwarding mode works again 2012-05-28 02:51:34 +02:00
TwinAphex51224 463fdd9bdf (360) Add 360 context file and use it 2012-05-28 02:29:51 +02:00
TwinAphex51224 b7fce9a98e (360) Removed g_d3d global pointer 2012-05-28 00:56:58 +02:00
TwinAphex51224 f8ad3dcc91 (360) Font subsystem works again - font crap needs to be badly
refactored
2012-05-28 00:45:30 +02:00
TwinAphex51224 e871f9523f (360) Fix 360 build 2012-05-28 00:37:54 +02:00
Twinaphex 97b966ab59 (PS3)_Made ps3_ctx file - implemented set_swap_interval function -
removed gl_common.c
2012-05-26 15:00:20 +02:00
TwinAphex51224 83d6fd3cbb (360) Preliminary FBO scaling options - need to restart before change
is applied, fbo_reinit function doesn't seem to work on-the-fly yet,
and 3x/4x FBO seems to crash right now
2012-05-24 11:34:10 +02:00
Themaister 1bc5e338b9 Should fix crash. 2012-05-23 23:54:31 +02:00
Themaister 0657fd8e1d Hoist some FBO code outside. 2012-05-23 23:46:45 +02:00
TwinAphex51224 176e4b2cb3 (360) Added preliminary controls settings/menu 2012-05-23 08:38:14 +02:00
TwinAphex51224 1355f1204d (360) Cleanup to viewport resize function 2012-05-22 20:39:27 +02:00
TwinAphex51224 d7f8f847e5 (360) Implemented auto aspect ratio 2012-05-22 20:15:27 +02:00
TwinAphex51224 3ec196d9e2 (360) Fix 360 build 2012-05-22 17:06:02 +02:00
TwinAphex51224 62beb6f63d (360/RARCH_CONSOLE) Change sprintfs to snprintfs 2012-05-22 17:02:24 +02:00
TwinAphex51224 dd6ec8222f (360) Shader selection - start in shaders subdir 2012-05-22 16:43:46 +02:00
TwinAphex51224 6d0c569f0a (360) Add color format setting for changing backbuffer color format -
32bit ARGB and 16bit RGBA
2012-05-22 16:04:39 +02:00
TwinAphex51224 56a9d359ba (360) OSD messages now also work if g_console.emulator_initialized
is false
2012-05-22 15:21:45 +02:00
TwinAphex51224 0a1cf3edba (360) Add more OSD messages for options 2012-05-22 04:52:12 +02:00
TwinAphex51224 4e05524172 (360) Add some more OSD messages 2012-05-22 04:25:45 +02:00
TwinAphex51224 7064abded5 (RARCH_CONSOLE) message queue needs to be inited long before
Retro arch main init function - also added some onscreen
messages to some of the settings for the 360 port
2012-05-22 04:14:28 +02:00
TwinAphex51224 611dd9f34e (360) Some menu usability tweaks 2012-05-22 03:40:55 +02:00
TwinAphex51224 81203de0a2 (360) B button works better now in menu 2012-05-22 03:10:56 +02:00
TwinAphex51224 4ecdddb2cb (360) refactor viewport settings code - also need to update
PS3 after this commit
2012-05-22 02:36:31 +02:00
TwinAphex51224 74d12bf1a1 (360) Custom resize mode now works 2012-05-22 02:19:40 +02:00
TwinAphex51224 ad17453d5c (360) Shader filenames are now shown in settings menu 2012-05-21 21:20:28 +02:00
TwinAphex51224 8cb3172eea (360) Cleaned up messy char to wchar and vice versa conversion routines
in 360 menu code by using new helper functions
2012-05-21 19:06:31 +02:00
TwinAphex51224 9cd3db85aa (360) Very rough shader selection in Settings menu - second pass doesn't work yet - blank screen - some memory leaks when loading a lot of shaders one after another 2012-05-21 18:02:59 +02:00
TwinAphex51224 16e7355314 (360) Add second hardware filter option 2012-05-08 04:22:53 +02:00
TwinAphex51224 9272fdcdd6 (360) Add FBO on/off switch 2012-05-08 03:37:06 +02:00
TwinAphex51224 24d9f815ce (360) Added extra buttons 2012-05-07 22:47:36 +02:00
TwinAphex51224 df650a5e64 (360) Aspect ratio selection fix 2012-05-07 20:55:33 +02:00
TwinAphex51224 b198fd1237 (360) More settings saved 2012-05-07 17:27:14 +02:00
TwinAphex51224 15d9af091e Revert "(360) Small code cleanups in fonts.cpp"
This reverts commit 4b7b47fbf1.
2012-05-07 16:43:26 +02:00
TwinAphex51224 8f7ca9130a Revert "(360) Cleanups fonts.cpp"
This reverts commit 0c5c3c4299.
2012-05-07 16:43:16 +02:00
TwinAphex51224 8e4d2f6feb (360) FBO/render target changes 2012-05-07 05:35:10 +02:00
Twinaphex 0c5c3c4299 (360) Cleanups fonts.cpp 2012-05-07 03:41:52 +02:00
TwinAphex51224 4b7b47fbf1 (360) Small code cleanups in fonts.cpp 2012-05-07 03:35:29 +02:00
TwinAphex51224 43dbec58a3 (360) Small fix 2012-05-06 22:11:06 +02:00
Themaister 51890d2609 Align vertex/texels. 2012-05-06 22:02:54 +02:00
TwinAphex51224 3af750de3a (360) HLSL shader code expanded 2012-05-06 21:57:01 +02:00
TwinAphex51224 cfe5ce5286 (360) Lay the groundwork for FBO mode 2012-05-06 18:54:17 +02:00
Twinaphex 69496bc291 Replace more SSNES strings/references 2012-04-22 02:06:34 +02:00
Twinaphex 4893696e22 Use retroarch.cfg now 2012-04-22 01:45:55 +02:00
TwinAphex51224 61d88fe42d (360) Fixup 2012-04-22 00:34:33 +02:00
TwinAphex51224 7fa59c7f6a (360) 360 port mostly works again - some small things to take care of 2012-04-22 00:27:54 +02:00
TwinAphex51224 4514e67c6f (360) CSSNES instances changed to CRetroArch 2012-04-22 00:14:18 +02:00
TwinAphex51224 61eb18fa8a (360) More 360 changes 2012-04-22 00:11:48 +02:00
TwinAphex51224 b93ca1653c (360) Fix up filenames 2012-04-21 23:54:20 +02:00
TwinAphex51224 96fbb76345 (360) Small 360 fixups 2012-04-21 23:48:27 +02:00
Themaister ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00
Themaister 9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
TwinAphex51224 8da73e0434 (360) Name change 2012-04-21 02:55:55 +02:00
Twinaphex 1eb1841c9b Revert "(360) Add offscreen render targets (FBO for D3D) to video driver"
This reverts commit 97aba979c0.
2012-04-19 15:59:47 +02:00
Twinaphex 3851664399 Revert "(360) Quick fix to gfx_frame"
This reverts commit 9d5da1e9e0.
2012-04-19 15:59:38 +02:00
Twinaphex c09fdcc14a Revert "(360) Corrections to gfx_init and fbo_init"
This reverts commit 7bab422a44.
2012-04-19 15:59:15 +02:00
Twinaphex 3492d89147 Revert "(360) FBO changes"
This reverts commit 77b4b76db4.
2012-04-19 15:59:07 +02:00
Twinaphex 808a7cee4a Merge branch 'master' of github.com:Themaister/SSNES 2012-04-19 15:58:15 +02:00
TwinAphex51224 77b4b76db4 (360) FBO changes 2012-04-18 23:57:01 +02:00
TwinAphex51224 7bab422a44 (360) Corrections to gfx_init and fbo_init 2012-04-18 23:35:01 +02:00
TwinAphex51224 9d5da1e9e0 (360) Quick fix to gfx_frame 2012-04-18 23:29:42 +02:00
TwinAphex51224 97aba979c0 (360) Add offscreen render targets (FBO for D3D) to video driver 2012-04-18 23:19:11 +02:00
Twinaphex f764808578 Merge branch 'master' of github.com:Themaister/SSNES 2012-04-18 15:36:53 +02:00
TwinAphex51224 8e950ba5be (360) Convert texture first to some color format suitable for
GPU/sampling - this fixes most of the problems with the shaders
such as Lanzcos, Bead and Blinky.
2012-04-18 05:01:17 +02:00
TwinAphex51224 23d05ea55d (360) Assume Release of d3d render device / device will also
free all associated resources
2012-04-17 05:45:55 +02:00
TwinAphex51224 3a99b0602e (360) Fixed memory freeing bug to do with XUI when exiting
program
2012-04-17 05:35:25 +02:00
TwinAphex51224 ce7275393e (360) Attempt to make clear in xdk360_video.cpp what is 360-specific
and what is not
2012-04-17 05:23:54 +02:00
TwinAphex51224 6c5285c792 (360) Rewrite of xdk360_video.cpp and shader_hlsl.c - use
portable class-based function invocations
2012-04-17 05:12:47 +02:00
TwinAphex51224 731f3e7bba (360) found bug while in debug mode - have to set texture to NULL
first before doing lockrect / unlockrect
2012-04-16 18:32:57 +02:00
Twinaphex ac8ca5a526 Merge branch 'master' of github.com:Themaister/SSNES 2012-04-16 06:32:15 +02:00
TwinAphex51224 a8af68217f (360) Frame count in shaders works now 2012-04-16 04:22:16 +02:00
TwinAphex51224 6a942e046a (360) Flesh out hlsl_set_params 2012-04-15 20:02:51 +02:00
Twinaphex 10c2e86d14 Merge branch 'master' of github.com:Themaister/SSNES 2012-04-15 20:00:55 +02:00
TwinAphex51224 1cdaa652a9 (360) Attempt to fix memory leaks - still broken 2012-04-15 18:13:24 +02:00
TwinAphex51224 48b8c78de2 (360) Remove register specification for MVP - no longer need it 2012-04-15 17:53:48 +02:00
TwinAphex51224 17aa782223 (360) MVP now gets fetched from constant table too - stock.cg
now requires zero changes from Cg file
2012-04-15 17:51:01 +02:00
TwinAphex51224 f9ef9cd1f4 (HLSL) Implement set_program_attributes 2012-04-15 16:34:09 +02:00
Twinaphex 9f8f831450 Merge branch 'master' of github.com:Themaister/SSNES 2012-04-15 16:28:01 +02:00
Twinaphex 5932829fd8 (PS3/360) Small indent cleanups 2012-04-15 02:41:44 +02:00
TwinAphex51224 2a8ea913c0 (HLSL) small cleanups 2012-04-14 22:19:39 +02:00
TwinAphex51224 f4f2ff386a (HLSL) D3D device ptr for shader_hlsl.c 2012-04-14 22:05:56 +02:00
TwinAphex51224 a50a9a6ba1 (360) 360 port works with skeleton HLSL driver now 2012-04-14 21:45:43 +02:00
Twinaphex 6f56942d44 (HLSL) Add skeleton gfx/shader_hlsl.c (for initial use with 360) 2012-04-14 20:33:56 +02:00
Twinaphex 00a20e80aa (360) menu.h indenting nits 2012-04-14 05:36:54 +02:00
Twinaphex 233730d03b (360) 360/fonts.cpp - indenting nits 2012-04-14 05:01:26 +02:00
Twinaphex 089e97b942 (360/PS3) Indenting nits 2012-04-14 04:38:40 +02:00
Twinaphex 80e2f61eab (PS3/360) Moved some shared enums to console_ext.h 2012-04-14 03:51:25 +02:00
Twinaphex 96c20550b5 (SSNES_CONSOLE) Get rid of main_wrap.h header file - include
this in console_ext.h instead
2012-04-13 22:07:21 +02:00
Twinaphex 10be750aa6 (SSNES_CONSOLE) Introduce HAVE_SSNES_EXEC define 2012-04-13 21:01:04 +02:00
Twinaphex 79737aecf3 (SSNES_CONSOLE) Introduce HAVE_SSNES_MAIN_WRAP define 2012-04-13 20:40:22 +02:00
Twinaphex 782e8b8da9 (PS3/360) Removed duplicate keybind LUT 2012-04-13 17:03:30 +02:00
Twinaphex ad03ce8b58 (360) Unnecessary enum duplications in 360/shared.h 2012-04-13 16:15:57 +02:00
Twinaphex 2ffffee571 (PS3/360) libretro_manage_core made portable and moved to console_ext.c 2012-04-13 15:57:59 +02:00
Twinaphex add97b9ef5 (360) Don't make a copy of dir_list_new in 360/main.c but rather use
the one in file.c with two small Xbox 360 tweaks to make it work
2012-04-13 14:52:51 +02:00
Twinaphex 5646140755 (360) Use ssnes_input_set_default_keybinds in 360 code too 2012-04-13 14:41:12 +02:00
Twinaphex 9db2a51a81 Updated meta.xml + fixed some indenting in xdk360_video.cpp 2012-04-13 03:23:23 +02:00
Twinaphex 3e2769d199 (360) Updated 360 for new aspect ratio code too 2012-04-13 03:07:10 +02:00
Twinaphex 533d2683c5 (PS3/360) Uses block_extract from libretro API now 2012-04-12 22:53:05 +02:00
Twinaphex f313d3c6bb (360/PS3) 360 and PS3 now both use the same salamander source
file
2012-04-11 04:07:17 +02:00
Twinaphex db00f689c8 Fixed indenting in a lot of console files 2012-04-10 21:24:05 +02:00
Twinaphex 55d09ee494 (Salamander) Changes - now looks for libretro_path instead of
libsnes_path
2012-04-10 18:57:14 +02:00
TwinAphex51224 9d3d696b3e (360) Some libretro ABI-related changes for 360 port 2012-04-10 03:13:04 +02:00
Twinaphex b2fcf5b281 (PS3) More libretro commits - broken right now on retro_run 2012-04-10 01:00:25 +02:00
Themaister e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister 62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister 9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister 84f40dab16 Move set_aspect_ratio to SSNES_CONSOLE. 2012-04-09 22:02:46 +02:00
Twinaphex e18a9e1001 Added set_aspect_ratio callback function 2012-04-09 16:04:24 +02:00
TwinAphex51224 55ddfb0dc6 (360) Add version number for emu cores in menu 2012-04-04 03:33:06 +02:00
TwinAphex51224 113e3006fa (360) Added HD menus / SD menus available too - will be autoselected
based on aspect ratio / HD availability - will need more refinement
2012-04-04 02:54:21 +02:00
TwinAphex51224 525d9b3cf5 (360) Implemented rotation callback function 2012-04-01 16:10:02 +02:00
TwinAphex51224 a7b486cef1 (360) Some cleanups to xdk360_video_resources 2012-03-29 17:27:42 +02:00
Twinaphex 75661e7527 (360/PS3) Moved file_browser.c to console/ - 360/PS3 now use
the same file browser code
2012-03-29 16:18:23 +02:00
TwinAphex51224 23f9cf8618 (360) Have 360 use HAVE_GRIFFIN_OVERRIDE_VIDEO_FRAME_FUNC too 2012-03-29 15:30:27 +02:00
TwinAphex51224 a860a71016 (360) 360 uses Griffin now too 2012-03-29 12:04:58 +02:00
TwinAphex51224 a0a27658bd (360) 360 compile update 2012-03-25 03:12:31 +02:00
TwinAphex51224 885c165716 (360) Combine xdk360_video.cpp and xdk360_video_resources.cpp 2012-03-18 00:23:11 +01:00
TwinAphex51224 7974533452 (360) Fixed SSNES Salamander 360 2012-03-17 00:40:48 +01:00
TwinAphex51224 dd9f4be2aa (Wii) Some work on Wii port - included szlib.c - moved input-related
function over to input_luts.c
2012-03-12 22:40:04 +01:00
TwinAphex51224 8781b5c7d3 (360) Works now - environment settings were getting 'defaulted'
- placed init_libsnes_syms now right before menu_init
2012-03-12 04:34:49 +01:00
TwinAphex51224 ed4a81e497 (360) More of aforementioned 2012-03-12 03:53:44 +01:00