Commit Graph

346 Commits

Author SHA1 Message Date
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
TwinAphex51224
e1bbaee64c (360) Set up SSNES 360 for new console environment settings 2012-03-12 03:08:15 +01:00
TwinAphex51224
a328bd578e (360/PS3) Some changes needed for FBA on consoles in specific 2012-03-11 22:39:48 +01:00
TwinAphex51224
51b3cafed7 (360) Add xdk360_video_general.h header file 2012-03-11 16:19:47 +01:00
TwinAphex51224
81988fc1ef (360) Don't include D3D/Netcode where not needed through NOD3D/
NONET defines
2012-03-11 16:17:42 +01:00
TwinAphex51224
1f00ce1812 (360) Use C version code in objbase.h for XAudio2 2012-03-11 15:00:15 +01:00
TwinAphex51224
2295c4abd8 (360) Add objbase.h 2012-03-11 14:45:20 +01:00
TwinAphex51224
48230ba533 (360) Use more direct functions for Xaudio2 2012-03-11 07:24:53 +01:00
TwinAphex51224
4737d28644 (360) Add custom Xaudio header 2012-03-11 06:58:56 +01:00
TwinAphex51224
5c4ad2884e (360) Get rid of unused font_texture 2012-03-11 03:57:07 +01:00
TwinAphex51224
e30966bfd0 (360) Get rid of constant table - seem to be getting nowhere with
this
2012-03-11 03:40:52 +01:00
TwinAphex51224
c5d8e1a75c (360) Add constant table for fragment shader too 2012-03-10 20:55:55 +01:00
TwinAphex51224
c2cc7a278f (360) Nit 2012-03-10 18:54:07 +01:00
TwinAphex51224
5cad1e4c39 (360) Stock Cg/HLSL shaders should be now almost the same - only
mall 1/2-line ifdefs should be needed
2012-03-10 18:50:30 +01:00
TwinAphex51224
40035908f3 (360) Nit. 2012-03-10 17:00:21 +01:00
TwinAphex51224
b0de19f3e0 (360) force_resize_enable member was a hack for hacky orientation,
can go now that we do it properly
2012-03-10 16:57:59 +01:00
TwinAphex51224
a47bcf6cc1 (360) Texture coordinates updated now again per video width/height change 2012-03-10 16:50:11 +01:00
TwinAphex51224
bc307d4b63 (360) Moving away from crufty orientation code 2012-03-10 16:41:10 +01:00
TwinAphex51224
bdb8b3f0fe (360) MVP shader stuff fixed 2012-03-10 15:51:42 +01:00
TwinAphex51224
6053b61b5b (360) MVP stuff - right now ouputs black - to be fixed shortly 2012-03-10 15:32:36 +01:00
TwinAphex51224
31be6766c6 (360) Uses runtime shader compiler - loads stock shader from
file now
2012-03-09 21:50:12 +01:00
TwinAphex51224
7d8d8f39f7 (360) Add aspect ratio changing - fixed bugs 2012-03-09 01:22:01 +01:00
TwinAphex51224
760d3bbecf (360) WIP aspect ratio changing - currently broken 2012-03-09 00:09:39 +01:00
TwinAphex51224
ac070a6b2b (360) Added gamma correction setting 2012-03-08 23:29:18 +01:00
TwinAphex51224
94f09d2093 (360) Some more replacing of D3D functions 2012-03-08 21:15:18 +01:00
TwinAphex51224
b8e6443710 (360) Use C functions for D3D 2012-03-08 16:14:09 +01:00
TwinAphex51224
8823b47a05 (360) Added screen orientation options - might want to refactor
this later on
2012-03-08 13:45:00 +01:00
TwinAphex51224
428050904c (360) ZIP files can now be unzipped - press X on a ZIP file to
unzip the files to the cache: partition - from the filebrowser
you can then go to the cache partition and load the unzipped ROM.
2012-03-07 20:33:14 +01:00
TwinAphex51224
44b873af5b Rename rom_ext.c to console_ext.c - rename xdk360_input.cpp to
xdk360_input.c
2012-03-06 14:12:28 +01:00
TwinAphex51224
4ff4957a45 (360) Use input LUTs in code 2012-03-06 13:35:20 +01:00
TwinAphex51224
0b3f0de625 (360) Will now start at root of game:\\ volume in ROM browser
as default path
2012-03-05 13:27:10 +01:00
TwinAphex51224
80a680a7ee (360) You can change between libsnes cores now from the menu 2012-03-05 13:06:24 +01:00
TwinAphex51224
762c2cb170 (360) Added SSNES Salamander to 360 - will now boot CORE.xex
from SSNES-Salamander.xex and rename CORE.xex once booted.
2012-03-05 12:07:09 +01:00
TwinAphex51224
bd500ae249 (360) Header typos 2012-03-05 01:15:27 +01:00
TwinAphex51224
ad5c890603 (360) Forgot to add new xdk360_input.h header file 2012-03-05 01:10:26 +01:00
TwinAphex51224
f46889daae (360) D-pad mapped to left analog stick -make this configurable
later on (same for PS3 port)
2012-03-05 01:00:09 +01:00
Themaister
e3c5ebd937 Add define for strtoull. 2012-03-04 23:09:05 +01:00
TwinAphex51224
471dfcd478 (360) Filebrowser can now load ROMs from subdir 2012-02-17 21:28:23 +01:00
TwinAphex51224
8e8f56b5e8 (360) Combined console and font code into one file 2012-02-17 19:35:51 +01:00
TwinAphex51224
f9ab3711eb (360) Remove some comments 2012-02-16 22:34:19 +01:00
TwinAphex51224
f2f09ce2ed (360) xdk360_video_debugfonts is no longer class-based 2012-02-16 22:10:54 +01:00
TwinAphex51224
356d565ce6 (360) xdk360_video_console no longer class-based 2012-02-16 18:19:22 +01:00
TwinAphex51224
8ec0cb4f6c (360) Simplified video console 2012-02-16 17:45:11 +01:00
TwinAphex51224
fd9f020afa (360) Remove PIX calls 2012-02-16 16:28:31 +01:00
TwinAphex51224
52402d02c5 (360) Some improvements to font rendering 2012-02-16 16:14:31 +01:00
TwinAphex51224
1373ba167d (360) Remove font centering/alignment code 2012-02-16 15:43:15 +01:00
TwinAphex51224
668aa9a9ac (360) removed some unused code in console/debug fonts 2012-02-16 15:27:51 +01:00
TwinAphex51224
8dcf132b0c (360) Updated 360 port too 2012-02-15 18:57:29 +01:00
TwinAphex51224
3cc042e2a6 (360) Compile fix for filepath_exists 2012-02-15 02:24:22 +01:00
TwinAphex51224
2cb946ec8b (Core) Add filepath_exists to file.c - needed for console ports 2012-02-15 02:09:55 +01:00
TwinAphex51224
8459f39933 (360) Remove PNGs we are no longer going to use in our GUI 2012-02-15 01:44:16 +01:00
TwinAphex51224
48d589ffce (360) New Quick Menu 2012-02-14 17:34:25 +01:00