Jordan Woyak
d3f1bb93f2
Use DataWrite in a few more places.
2013-02-22 02:19:59 -06:00
Jordan Woyak
db1be085c2
VertexManager cleanup
2013-02-22 01:41:52 -06:00
Jordan Woyak
21bd5be753
Buffer size changes.
2013-02-21 23:12:53 -06:00
skidau
d76ca57837
Fixed a JIT timing bug that prevented Eternal Darkness from booting in Single Core mode.
2013-02-22 15:13:49 +11:00
Jordan Woyak
f16dcfe6f6
Remove logic from IndexGenerator which does not seem to match that of Video Software.
2013-02-21 21:02:49 -06:00
Jordan Woyak
368c78dd5c
IndexGenerator cleanup.
2013-02-21 19:11:07 -06:00
degasus
9332775b68
default upload method for nvidia is buffersubdata
2013-02-21 21:59:40 +01:00
Jordan Woyak
677c6229ad
Experimental VertexLoader cleanup!
2013-02-21 14:41:06 -06:00
Jordan Woyak
a92c93f870
Automate some calculations, with templates!
2013-02-21 13:29:05 -06:00
Jordan Woyak
7987d6babb
Use templates for 8+16 bit indexed versions of SSSE3/SSE4 TextCoord reading.
2013-02-21 12:42:09 -06:00
degasus
bed29f843f
fix spelling
2013-02-21 18:29:17 +01:00
degasus
40e17b4cb8
add option for hacked upload and disable it by default
2013-02-21 18:18:44 +01:00
degasus
d0e8217714
remove intel pixel shader hack
...
did not work correctly and made warnings on dx11
2013-02-21 17:44:56 +01:00
degasus
c7f4d6b9ac
wrapper for s_pCurBufferPointer
2013-02-21 13:45:48 +01:00
degasus
4b4dce1bd9
build fix
2013-02-21 13:00:19 +01:00
degasus
76e6085e31
consistently usage of buffer pointers
2013-02-21 12:36:29 +01:00
degasus
a849bb5242
Merge branch 'vertexloader_cleanup' into vertex-loader-cleanup
...
Conflicts:
Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp
2013-02-21 12:18:50 +01:00
degasus
66d0c1c301
small cleanups of s_pCurBufferPointer
2013-02-21 11:45:29 +01:00
degasus
0d33e20026
bbox: replace s_pCurBufferPointer with locale buffer, so it can be read without read from the writeonly buffer
2013-02-21 11:41:14 +01:00
degasus
7a89faf13f
converting the last vertices again instead of copying from buffer on buffer split
...
for mapping, this buffer must be write only, so we cannot copy anthing.
converting again needs more cpu, but should happen rarely
2013-02-21 11:36:10 +01:00
Jordan Woyak
dc776a19a0
Cleanup VertexLoader's Color functions a bit.
2013-02-21 02:49:17 -06:00
Jordan Woyak
660fc12927
Cleanup Position loader functions.
2013-02-21 02:19:06 -06:00
Jordan Woyak
5efdcef34a
No longer have the signed/unsigned hack I guess.
2013-02-21 00:49:47 -06:00
Jordan Woyak
3938d3713b
Fix what I broke.
2013-02-21 00:40:22 -06:00
Jordan Woyak
5b63472ad7
Templatify Normal Loader functions.
2013-02-21 00:10:06 -06:00
Jordan Woyak
5e78f8a176
Templatify TextCord Loader functions.
2013-02-20 20:43:53 -06:00
Jordan Woyak
8f256237a3
Templatify DataReader a bit.
2013-02-20 20:21:25 -06:00
Jordan Woyak
6a13a4e5ed
Add template "swap" function to CommonFuncs.
2013-02-20 20:20:53 -06:00
Jordan Woyak
e9232280c4
Fix OSX!
2013-02-20 17:35:41 -06:00
Jordan Woyak
f3e91bc10d
Hopefully kill a stupid warning on Windows.
2013-02-20 17:30:34 -06:00
Jordan Woyak
e7c93b8ac3
Minor sampler cache cleanup.
2013-02-20 17:15:10 -06:00
Jordan Woyak
b7fae1febb
Fix my DX11 texture-related failure..
...
Fixes issue 6026. (probably)
2013-02-20 14:18:21 -06:00
skidau
36f2082a5f
Made vertex loading take constant time. Fixes a hang in Gladius.
2013-02-20 23:38:25 +11:00
Jordan Woyak
6e6d8af6dd
Revert "Don't load level 0 twice for 1-level textures in DX11." and fix it properly.
...
All backend TextureCaches now load level 0 in CreateTexture.
This reverts commit 294cb165ba
.
2013-02-20 05:42:22 -06:00
Jordan Woyak
eae20b77a8
Remove some unneeded sampler-related calls in BPStructs.
2013-02-20 02:01:54 -06:00
Jordan Woyak
294cb165ba
Don't load level 0 twice for 1-level textures in DX11.
2013-02-19 22:39:28 -06:00
Jordan Woyak
55c2a01744
Check for sampler object support, just to be nice.
2013-02-19 21:24:08 -06:00
Jordan Woyak
f2647a1216
Implement OGL sampler cache. Allows binding a texture multiple times with different parameters. Also possibly gives a very small speed improvement.
2013-02-19 21:18:53 -06:00
degasus
d93e57ff22
revert b5fe39b8c7
"fix texture parameters"
...
these parameters are really floats. I was just wrong
2013-02-19 22:20:39 +01:00
degasus
b5fe39b8c7
fix texture parameters
2013-02-19 17:28:46 +01:00
degasus
50f4bf114e
Revert "map_orphan_and_risk - next try for upload method"
...
This reverts commit 17747fcfb8
.
On orphaning, some gl drivers do heurisitics where to store the buffer.
As the hack may only work on pinned memory, it would be much less deteministic.
2013-02-19 15:51:48 +01:00
degasus
0f2ee45d96
remove ati workaroung for mipmap creation
...
isn't needed any more by merging mapmap_fixes
2013-02-19 15:40:34 +01:00
skidau
351c741906
Merge branch 'master' into FIFO-BP
...
# By Jordan Woyak (9) and others
* master:
Fixed a buffer overflow in the OpenAL buffer.
TextureCache: Fix D3D backends crashing when a game uses multiple 1x1-sized LODs.
WII_IPC_HLE_Device_FileIO: don't rebuild the filename on every operation.
Some cleanup of CWII_IPC_HLE_Device_FileIO: The real file was never kept open for longer than a single operation so there was no point in dealing with it in DoState. Saving the real path in the savestate was also probably a bad idea. Savestates should be a bit more portable now.
Removing destination on rename when source isn't present doesn't make sense. IOCTL_RENAME_FILE still might not be totally correct.
Change some CNANDContentLoader logic to what was probably intended. Kills some warn logs when opening Dolphin.
Let's not CreateDir an empty string every time CreateFullPath is used, logging an error every time.
Fix a memleak. Probably/maybe improve USBGecko performance.
Remove the core count from the cpu info OSD message. It was often wrong and not rather important.
Use omp_get_num_procs to set the number of OpenMP threads rather than our core count detection.
Bulk send TCP data to the client with the emulated USB Gecko.
Added the ability to reverse the direction of the force feedback by allowing negative range values.
Changes/cleanup to TextureCache::Load and other mipmap related code. The significant change is what is now line 520 of TextureCacheBase.cpp: ((std::max(mipWidth, bsw) * std::max(mipHeight, bsh) * bsdepth) >> 1) to TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat);
2013-02-19 23:19:29 +11:00
degasus
17747fcfb8
map_orphan_and_risk - next try for upload method
...
should work around nvidia600 driver issue which will flush gpu on syncing
also increase buffer size by orphaning
2013-02-19 13:18:48 +01:00
skidau
718a1b5ded
Fixed a buffer overflow in the OpenAL buffer.
2013-02-19 23:18:13 +11:00
degasus
fed574d08b
solve merge conflict
2013-02-18 18:55:42 +01:00
degasus
a629dea4dc
Merge branch 'master' into GLSL-master
...
Conflicts:
CMakeLists.txt
Source/Core/DolphinWX/Dolphin.vcxproj
Source/Core/DolphinWX/Src/GLInterface/WX.cpp
Source/Core/DolphinWX/Src/GLInterface/WX.h
Source/Core/VideoCommon/Src/TextureCacheBase.cpp
Source/Core/VideoCommon/Src/TextureCacheBase.h
Source/Plugins/Plugin_VideoDX11/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoDX11/Src/TextureCache.h
Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoDX9/Src/TextureCache.h
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureCache.h
Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
damn mipmap_fixes ...
2013-02-18 18:49:20 +01:00
NeoBrainX
19ab5bf50d
TextureCache: Fix D3D backends crashing when a game uses multiple 1x1-sized LODs.
2013-02-18 17:14:56 +01:00
NeoBrainX
0f617183a8
Add a possible TODO.
...
Dunno if the hardware behaves like this, but it likely does.
2013-02-18 14:54:24 +00:00
degasus
4653adecf1
remove numTexGens=7 hack. only cg wasn't able to handle more then 8 texcoords
2013-02-17 22:37:00 +01:00
degasus
bef24b5c6b
new format for gl extensions
2013-02-17 21:41:00 +01:00
Jordan Woyak
d0ea94a2aa
WII_IPC_HLE_Device_FileIO: don't rebuild the filename on every operation.
2013-02-17 13:52:04 -06:00
Jordan Woyak
fa9aafeed8
Some cleanup of CWII_IPC_HLE_Device_FileIO:
...
The real file was never kept open for longer than a single operation so there was no point in dealing with it in DoState.
Saving the real path in the savestate was also probably a bad idea. Savestates should be a bit more portable now.
2013-02-17 13:37:01 -06:00
Jordan Woyak
0cdd4434b9
Removing destination on rename when source isn't present doesn't make sense.
...
IOCTL_RENAME_FILE still might not be totally correct.
Fixes issue 5440.
2013-02-17 12:51:12 -06:00
Jordan Woyak
bf4be1d8d1
Change some CNANDContentLoader logic to what was probably intended. Kills some warn logs when opening Dolphin.
2013-02-17 01:57:25 -06:00
Jordan Woyak
3330842505
Let's not CreateDir an empty string every time CreateFullPath is used, logging an error every time.
2013-02-17 01:33:22 -06:00
Jordan Woyak
9ac2fbb0a5
Fix a memleak. Probably/maybe improve USBGecko performance.
2013-02-17 00:19:42 -06:00
Jordan Woyak
206fdde933
Remove the core count from the cpu info OSD message. It was often wrong and not rather important.
2013-02-16 23:48:20 -06:00
Jordan Woyak
537d5ea942
Use omp_get_num_procs to set the number of OpenMP threads rather than our core count detection.
2013-02-16 23:48:20 -06:00
skidau
123035a192
Bulk send TCP data to the client with the emulated USB Gecko.
...
Fixes issue 6006.
2013-02-17 15:27:15 +11:00
skidau
1792a9d27b
Added the ability to reverse the direction of the force feedback by allowing negative range values.
...
Fixes issue 5981.
2013-02-17 15:03:10 +11:00
Jordan Woyak
53aec6c476
Fix OGL perf queries and make them not slow!
2013-02-16 19:30:24 -06:00
skidau
0e2c3f3483
Increased the cycle time of the vertex command. Fixes "Speed Challenge: Jacques Villeneuve's Racing Vision".
2013-02-16 22:54:10 +11:00
skidau
45efced280
Moved the setting of the Finish interrupt signal back to the main thread as it was causing Wii games like Resident Evil 4 (Wii) to hang.
2013-02-16 18:30:20 +11:00
Jordan Woyak
d994e56b60
Changes/cleanup to TextureCache::Load and other mipmap related code.
...
The significant change is what is now line 520 of TextureCacheBase.cpp:
((std::max(mipWidth, bsw) * std::max(mipHeight, bsh) * bsdepth) >> 1)
to
TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat);
Fixes issue 5328.
Fixes issue 5461.
2013-02-15 22:56:29 -06:00
skidau
0c882cca66
Profile stores, fp stores and ps stores only to the fifo write addresses list. This should make the JIT a little faster as it will not be checking for external exceptions unnecessarily.
2013-02-16 13:54:58 +11:00
skidau
9bff8e00c8
Added preliminary support to synchronise the timing of the CPU and GPU threads. A new option has been added to the game properties for this purpose. This option may help with random freezes in Dual Core mode.
...
Fixes Gladius and Baten Kaitos: Eternal Wings and the Lost Ocean
Fixes issue 5150.
2013-02-16 12:51:09 +11:00
skidau
51795d8811
Merge branch 'master' into FIFO-BP
...
# By Jordan Woyak (24) and others
# Via Jordan Woyak (3) and others
* master: (66 commits)
Reduce some DI command delays. Fix DKCR hanging with DSP HLE. My other games continue to work.
Video_Software: Fix ZComploc option breaking stuff.
Video_Software: Fix the ZFreeze option doing nothing.
Video_Software: Toggable zfreeze and early_z support for testing.
Fix header guard and definitions not being set to 1
Add the option to turn on only the EGL interface to use desktop OpenGL with it.
Change the ugly "no banner" banner to the sexy "X" from the website.
Fix a crash in the FifoPlayer dialog.
Use different reply delays for various DI commands. Fixes issue 5983.
Revert "[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary."
Fix some potential issues when blending on EFB formats without alpha. Clean up state transition tables.
Disable play and record buttons if an iso was selected, but is later deselected.
Disable start/play recording buttons when no iso is selected.
Only delay DI and fs IPC replies. Fixes issue 5982.
Fix compilation with SDL2. (based on a patch from matthewharveys) Fixes issue 5971.
"Fix" using SDL from externals.
Clean up SDL includes a bit. Maybe fix an SDL2 problem.
Number "unknown" axes in OSX rather than call them all "unk".
Revert "Only delay DI command replies." Fix "Wii Party" again.
Hopefully make wiimote speaker less crappy.
...
2013-02-16 11:10:03 +11:00
Jordan Woyak
5a3435255b
Reduce some DI command delays. Fix DKCR hanging with DSP HLE. My other games continue to work.
2013-02-15 16:02:38 -06:00
NeoBrainX
6fd96a162f
Video_Software: Fix ZComploc option breaking stuff.
2013-02-15 17:55:16 +01:00
NeoBrainX
fb0102d441
Video_Software: Fix the ZFreeze option doing nothing.
2013-02-15 17:47:29 +01:00
NeoBrainX
183ad0c628
Video_Software: Toggable zfreeze and early_z support for testing.
2013-02-15 17:45:33 +01:00
degasus
334bd52f2c
NaNs handling in pixel shader
2013-02-15 15:46:31 +01:00
degasus
e259343275
fix efb copy shaders
2013-02-15 13:13:45 +01:00
Jordan Woyak
ef90b15f3e
Provide an option to not send speaker data. It can cause rumble lag even when the speaker is muted.
2013-02-15 03:00:31 -06:00
Jordan Woyak
1f20a24a04
Minor changes.
2013-02-14 21:02:41 -06:00
Jordan Woyak
891de52769
Don't need to hang dolphin when searching for wiimote with the refresh button.
...
This code is getting pretty ugly. :/
2013-02-14 19:04:34 -06:00
Jordan Woyak
cda88a8c1e
Random improvements.
2013-02-14 18:43:11 -06:00
Jordan Woyak
306e6b1d80
Turn off continuous scanning by default.
2013-02-14 18:43:11 -06:00
degasus
9f4a616f2e
build fix
2013-02-14 19:04:52 +01:00
degasus
a0ef58418b
workaround for buggy intel windows driver. revert this as soon as there are newer driver
2013-02-14 18:59:45 +01:00
degasus
0325e37bfb
merge glsl headers into one place
2013-02-13 21:34:48 +01:00
Jordan Woyak
e57ff06130
Futile attempts at fixing Windows.
2013-02-13 14:00:15 -06:00
degasus
3392562501
rewrite efb copy shader, copied from dx11
2013-02-13 18:01:06 +01:00
degasus
21b83b436c
create shader cache directoy
2013-02-13 16:50:56 +01:00
degasus
b3675d15dc
enable shader cache again
2013-02-13 16:30:15 +01:00
degasus
398b37f371
fix ValidateShaderIDs
2013-02-13 15:16:32 +01:00
degasus
bbc292c210
merge Vertex and PixelShaderCache into ProgramShaderCache
...
this is the first step, uniform handling is still missing
2013-02-13 13:12:19 +01:00
Jordan Woyak
77381a1af2
Futile attempts at fixing OS X.
2013-02-12 21:37:47 -06:00
Jordan Woyak
7f305ba822
Fix sloppy connection logic.
2013-02-12 18:59:45 -06:00
Jordan Woyak
12674b3164
Possibly improve real wiimotes on Windows.
2013-02-12 17:01:51 -06:00
Ryan Houdek
818a376bd4
Fix header guard and definitions not being set to 1
2013-02-12 14:11:29 -06:00
Jordan Woyak
1e64c38998
Clean up SDL includes a bit. Maybe fix an SDL2 problem.
...
Conflicts:
Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
2013-02-12 14:02:43 -06:00
Jordan Woyak
46f94203b7
Fix compilation with SDL2. (based on a patch from matthewharveys)
...
Fixes issue 5971.
Conflicts:
Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
2013-02-12 14:00:51 -06:00
Jordan Woyak
da53ca8ee3
"Wait for the wiimote to connect"? I think that's a horrible idea.
2013-02-12 00:19:27 -06:00
Jordan Woyak
a6461ca186
Improve wiimote reconnection on changing wiimote sources.
2013-02-11 23:39:04 -06:00
Jordan Woyak
fa10335c55
Make continuous scanning optional.
2013-02-11 17:58:56 -06:00
Jordan Woyak
f3d25f2cb0
OSX buildfix!
2013-02-11 16:07:01 -06:00
Jordan Woyak
0fb7f65e04
Problems on Windows? Just SLEEP twice as long!
2013-02-11 15:58:23 -06:00
Jordan Woyak
c2d2fb8c7c
Try to improve real wiimotes on Windows.
2013-02-11 15:21:58 -06:00
Ryan Houdek
8923f0e13b
Fix header guard and definitions not being set to 1
2013-02-11 15:06:40 -06:00
Jordan Woyak
b8fd5c0c30
Fix Windows for real!
2013-02-11 05:57:55 -06:00
Jordan Woyak
c267be2682
Hopefully fix windows!
2013-02-11 05:30:51 -06:00
Jordan Woyak
7a053d0f07
buildfix!
2013-02-11 03:50:54 -06:00
Jordan Woyak
05ec90488b
Make real wiimotes not so crappy on Windows hopefully.
2013-02-11 03:39:09 -06:00
skidau
f26650e55b
Removed the updating of PC in the Cleanup function. This was causing Metroid Prime to hang.
2013-02-11 08:42:16 +11:00
skidau
17c4fcfd90
Removed the updating of PC in GenQuantizedStores() as the generated code is static.
2013-02-10 18:40:50 +11:00
skidau
0cafc33eda
Moved the token update to the CPU thread.
2013-02-10 18:24:30 +11:00
skidau
056930cac8
Updated PC on a few memory writes that were missed in the FifoBusy branch. Thanks to hk.konpie for the tip.
...
Fixes issue 5993.
2013-02-10 13:33:56 +11:00
Jordan Woyak
1c64b1993d
Change the ugly "no banner" banner to the sexy "X" from the website.
2013-02-09 17:04:41 -06:00
NeoBrainX
6645bd6fc6
Fix a crash in the FifoPlayer dialog.
2013-02-09 12:39:19 +01:00
skidau
5f672baca3
Used Atomic functions to update variables shared between the CPU and GPU threads.
...
Changed the variables from bool to u32 to match the atomic functions.
2013-02-09 17:46:48 +11:00
Jordan Woyak
50c83d614c
More attempts at fixing Windows and OS X.
2013-02-08 21:20:54 -06:00
Jordan Woyak
9bb9286cd3
OSX buildfix!
2013-02-08 16:59:59 -06:00
Jordan Woyak
1f1b4a6992
Hopefully make real wiimotes on OSX less crashy.
2013-02-08 16:54:48 -06:00
Jordan Woyak
a11827cdf0
Use different reply delays for various DI commands.
...
Fixes issue 5983.
2013-02-08 16:27:14 -06:00
Jordan Woyak
1998da867b
OSX fix maybe. (based on jchadwick's patch)
2013-02-08 12:33:45 -06:00
Jordan Woyak
8ce58759e3
Remove some old nonsense.
2013-02-07 23:52:50 -06:00
Jordan Woyak
87bbdbf542
Remove settings stuff that was not actually used anywhere.
2013-02-07 23:23:32 -06:00
Jordan Woyak
026793fa4a
Fixup real wiimote GUI.
2013-02-07 23:17:51 -06:00
Jordan Woyak
3063942dd0
some cleanup
2013-02-07 21:54:23 -06:00
Jordan Woyak
c4df69a342
Merge branch 'master' into real-wiimote-scanning
...
Conflicts:
Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp
Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp
2013-02-07 20:22:06 -06:00
Jordan Woyak
a2ca76ebd9
Buildfix.
2013-02-07 15:16:41 -06:00
Jordan Woyak
57ea09dcc2
Fix BT-less!
2013-02-07 14:46:01 -06:00
NeoBrainX
95d08db46f
Revert "[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary."
...
This reverts commit 6c8a22de24
.
2013-02-07 21:45:06 +01:00
Jordan Woyak
9ecfb5e75d
Buildfix for real!
2013-02-07 14:42:50 -06:00
Jordan Woyak
85f25ded4c
Buildfix!
...
Programming for Windows on Linux is hard, OK?
2013-02-07 14:22:45 -06:00
Jordan Woyak
8f5fb7e6f9
Hopefully buildfix Windows. (thanks for the patch, RachelB)
2013-02-07 14:15:47 -06:00
NeoBrainX
ed0abc9dc5
Merge branch 'mipmap_fixes'.
2013-02-07 20:40:33 +01:00
NeoBrainX
6870c1fdd5
Fix some potential issues when blending on EFB formats without alpha.
...
Clean up state transition tables.
2013-02-07 18:01:24 +01:00
degasus
10567cb23f
always write to uv coords
2013-02-07 13:23:20 +01:00
degasus
f079b04a5d
also check for glsl errors on linking, activation GLSL_DEBUG again (slowdown on shader compilation)
2013-02-07 12:47:41 +01:00
degasus
9987765b1f
build fix
2013-02-07 10:48:42 +01:00
degasus
376a807dea
first try of osx fix, mostly by pauldachz
2013-02-07 10:34:29 +01:00
Rachel Bryk
0ebe35e0ef
Disable play and record buttons if an iso was selected, but is later deselected.
2013-02-07 00:31:57 -05:00
Rachel Bryk
6bc9e7579c
Disable start/play recording buttons when no iso is selected.
2013-02-06 20:56:07 -05:00
degasus
dae1226e1b
workaround for division by zero on fog calculation
2013-02-07 02:21:30 +01:00
Jordan Woyak
9cbfddd788
Only delay DI and fs IPC replies.
...
Fixes issue 5982.
2013-02-06 16:52:51 -06:00
Jordan Woyak
ef9d7fb789
Fix compilation with SDL2. (based on a patch from matthewharveys)
...
Fixes issue 5971.
2013-02-05 21:08:52 -06:00
degasus
e7a8d3f854
check for GL_ARB_sync, it's in ogl 3.2
2013-02-06 01:05:19 +01:00
Jordan Woyak
708fed92c8
Clean up SDL includes a bit. Maybe fix an SDL2 problem.
2013-02-05 15:34:23 -06:00
Jordan Woyak
f506783c37
Number "unknown" axes in OSX rather than call them all "unk".
2013-02-05 13:51:08 -06:00
degasus
ef602fd643
workaround for glGetUniformLocation in efb2ram
2013-02-05 18:22:23 +01:00
degasus
76adc77fa6
bigger buffers
2013-02-05 18:01:27 +01:00
Jordan Woyak
937d9e9007
Revert "Only delay DI command replies."
...
Fix "Wii Party" again.
This reverts commit fb5b5e8b63
.
2013-02-05 02:51:34 -06:00
Jordan Woyak
d0190faded
Hopefully make wiimote speaker less crappy.
2013-02-04 22:11:13 -06:00
Jordan Woyak
bc35764ec2
Fixed issue 5973. (probably)
2013-02-04 21:25:14 -06:00
Jordan Woyak
a455abe00b
Merge branch 'more-ipc-hle-hacks'
...
Fixes issue 5972.
2013-02-04 21:01:46 -06:00
Jordan Woyak
d5ec631337
Make real wiimote speaker not cause massive input delays.
...
Fixes issue 5966.
2013-02-04 20:57:08 -06:00
Jordan Woyak
fb5b5e8b63
Only delay DI command replies.
2013-02-04 19:39:31 -06:00
degasus
1d86dafbe2
evil hack: map the buffer once and use this pointer after unmaping
...
This isn't allowed by gl and may _only_ work, if the driver uses cpu bound buffer.
But it may speed up :-)
2013-02-05 00:53:14 +01:00
Jordan Woyak
2ad30958d6
Stuck an IPC HLE Update call in WII_IPCInterface::Write32.
...
While hacky, this seems to fix various problems without increasing IPC HLE freq to infinity.
Thanks to Aristar for helping test.
Increase IPC command reply delay to 1/100th of a second. (fixes DKCR hanging)
2013-02-04 17:41:10 -06:00
degasus
f677b8cba3
update to glew1.9, win binaries also from official release
2013-02-04 21:11:12 +01:00
degasus
2108529120
also align the size of buffers for pinned memory
2013-02-04 20:48:28 +01:00
skidau
2c8c8db731
Used AtomicStore to write to the signal interrupts.
2013-02-03 23:52:18 +11:00
skidau
03d9cca2fe
Added a script to copy the OpenAL dll's to the main Dolphin folder on new builds.
2013-02-03 19:02:46 +11:00
skidau
9a4e9da7c2
Set the token and finish interrupt signal from the video thread. This fixes the inconsistent state caused by lag from the scheduler. Fixes Rayman 3: Hoodlum Havoc and Shamu's Deep Sea Adventures.
...
Fixes issue 5401.
Fixes issue 5589.
2013-02-03 18:05:46 +11:00
Jordan Woyak
ca46a34dde
Merge branch 'ipc-hle-hacks'
...
Thanks skid_au for testing and helping think of the solution!
Fixes Issue 4608.
Fixes Issue 5050.
Fixes Issue 5103.
2013-02-02 12:54:22 -06:00
Jordan Woyak
e3c6c6dd69
Increase IPC HLE freq a bit for DKCR.
2013-02-02 12:52:12 -06:00
degasus
6e0b0192a8
correct spelling of align
2013-02-02 19:39:26 +01:00
degasus
0c7aa4ff4f
build fix
2013-02-02 19:32:40 +01:00
degasus
6e20af9ee9
align memory, use pinned memory if available
2013-02-02 19:26:29 +01:00
Jordan Woyak
5c08df00b2
Re-increase max ACL queue size to 100. Better than possibly dropping a packet.
...
Reduced IPC update freq some.
Removed some other nonsense.
2013-02-02 03:55:33 -06:00
skidau
867bfaa696
Changed cmdidle to match the isGpuReadingData flag. Fixes the random freezes in The Last Story.
2013-02-02 20:50:40 +11:00
Jordan Woyak
286392af9d
Reduce ACL max queue size back to 10. Increase IPC_HLE freq to 8 KHz to compensate.
2013-02-01 23:44:17 -06:00
Jordan Woyak
15936cb995
Change copy_n to copy and update the save state version because I forgot.
2013-02-01 23:27:49 -06:00
Jordan Woyak
11a4c92325
Remove "Alternate Wiimote Timing" option. It's no longer needed.
...
Also kill some irrelevant comments.
2013-02-01 21:39:01 -06:00
Jordan Woyak
00a1f351e9
Delay IPC replies directly caused by requests by 150th of a second. Fixes everything.
2013-02-01 20:58:17 -06:00
Jordan Woyak
039bf27767
Allow Rhythm Heaven Fever's "Remix 1" to work by disallowing a simultaneous "Ack" and "Reply".
2013-02-01 19:01:47 -06:00
Jordan Woyak
e4588e2dfc
Workaround ACL overflow issues by not dropping packets until buffer reaches size of 100.
...
It seems to work without causing input delays or anything bad.
2013-02-01 19:00:10 -06:00
degasus
f0795bad12
fix glew fix
2013-02-01 17:12:05 +01:00
degasus
cb4cb1713d
workaround older glew versions
2013-02-01 17:09:50 +01:00
degasus
2a1f592d82
first try for pinned memory, complete untested
2013-02-01 17:04:27 +01:00
degasus
3bf4ffe7fa
usable sync of ringbuffer
2013-02-01 16:43:08 +01:00
degasus
3af9840a4c
stream by map and sync
...
but not working perfectly, so disabled
2013-02-01 15:15:25 +01:00
degasus
878bd7f26c
implement streaming by bufferSubData, split upload and allocation in ringbuffer
2013-02-01 12:30:08 +01:00
degasus
30170575c8
create StreamBuffer class for ogl upload
2013-01-31 23:11:53 +01:00
Glenn Rice
f7fa33f2d6
Fix remaining compiler warnings.
2013-01-31 15:29:29 -06:00
degasus
011e326698
remove glIsEnabled(GL_BLEND), we do restore state after it, so it doesn't matter
2013-01-31 13:49:20 +01:00
degasus
4a463f4588
also add glBufferSubData for ubo upload
...
so osx start game, but everything is black
2013-01-31 13:00:15 +01:00
degasus
c05f66bdd0
first try for osx core profile
...
now it doesn't crash, but it still hangs on startup
2013-01-31 12:20:17 +01:00
degasus
01d8c21e1d
don't stream in rasterfont
...
mapping blocks on nvidia workstation, so use glBufferData
2013-01-31 11:30:44 +01:00
Rachel Bryk
e199d21513
Revert "Toggle full screen when double clicking the render window."
...
This reverts commit de27f0bea9
.
2013-01-31 03:54:18 -05:00
Rachel Bryk
de27f0bea9
Toggle full screen when double clicking the render window.
2013-01-31 03:51:29 -05:00
Glenn Rice
0ffdd2607f
Fix the majority of the compiler warnings unearthed by the addition of
...
the new warning flags.
2013-01-29 23:24:51 -06:00
Jordan Woyak
0e04e0c305
Fix some shadowing warnings.
2013-01-29 16:43:22 -06:00
Sonicadvance1
f13a07fb82
Remove this double flush in the idleskipping code.
2013-01-29 21:05:42 +00:00
skidau
2ab1cccbe4
Preset HBeamPos to -1. Fixes NTSC-U N64 VC games.
...
Fixes issue 5950.
2013-01-29 22:43:56 +11:00
NeoBrainX
76148a52b8
Fix a few other things
2013-01-28 22:51:15 +01:00
Ryan Houdek
afb5be10d9
OSX likes to put unordered_map in the weirdest of places...
2013-01-28 15:36:55 -06:00
Ryan Houdek
fa45403557
Got to love that my server's cmake is half retarded.
2013-01-28 15:32:38 -06:00
Ryan Houdek
d94f3c4155
Stop using std::pair and std::map. Switch over to u64 and std::unordered_map. Provides a very small speed boost.
2013-01-28 15:18:54 -06:00
NeoBrainX
9f1582843d
PixelShaderManager: Reduce number of redundant shader constant updates
2013-01-28 22:15:23 +01:00
NeoBrainX
0fdeb81038
Add some code for generating a shader constant usage profile.
2013-01-28 22:15:23 +01:00
NeoBrainX
700cce9588
More work on making new pixel shader uids work
2013-01-28 22:10:07 +01:00
NeoBrainX
67be1e939a
PixelShaderGen: Some more work...
2013-01-28 21:59:49 +01:00
NeoBrainX
8902c6e38b
Some cleanups, add more fields to pixel shader uid.
2013-01-28 21:56:27 +01:00
NeoBrainX
b519d37128
Move new lighting shader uids to LightingShaderGen.h
2013-01-28 21:52:03 +01:00
NeoBrainX
dc0f470215
Added new shader cache uids for pixel shader gen.
2013-01-28 21:44:39 +01:00
NeoBrainX
3c8df842bb
Moved some of the new shader uid stuff to a common header file.
2013-01-28 21:05:29 +01:00
NeoBrainX
ca0e292dd4
Replace the shader uid system with a new one which quasi-automatically generates uids for shaders.
...
Currently used in the vertex shader only (had to fork lighting shaders for now).
2013-01-28 21:05:29 +01:00
degasus
c5fa3e0f3d
move RestoreAPIState and ResetAPIState into backends
...
it's a backend specific hack, so it should be here
should give a small speedup in dx11 efb2tex
2013-01-28 18:16:03 +01:00
degasus
fd06342a97
set hint GL_STREAM_READ
...
it's wrong, but so we are guaranteed to get pinned memory.
it's slower for rendering, but faster for mapping.
2013-01-28 13:03:31 +01:00
Ryan Houdek
4fadb65259
Only check shader compilation status in debug or with DEBUG_GLSL defined. invalidate range on bindbufferrange since we don't care about what is in the range. Both give a performance boost for me.
2013-01-26 11:24:24 -06:00
degasus
3a52b37c3b
only create shaders after shadercaches are initialized
2013-01-26 16:33:54 +01:00
Lioncash
efe8c75424
Duplicate condition fix.
...
Thanks j4ck.fr0st
2013-01-25 21:30:29 -05:00
Rachel Bryk
1e006b5b99
Better implementation of revision 2cc1a97a66
. Works with .gcz files now.
2013-01-25 21:28:04 -05:00
Glenn Rice
f660077d06
Remove deprecated method for accessing a gtk widgets window.
...
Fix a debug build compiler warning.
2013-01-25 20:11:17 -06:00
degasus
13e9bb56f8
fix bug when rasterfont disappears sometimes
2013-01-25 20:39:19 +01:00
Pierre Bourdon
bad4f7f790
Rewrite the linear interpolation SRC to give the exact same results as the one in AXWii
2013-01-25 19:16:07 +01:00
Rachel Bryk
74a5ad542b
Do not automatically refresh the game list for games that have "Emulation issues" written in their gameini after we open/close the iso properties.
...
Fixes issue 5932.
2013-01-25 13:00:53 -05:00
degasus
41b1128fdd
orphan vbo also with glBufferData
2013-01-25 13:28:05 +01:00
degasus
a526fc5f92
ubo streaming
2013-01-25 13:20:42 +01:00
skidau
1b6240f7f9
Changed cmdidle to be idle on breakpoint.
...
Added low watermark interrupts generated by the gather pipe.
Fixes Gladius from not booting.
Fixes issue 5518.
2013-01-25 20:04:31 +11:00
Rachel Bryk
2cc1a97a66
Properly sort multi-disc games by title.
2013-01-25 03:08:28 -05:00
Pierre Bourdon
9776f135e2
Add polyphase resampling support in AX
2013-01-25 08:25:28 +01:00
Ryan Houdek
10418d449f
Removed the need for this temporary variable.
2013-01-24 10:53:37 -06:00
Ryan Houdek
52ead25534
Cleans up EGL. Removes printf output with INFO_LOG and ERROR_LOG
2013-01-24 10:39:38 -06:00
Ryan Houdek
73eb98ed8e
Move swap control to the host specific GLInterface files.
2013-01-24 10:31:08 -06:00
degasus
e0ffdda26e
Merge branch 'immediate-removal' into GLSL-master
...
Conflicts:
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
Source/Plugins/Plugin_VideoSoftware/Src/SWRenderer.cpp
immediate-removal is a new created branch seperated from master but reverted the revert of immediate-removal
so we get less conflicts by merging
2013-01-24 16:58:28 +01:00
degasus
d60cc373d1
Revert "Revert 30dd9c2
e9d00bf
db5f4c8
and bff0fae"
...
This reverts commit d0301ca89d
.
Conflicts:
.gitignore
2013-01-24 16:11:07 +01:00
lioncash
2db0c4270e
Fix a potential memory leak on non-windows systems.
...
Also added a FIXME to BPStructs.cpp and BPMemLoader.cpp
2013-01-24 08:21:08 -05:00
degasus
f69b6b595e
change projection_type to u32
...
Fix issue 5740
thx @ erwan_taf for debuging all the week
2013-01-24 13:10:13 +01:00
Lioncash
fe7e691d77
Revert "mem_fun -> mem_fn."
...
This reverts commit b7d32b0a3d
.
OSX C++ std library in charge of holding back progress (as usual).
2013-01-23 23:38:49 -05:00
Lioncash
b7d32b0a3d
mem_fun -> mem_fn.
...
mem_fun is deprecated in C++11. Also it does everything mem_fun can do, but more conveniently.
2013-01-23 23:29:50 -05:00
skidau
cff8fe8f77
Revert the fix for the random static audio that would sometimes occur in DSP HLE and DSP LLE. The fix caused the music in Fast - Racing League to play random sounds.
...
This reverts commit r7bf72a6c8476798ecbb9cdb13ec3a8f0b9858da6.
Fixes issue 5910.
2013-01-22 21:17:29 +11:00
degasus
d5748ebaef
fix small dx9 slowdown
2013-01-22 10:49:46 +01:00
degasus
6afc30240a
partial revert of 8a6f747408
...
texture_rect isn't in core 3.0, so the long texture function must be used
2013-01-22 00:18:42 +01:00
Sonicadvance1
0ba1794df3
Fix AGL.cpp
2013-01-21 21:48:02 +00:00
degasus
da0ec6618f
always init ogl configs
2013-01-21 18:44:33 +01:00
degasus
cf11f0ea72
clear uniform cache on startup
2013-01-21 15:43:04 +01:00
Pierre Bourdon
1612225e79
Implement AXWii command 01: ADD_TO_LR
2013-01-21 11:51:55 +01:00
degasus
ebaaf6d468
glShadeModel is also obsolete
2013-01-21 10:37:16 +01:00
Lioncash
2bae4345c5
Revert "Ctrl+A support in the action replay code editing menu."
...
Guess it wasnt much of a solution as I'd hoped. (considering it seems to work on linux without this).
This reverts commit 0c1ea605d5
.
2013-01-21 00:11:53 -05:00
Lioncash
0c1ea605d5
Ctrl+A support in the action replay code editing menu.
...
Makes adding/editing codes less of a pain in the ass. You don't need to manually highlight everything anymore.
2013-01-20 23:24:56 -05:00
Rachel Bryk
45a7fa293b
Set the default memory card path as relative too.
2013-01-20 19:16:02 -05:00
Rachel Bryk
83237a36e0
Save memory card paths relative to exe directory.
2013-01-20 18:47:59 -05:00
Pierre Bourdon
4ef021e975
Better global volume adjustment on a voice. Fixes one of the 2 issues with the HOME button menu sound.
2013-01-20 17:36:57 +01:00
Pierre Bourdon
7252becf24
Fix the voice LPF implementation
2013-01-20 17:20:30 +01:00
Pierre Bourdon
c662901504
Implement low-pass voice filtering, untested because I couldn't find any game using it
2013-01-20 16:15:42 +01:00
Pierre Bourdon
25419ed827
Implement Wiimote sound mixing in AXWii
2013-01-20 15:32:55 +01:00
Pierre Bourdon
35249a8576
Handle 3ms at a time in AXWii instead of 3x1ms
2013-01-20 14:42:37 +01:00
Pierre Bourdon
fb64cfd18a
AXWii: fix L/R channels being swapped when outputting audio samples
2013-01-20 07:36:48 +01:00
Pierre Bourdon
5c3bcc8f5f
Revert "Readd the old AXWii (rename the new version to NewAXWii) and set it as default"
...
Put back the new AX Wii as the default in this development branch.
2013-01-20 07:08:15 +01:00
skidau
4cc4abfe25
Preset the HBeam and VBeam to 0 on boot. Fixes Densha de Go Shinkansen EX.
...
Fixes issue 4882.
2013-01-20 16:11:15 +11:00
skidau
0a5f479250
Added a game property to disable the clearing of the data cache. This is needed by one known game, "Rubik's Puzzle Galaxy: Rush".
...
Fixes Violin Paradise.
2013-01-20 13:09:38 +11:00
Jordan Woyak
6ec95d30af
Allow emulated wiimote to be tilted 180 degrees in each direction. (was 90)
...
Fixes issue 3492.
2013-01-19 19:20:04 -06:00
Rachel Bryk
7f8341825b
Remove lttc for lle on thread too.
2013-01-19 17:17:28 -05:00
NeoBrainX
6c0f6ffecf
Fix a dumb regression from revision 4925a28f94
.
2013-01-19 22:40:20 +01:00
NeoBrainX
37af25e03d
Revert my dual-core fix for FifoPlayer. Apparently it breaks more than it fixes.
...
This reverts commit bab9b5d3ce
.
2013-01-19 22:36:05 +01:00
Rachel Bryk
01d393ed6c
Actually remove lttc.
2013-01-19 15:21:00 -05:00
Rachel Bryk
d6cee44be0
Typo fix.
2013-01-19 15:08:29 -05:00
Rachel Bryk
ed1a9480b0
Misc movie fixes.
...
Fix setting memory cards on playback.
Fix saving revision to header.
Herpa derp lets open a file while it's still open in another function, and not even check if it fails to load.
Fix an assumption that wii games are using a wiimote.
2013-01-19 15:02:02 -05:00
Pierre Bourdon
905d38827e
Implement 8 bit loads backpatching
2013-01-19 16:52:13 +01:00
Pierre Bourdon
c553c42d63
Implement backpatch support for 16 bit loads
2013-01-19 16:33:52 +01:00
degasus
8a6f747408
glsl: remove usage of old texture2D* function
2013-01-19 11:07:06 +01:00
Ryan Houdek
621204f3e8
Fix switching from the different rasterizers
2013-01-19 02:18:39 -06:00
Ryan Houdek
ff9ba67773
Remove the dependency on rectangle textures in the software rasterizer. Also make it the be used by default in the software renderer like it was before.
2013-01-19 00:51:14 -06:00
Lioncash
c4bd6329c0
Fully fix that clear bug in aldlist.cpp. Seems I missed part. Corrected it.
2013-01-18 23:42:37 -05:00
degasus
d73c950623
cache texture bindings
2013-01-19 01:06:34 +01:00
degasus
e7d5b274c0
add stage parameter for texture load, so ogl can bind to the correct sampler
2013-01-19 00:47:48 +01:00
degasus
074f73c641
move utils texture to sampler 8+9
...
rasterfont tex will aways bound to samp8.
efb copy utils will be done in samp9.
2013-01-19 00:39:31 +01:00
degasus
6401a18143
remove texture sampler from uniform list
2013-01-19 00:12:02 +01:00
Jordan Woyak
5ff77f9c88
Fix emulated turntable crossfade slider. (DJ Hero controller)
...
Fixes issue 4504.
2013-01-18 13:42:44 -06:00
degasus
2c010f530e
report glsl shader warings as errors
2013-01-18 12:49:48 +01:00
Grant Paul
2f28d938cf
Add support for the mouse cursor and mouse clicking events on OS X.
2013-01-17 23:32:07 -08:00
Jordan Woyak
69b1da915f
Fix emulated wiimote shaking in Wario Land: Shake It, and probably others.
...
Fixes issue 5295. (probably issue 5017 and issue 5578 too)
2013-01-18 00:15:42 -06:00
Jordan Woyak
d05d10d2a1
Improve "Enable Hotkeys" description.
...
Fixes issue 4607.
2013-01-17 19:54:29 -06:00
Jordan Woyak
ba1a31248b
Fix typo.
2013-01-17 19:42:56 -06:00
Jordan Woyak
2180c93347
Mention middle mouse button in "Free Look" description.
...
Fixes issue 5581.
2013-01-17 19:38:01 -06:00
degasus
714ff50fdf
set blending if dual source might be triggered
2013-01-18 00:44:35 +01:00
Jordan Woyak
f97d2a93c4
Add "full analog surface" support in DInput,OSX,SDL backends. (should not be needed for XInput)
2013-01-17 15:41:18 -06:00
Jordan Woyak
38b01d176a
Start to make possible use of "full analog surface". (useful for triggers on some silly physical gamepads)
2013-01-17 15:40:44 -06:00
Rachel Bryk
69c91a20ea
Merge branch 'gameinistuff'
2013-01-17 15:22:38 -05:00
Rachel Bryk
592395bc67
Copypaste fail.
2013-01-17 14:30:47 -05:00
degasus
a87fd89fce
disable ogl shader cache
...
it doesn't check the shader itself only the id of the shaders.
So there are cache mismatch atm
2013-01-17 12:36:20 +01:00
degasus
3054d36534
use glBindFragDataLocation instead of glDrawBuffer
2013-01-17 11:16:12 +01:00
Jordan Woyak
cae8bb33c3
Fix initial theme selection.
2013-01-17 01:24:02 -06:00
Jordan Woyak
4dad8ddd83
Actually use the screenshot icon.
2013-01-16 22:12:51 -06:00
Rachel Bryk
e74dc0b41f
Update title/status bar when pausing emulation.
2013-01-16 22:52:01 -05:00
Lioncash
12162a269b
Change GetCmdForHotkey to use a switch. Cuts down on if-statement spam.
...
Also fixed a typo in ConfigMain.
2013-01-16 22:23:42 -05:00
Jordan Woyak
178b1b3862
Fix theme loading on non-Windows.
2013-01-16 20:27:35 -06:00
Rachel Bryk
196c2867ad
Move DSP settings to dolphin.ini
2013-01-16 20:17:44 -05:00
Jordan Woyak
3cb4300439
Merge branch 'external-theme'
2013-01-16 19:00:19 -06:00
Jordan Woyak
f7729b9a69
Remove some unused resource files.
2013-01-16 17:09:09 -06:00
Jordan Woyak
246b11791b
More attempts at a Windows buildfix.
2013-01-16 16:14:23 -06:00
lioncash
0ef3bd9c77
Revert "Made several variables/parameters unsigned in the DX9, DX11 and OGL plugins. They make more sense like this (given their names)."
...
Turns out I was wrong in my previous commit. My bad.
This reverts commit 8743166663
.
2013-01-16 15:46:11 -05:00
degasus
b778b86e26
improve texture mipmap count
...
GL_TEXTURE_MAX_LEVEL set how many mipmaps should be allocated, but all of them must be created.
GL_TEXTURE_MAX_LOD set how many mipmaps may be used.
2013-01-16 21:15:07 +01:00
degasus
8a7f1e9264
workaround for older ati drivers
2013-01-16 19:37:57 +01:00
lioncash
8743166663
Made several variables/parameters unsigned in the DX9, DX11 and OGL plugins. They make more sense like this (given their names).
...
This also gets rid of some more typecasts in some cases.
2013-01-16 09:42:51 -05:00
degasus
b401131af2
small texcache cleanup
2013-01-16 15:12:39 +01:00
skidau
7e5d877858
Merge branch 'ES_LAUNCH'
...
Games that are now playable:
Back to the Future: The Game
CSI - Hard Evidence
CSI - Deadly Intent
CSI - Fatal Conspiracy
Red Steel
Metroid Prime: Trilogy
Wii Sports + Wii Sports Resort pack
Sam & Max: Season One
Sam & Max: Beyond Time and Space
Kirby's Dream Collection: Classic Collection
Indiana Jones and the Staff of Kings: Fate of Atlantis
* ES_LAUNCH:
Fixed SSBB from starting at the mini-games screen.
Build fix
Corrected a state bug where newly loaded dols did not have their patches applied.
Changed the HLE system to allow it to hook the beginning, the end or replace the entire function without changing the GC memory. Fixes Kirby's Return to Dreamland. Added a way to categorise the type of HLE function. Currently, there are debug, floating point, memory and generic functions. Added a HLE function for OSGetResetCode (Warm reset). Fixes the CSI games. Added a switch to disable all of the HLE functions if the idle skipping option is disabled.
Added some IOS version checks and code to clear memory before loading the dol.
Added support for Reset (from menu). Fixes Sam & Max.
Added an IOS check as games which use IOS older than IOS30 do not need to be HLE'd. Added some stubs for Reset to Menu and SSBB's load from disc partition. Fixed loading Fate of Atlantis from the Indiana Jones and the Staff of Kings game.
Added argument detection and passing to the loaded dol. This fixes the Wii Sports+Wii Sports Resort bundle pack.
Added preliminary support for ES_LAUNCH (Wii Multi-boot games) by using HLE to hijack the OSBootDol function.
Conflicts:
Source/Core/DiscIO/Src/FileSystemGCWii.cpp
2013-01-16 20:22:29 +11:00
Jordan Woyak
54974cbc8e
Merge branch 'unix-fastmem'
2013-01-15 23:19:03 -06:00
Jordan Woyak
62f56eb731
Sloppily fix wiimotes not being connected after boot.
2013-01-15 23:05:30 -06:00
Jordan Woyak
54497be653
Untested Windows buildfix attempt.
2013-01-15 23:02:09 -06:00
Jordan Woyak
b2acae44b7
Real wiimote continuous scanning working on Linux.
...
Windows and OS X totally broken from various refactoring.
2013-01-15 21:15:54 -06:00
lioncash
ddf23094c2
Fix two unsigned/signed mismatch warnings.
2013-01-15 21:15:31 -05:00
Jordan Woyak
6612763a9a
Change audio latency setting to a wxSpinCtrl, fixes layout problem on linux.
2013-01-15 20:04:11 -06:00
degasus
681272d65d
use renderbuf fo xfb
2013-01-16 01:37:00 +01:00
lioncash
7d11f8cedd
- Made GenRandomCode's 'size' parameter unsigned. Doesn't make sense to have the capability of being able to be negative.
...
- Made CodesToHeader's 'numCodes' unsigned for the same reason.
- Removed some type-casts from other functions.
2013-01-15 17:50:50 -05:00
degasus
bb200acdd8
also don't search in the shader cache if the shader isn't changed
2013-01-15 23:42:24 +01:00
Jordan Woyak
d9aecd80b1
Real fix for Linux Wiimote disconnect hanging.
...
Fixes issue 5903.
2013-01-15 15:20:33 -06:00
lioncash
1cf7cbb936
Fix a clear bug in aldlist.cpp.
...
Properly clears itself now.
2013-01-15 12:47:13 -05:00
lioncash
866cdc5961
Get rid of unused iterators in JitCache.
2013-01-15 12:00:35 -05:00
Ryan Houdek
9165ac5a67
Fix clipPos not being declared in DX backends.
2013-01-15 10:48:01 -06:00
degasus
687d74e6c2
only change shader if needed
2013-01-15 14:22:40 +01:00
skidau
7402a89e6e
OSX build fix
2013-01-16 00:14:31 +11:00
skidau
a9388ce2e2
Added backwards compatibility with old OpenAL drivers.
2013-01-16 00:10:49 +11:00
Glenn Rice
e75a7b4572
Fix a gcc initialization order warning.
2013-01-15 06:41:11 -06:00
skidau
799b032b98
Readd the OpenAL option.
...
The OpenAL backend requires OpenAL Soft to be installed: http://kcat.strangesoft.net/openal.html
You may need to rename soft_oal.dll to OpenAL32.dll in the Dolphin folder.
Windows users may also need to update their OpenAL drivers by downloading them from
http://connect.creativelabs.com/openal/Downloads/oalinst.zip
2013-01-15 23:14:11 +11:00
skidau
0a4272c96b
Merge branch 'OpenAL'
...
* OpenAL:
Changed SoundTouch to use float samples, allowing SSE to be used. Made the DPL2 decoder disabled by default. Re-added the audio hack used by the Accurate VBeam emulation option.
Added a latency setting to the audio settings. Removed the Sample Rate setting. It is now hardcoded to 48000hz (accurate audio timing).
Skipped timestretching if the emulator is running below 10% speed to prevent buffer overflows.
Removed the synchronisation between the CPU thread and the audio thread. Added code to detect and resume from buffer underruns. Disabled the ability to change the DPL2 option after the game has started. Fixed a memory leak that occurred in the DPL2 decoder. Fixed the OSX build.
Build fix
Added a Dolby Pro Logic II (DPL2) decoder in the OpenAL backend. DPL2 audio is decoded to 5.1. Code adapted from ffdshow. Added an option in the DSP settings to disable the DPL2 decoder in case Dolphin incorrectly detects a 5.1 audio system. Updated the OpenAL files to OpenAL Soft 1.15.1 in the Windows build.
Removed the system timing hack which was activated when the Accurate VBeam option was enabled.
Fixed the include directories in Audio Common for the Windows 32bit build.
Fixed the include directories in Audio Common for the Windows build.
Messed up the static include line
Fix include paths and compiling in Linux. Externals soundtouch is 1.7.1, while Ubuntu 12.10 is 1.6.x. Externals soundtouch is compiled with integer samples, while ubuntu is compiled with float samples. Float samples is probably the more common route. If you're going to use soundtouch, you should probably use SAMPLETYPE instead of explicitly choosing short. This probably breaks the windows build since its includes aren't setup.
OSX: typedef signed char BOOL
OSX build fix
Build fix
Added audio time stretching by using the SoundTouch library.
Implemented correct audio timing.
OpenAL for Windows initial commit
2013-01-15 22:40:12 +11:00
skidau
6d4a566bc4
Changed SoundTouch to use float samples, allowing SSE to be used.
...
Made the DPL2 decoder disabled by default.
Re-added the audio hack used by the Accurate VBeam emulation option.
2013-01-15 22:29:26 +11:00
degasus
85200db6a2
Revert "fix byte order in osd rasterfont"
...
This reverts commit db5f4c8c20
.
Conflicts:
Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp
2013-01-15 12:25:06 +01:00
Matthew Parlane
86ee5600dc
Fix bug: reuse after free.
...
static should not have been used here.
2013-01-15 22:27:49 +13:00
Jordan Woyak
6f17342b50
Improve an error message.
2013-01-14 20:40:16 -06:00
Jordan Woyak
b8e66a48a1
Fix hang on Linux Dolphin close when wiimotes are connected.
2013-01-14 17:55:23 -06:00
Jordan Woyak
032013c4bc
Make IsValidBluetoothName just check for "Nintendo RVL-" rather than having a bunch of hardcoded names.
2013-01-14 17:49:49 -06:00
degasus
1cfb5a21fa
only use rgba for opengl
2013-01-14 23:43:51 +01:00
degasus
ff889c0e65
use attrib pointers in nativeVertexFormat
2013-01-14 22:59:08 +01:00
lioncash
8cf3ea3eea
GetTextureBGRA()'s 'width' and 'height' parameters should be unsigned.
2013-01-14 16:29:52 -05:00
Ryan Houdek
5005d528c4
This changes Linux to control Wiimotes on the interrupt channel. Which in turn allows -TR wiimotes to work in Linux.
2013-01-14 14:43:49 -06:00
degasus
2f78986e2c
Merge branch 'Graphic_Update' into GLSL-master
...
Conflicts:
Source/Core/VideoCommon/Src/VertexManagerBase.cpp
Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
2013-01-14 21:36:31 +01:00
Ryan Houdek
30d4259bba
This removes the Lock Thread to Core option. Please file your complaints appropriately.
2013-01-14 14:20:41 -06:00
degasus
ff5ac8c505
fix win compiler errors
2013-01-14 20:08:53 +01:00
degasus
5fe3def64c
videoConfig cleanup
2013-01-14 20:00:33 +01:00
degasus
4c2dd093a3
fix d3d error
2013-01-14 19:17:07 +01:00
degasus
adeac6f4a5
remove old deprecated calls and fixed functions parameters
2013-01-14 17:48:38 +01:00
degasus
c3aafc77b3
upload complete uniform buffer at once
...
this is the way of dx11. it would upload more per draw, but uses less calls.
will be faster if many uniforms are changed, but slower else
2013-01-14 13:58:11 +01:00
degasus
b18c0a5d1b
remove ubo for efb2ram
2013-01-14 12:37:31 +01:00
Lioncash
4ea4f2eb45
'width' and 'height' parameters of wxBitmapFromMemoryRGBA should be unsigned.
...
Not a big deal, but it's good to do it for the sake of maintaining practicalities.
2013-01-13 23:42:18 -05:00
Jordan Woyak
020ab743a9
re-enable PulseAudio backend
2013-01-13 22:22:06 -06:00
Jordan Woyak
13469f2db4
Merge branch 'pulseaudio-simple'
2013-01-13 21:36:26 -06:00
Lioncash
47792b02a5
Fix a small text overlapping issue in the MemcardManager.
2013-01-13 22:28:36 -05:00
Jordan Woyak
644c8f2713
Enhance an error message.
...
Fix issue 5893.
2013-01-13 17:52:32 -06:00
Jordan Woyak
c00339449a
buildfix
2013-01-13 16:27:02 -06:00
Jordan Woyak
3510454a94
Hopeful Windows buildfix (this better not break OS X)
2013-01-13 16:13:38 -06:00
Jordan Woyak
d3f8e8e8f3
remove some now-unused resource files
2013-01-13 15:51:44 -06:00
Jordan Woyak
c6e8239fd9
theme selection working now
2013-01-13 15:39:53 -06:00
Jordan Woyak
a9ff3709e4
Attempt to make file searching stuff less crappy on Linux.
...
Supports a * search now.
2013-01-13 15:32:26 -06:00
Jordan Woyak
6f7b11b9be
themes directory stuffs
2013-01-13 14:12:19 -06:00
Jordan Woyak
0c95673478
Kill themes in the config and load pngs from "theme" directory for now.
2013-01-13 13:12:50 -06:00
Jordan Woyak
6b3a3ff054
Kill theme selection from GUI.
2013-01-13 13:12:50 -06:00
Jordan Woyak
6b8dc6802b
Fix two warnings.
2013-01-13 12:57:17 -06:00
Jordan Woyak
70427b3f35
Replace all of Connect/Disconnect with Bind/Unbind.
2013-01-13 12:45:33 -06:00
Jordan Woyak
60a73bcd77
Replace a bunch of Connect calls with Bind.
2013-01-13 11:46:30 -06:00
Jordan Woyak
5dbc3b3219
replace this->Bind with Bind
2013-01-13 03:33:11 -06:00
Jordan Woyak
6e5c26a3d4
kill _connect_macro_ ugliness in BreakpointWindow.
2013-01-13 03:12:29 -06:00
Jordan Woyak
eca93c4c19
Eliminate nearly all the _connect_macro_ ugliness by using wxw's newish Bind functions.
...
Unlike Connect, Bind is quite type-safe.
I also seem to have fixed some errors in the input config dialog.
2013-01-13 03:06:56 -06:00
Pierre Bourdon
eb5e7d44bd
Enable fastmem (aka. backpatch) support on Linux amd64 and OSX x64. Not tested on OSX, 8% performance increase on Linux amd64
2013-01-13 07:00:56 +01:00
Rachel Bryk
429324a773
Real fix for memcard manager.
2013-01-12 21:18:42 -05:00
Rachel Bryk
6f391a2df0
Set focus on memcard manager after losing it.
2013-01-12 20:47:02 -05:00
degasus
f3d663c2f4
efb2tex without ubo
2013-01-12 16:29:16 +01:00
NeoBrainX
f7b0c8684b
BPMemory: Expose more register descriptions for FifoPlayer
2013-01-12 15:25:50 +01:00
skidau
1c462a1eca
Added a latency setting to the audio settings.
...
Removed the Sample Rate setting. It is now hardcoded to 48000hz (accurate audio timing).
Fixes issue 5672.
2013-01-13 00:05:30 +11:00
Glenn Rice
2cd415dd83
Fix the signed/unsigned comparison warnings created by a recent commit.
2013-01-11 22:00:36 -06:00
Lioncash
dcc216a027
'count' parameter for AddStereoSamples and AddStereoSamplesBE in WaveFile should be unsigned. Doesn't make sense to have them signed.
2013-01-11 22:22:55 -05:00
Lioncash
dfc0c4b08d
Fix two signed/unsigned mismatch warnings.
...
Also tidied up SDCardUtil - made the variables make more sense (typewise)
2013-01-11 19:38:04 -05:00
Rachel Bryk
104f5a4699
Set focus on game list after stopping emulation.
2013-01-11 17:53:34 -05:00
Jordan Woyak
f405663576
Merge branch 'flat-flags'
...
Fixes issue 5837.
2013-01-11 15:17:25 -06:00
Jordan Woyak
346922e39e
Update game cache revision, for "germany" games that were once "europe".
2013-01-11 15:16:56 -06:00
degasus
2838077313
fix warnings
2013-01-11 21:24:59 +01:00
Jordan Woyak
35dce209ae
Gave the "platform" icons a complete white background rather than a slightly-uglier white box.
...
(apparently XPM only supports a 1-bit alpha channel)
Centered the icons a bit better too.
2013-01-11 14:12:56 -06:00
Jordan Woyak
cb71158df4
Be consistent with uppercase letters.
2013-01-11 13:47:19 -06:00
Rachel Bryk
482360906b
Convert relative paths to absolute when opening containing folder of an iso.
...
Fixes issue 5879.
2013-01-11 11:24:52 -05:00
NeoBrainX
ad05d568b9
PixelShaderGen: Change error strings to be unique so that we can identify unexpected behavior more easily.
2013-01-11 15:49:20 +01:00
degasus
8651b34e22
also add vertex shader for efb2tex
...
goodbye fixed-function shaders
2013-01-11 15:41:42 +01:00
degasus
7c01c2bf11
move efb2ram shaders to textureCache
2013-01-11 15:24:43 +01:00
skidau
73140c7da7
Skipped timestretching if the emulator is running below 10% speed to prevent buffer overflows.
2013-01-11 23:06:20 +11:00
degasus
60b8e4fb1c
vertex shader for texture converter
2013-01-11 11:59:42 +01:00
skidau
3632ce6df5
Removed the synchronisation between the CPU thread and the audio thread.
...
Added code to detect and resume from buffer underruns.
Disabled the ability to change the DPL2 option after the game has started.
Fixed a memory leak that occurred in the DPL2 decoder.
Fixed the OSX build.
2013-01-11 19:42:03 +11:00
skidau
ed5a68a504
Build fix
2013-01-11 14:20:22 +11:00
skidau
80f4475e76
Added a Dolby Pro Logic II (DPL2) decoder in the OpenAL backend. DPL2 audio is decoded to 5.1. Code adapted from ffdshow.
...
Added an option in the DSP settings to disable the DPL2 decoder in case Dolphin incorrectly detects a 5.1 audio system.
Updated the OpenAL files to OpenAL Soft 1.15.1 in the Windows build.
Fixes issue 3023.
2013-01-11 14:03:09 +11:00
Lioncash
f21f097e7a
Redundant line of code in VertexShaderManager::Dirty()
...
Also cleaned it up.
2013-01-10 21:44:12 -05:00
Jordan Woyak
7fdfd1ef65
Make all flags 2 pixels taller.
...
Aspect-ratio is now correct for nearly all flags.
2013-01-10 19:20:47 -06:00
Jordan Woyak
34a8273801
we don't need PNGs of the flags
2013-01-10 19:11:03 -06:00
Jordan Woyak
561b09457c
Fix warnings.
...
Forgot to add Sdk flags.
2013-01-10 19:01:58 -06:00
Jordan Woyak
a167bccb03
Apparently the order here was important, cached somewhere I guess.
2013-01-10 18:59:15 -06:00
Jordan Woyak
6a13ae280d
Updated flag images to not have ugly gradient.
...
All images stolen from wikipedia.
Added "SDK" flag to separate it from "Unknown" flag.
2013-01-10 18:55:53 -06:00
Jordan Woyak
58cbfdcbd3
Merge branch 'german-flag' into flat-flags
2013-01-10 18:21:59 -06:00
Jordan Woyak
51a1d4cde7
Revert "Very tiny cleanup of ChunkFile.h."
...
int/size_t change without updating the rev# caused crash on Dolphin start
This reverts commit cf942450e0
.
2013-01-10 17:41:12 -06:00
Jordan Woyak
240ea0f116
Merge branch 'linux-wiimote-crash-fix'
2013-01-10 16:55:03 -06:00
lioncash
cf942450e0
Very tiny cleanup of ChunkFile.h.
...
Also changed the size parameter from DoVoid to size_t. As far as I know, that should never be negative.
Also changed the the count parameter of DoArray to size_t, this also should never be negative.
Got rid of some typecasts.
2013-01-10 17:38:38 -05:00
Jordan Woyak
a693b847f0
buildfix!
2013-01-10 16:29:16 -06:00
Jordan Woyak
cc0226254d
Windows/OS X buildfix
2013-01-10 16:23:47 -06:00
Jordan Woyak
1c10d3a1bb
better fix for linux wiimote disconnect crash
2013-01-10 16:16:49 -06:00
Jordan Woyak
e1c8bea2f6
fix crash, but now 100% cpu usage on disconnect
2013-01-10 15:23:42 -06:00
Rachel Bryk
d6b53af115
Automatically set focus on game list window.
...
Fixes issue 5880.
2013-01-10 14:29:48 -05:00
Jordan Woyak
202c005e61
Remove commented code. No longer supporting setting volume with PulseAudio.
2013-01-10 13:01:22 -06:00
Rachel Bryk
ab24149b1b
Retain scroll position after refreshing game list.
...
Fixes issue 5878.
2013-01-10 13:35:56 -05:00
Pierre Bourdon
2c1c538fda
Disable the OpenAL and Pulseaudio audio backends
...
They are currently broken and cause sound issues which are not present in other
backends:
* OpenAL plays music 2x too fast in Zelda UCode games with HLE
* Pulse backend uses a lot of CPU power and slows down emulation significantly
Both backends are currently being re-implemented in separate branches of
Dolphin, so this should be a temporary removal.
2013-01-10 18:43:15 +01:00
NeoBrainX
198d60c569
FifoPlayer: Support recording texture preloads
2013-01-10 18:30:27 +01:00
NeoBrainX
e7c883d6be
VideoCommon: Implement proper RGBA8 texture loading from tmem.
2013-01-10 18:30:22 +01:00
NeoBrainX
304814e7cc
Video_Software: Implement proper RGBA8 texture loading from tmem.
...
For RGBA8 textures, AR and GB tiles are stored in separate tmem banks. TextureDecoder did not support that previously.
2013-01-10 18:30:16 +01:00
skidau
7bf72a6c84
Fixed the random static audio that would sometimes occur in DSP HLE and DSP LLE.
2013-01-11 01:03:18 +11:00
Rachel Bryk
3ebe0718b8
Change theme selection to wxChoice.
2013-01-10 00:22:28 -05:00
Jordan Woyak
14b8d3f107
Add support for german region flag. Still need to change image. (currently using a copy of europe flag)
2013-01-09 22:53:04 -06:00
Rachel Bryk
f1489a4e18
Merge branch 'controller-profiles'
2013-01-09 22:33:51 -05:00
Jordan Woyak
a8a71fdd8c
Resize the KDE theme's "Open" icon from 24x24px to 22x22px to match the rest of the icons.
2013-01-09 20:57:10 -06:00
Rachel Bryk
b9fc26540e
Change key names, and put it in section Controls.
2013-01-09 21:56:17 -05:00
Jordan Woyak
0de8fbecfa
Don't hardcode left-shift to disabe keyboard input on linux.
...
Left-shift can be used for gamepad input now.
Fixes issue 4968.
2013-01-09 20:26:11 -06:00
Jordan Woyak
6598462aba
Display error messages when failing to compress/decompress games.
...
Fixes issue 4681.
2013-01-09 20:02:46 -06:00
Rachel Bryk
fad2468e30
Make sure profile actually exists.
2013-01-09 20:41:14 -05:00
Jordan Woyak
5c371549d3
fix cmake hacks
2013-01-09 18:39:28 -06:00
Jordan Woyak
488a679ca7
use pulseaudio "simple" api
2013-01-09 17:45:16 -06:00
skidau
c7ccf7e5c6
Removed the system timing hack which was activated when the Accurate VBeam option was enabled.
2013-01-10 09:11:37 +11:00
skidau
ad28986d51
Fixed the include directories in Audio Common for the Windows 32bit build.
2013-01-10 07:55:13 +11:00
skidau
d34c847edd
Fixed the include directories in Audio Common for the Windows build.
2013-01-10 07:43:59 +11:00
Rachel Bryk
e32b1526b3
Allow setting different profiles for different controllers, and automatically use the appropriate profile directory.
2013-01-09 15:04:37 -05:00
degasus
092a99cbd2
glsl shaders for showEfbCopyRegions
2013-01-09 20:08:55 +01:00
Ryan Houdek
01f4d9f386
Fix include paths and compiling in Linux. Externals soundtouch is 1.7.1, while Ubuntu 12.10 is 1.6.x. Externals soundtouch is compiled with integer samples, while ubuntu is compiled with float samples. Float samples is probably the more common route. If you're going to use soundtouch, you should probably use SAMPLETYPE instead of explicitly choosing short. This probably breaks the windows build since its includes aren't setup.
2013-01-09 10:26:12 -06:00
skidau
8494a439c7
OSX build fix
2013-01-10 00:06:35 +11:00
skidau
91fe5cc821
Build fix
...
Added SoundTouch as a dependency of AudioCommon.
Removed the "soundtouch_config.h" include on Linux and OSX.
2013-01-09 23:45:13 +11:00
skidau
63b38be97c
Added audio time stretching by using the SoundTouch library.
2013-01-09 22:57:32 +11:00
degasus
bff02b3b73
Merge branch 'arb_framebuffer' into GLSL-master
...
Conflicts:
Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp
Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp
2013-01-09 11:00:26 +01:00
Jordan Woyak
32855a289c
Actually export 0-sized files.
...
Fixes issue 5177.
2013-01-09 01:31:40 -06:00
Lioncash
d9ea718559
Fix an issue where an iterator would become invalidated in TextureCache::ClearRenderTargets()
2013-01-08 23:46:30 -05:00
degasus
84debc17d5
fix msaa
...
blitting between msaa fbos may not scale. So we need to resolve the efb before swapping.
2013-01-09 01:50:52 +01:00
Rachel Bryk
b8691df723
Allow loading controller profiles from game ini.
...
Currently loads the same profile for all 4 controllers, and overwrites the default control settings.
2013-01-08 19:15:11 -05:00
Jordan Woyak
4f4aa4860d
Fix a currently unused unique_lock function. Thanks to Lioncash.
2013-01-08 16:50:09 -06:00
Jordan Woyak
baa29f571c
Fix incorrect iterator usage in BreakPoints::Clear
2013-01-08 15:02:50 -06:00
Jordan Woyak
b4717ca802
Merge branch 'master' of https://code.google.com/p/dolphin-emu
2013-01-08 14:44:56 -06:00
Jordan Woyak
00d303eead
clean up FifoPlayerDlg::OnBeginSearch a bit
2013-01-08 14:43:58 -06:00
Matthew Parlane
2844708c2d
Fix reference to deleted object bug. This should fix channels not loading from sysmenu anymore.
2013-01-09 09:38:36 +13:00
NeoBrainX
815fd197d3
Fix a potential memleak in FifoPlayerDlg
2013-01-08 21:27:04 +01:00
NeoBrainX
e204a6e015
Add some TODOs.
2013-01-08 18:56:01 +01:00
NeoBrainX
d3882771aa
Fix an assert that had been wrong for ages, apparently.
2013-01-08 18:56:01 +01:00
NeoBrainX
4925a28f94
PixelShaderGen: Shader uid maintainance
2013-01-08 18:56:01 +01:00
NeoBrainX
be706a3977
Disable color writing when alpha test always fails.
2013-01-08 18:56:01 +01:00
NeoBrainX
d26bcb0847
Move alpha pretest to BPMemory.h and rename a bunch of alpha testing related stuff
2013-01-08 18:56:01 +01:00
NeoBrainX
c80f6e8b84
Reword a comment about early_ztest a bit.
2013-01-08 18:55:45 +01:00
NeoBrainX
b06f30f845
Remove the per pixel depth option.
...
Depth calculations are always done in the pixel shader now.
Due to the unpredictability of our zcomploc hacks this commit probably changes the behavior of some games which use zcomploc.
2013-01-08 18:16:48 +01:00
NeoBrainX
876eee5e60
PixelShaderGen: Don't disable depth texture emulation if z writing is disabled (this is what VideoSoftware is doing).
2013-01-08 18:16:48 +01:00
NeoBrainX
e979b2d4a2
DX11: Fix a small mistake.
...
Remove some incorrect and/or confusing comments.
Fixes issue 5251. Thanks to limburgerite :)
2013-01-08 18:16:48 +01:00
NeoBrainX
09197e0ffc
X11: Disable OSD hotkeys when the corresponding option is disabled.
2013-01-08 18:16:47 +01:00
Ryan Houdek
446d9279b1
Fix clearing of render targets. We were skipping every other one.
2013-01-08 11:14:53 -06:00
Glenn Rice
1d44d3baf5
Merge branch 'linux-desktop-file'
2013-01-07 17:07:23 -06:00
Glenn Rice
6bd8474d05
Change the application name to "Dolphin Emulator" (from "Dolphin-emu").
2013-01-07 17:05:51 -06:00
Pierre Bourdon
8cfceb1186
Disable swapping cmp with instructions potentially raising interrupts
...
Workaround for issue 5864 disabling parts of an optimization in the JIT. This
is not the best solution to fix this issue, but at least it does not crash.
2013-01-08 00:02:38 +01:00
Glenn Rice
bb7c262539
Add a linux .desktop file to add dolphin-emu to the menu, and install it
...
when running 'make install'.
2013-01-07 16:50:48 -06:00
Ryan Houdek
d0301ca89d
Revert 30dd9c2
e9d00bf
db5f4c8
and bff0fae
2013-01-07 13:47:34 -06:00
degasus
b7906b49c9
fix byte order in osd rasterfont
2013-01-07 20:11:26 +01:00
skidau
c8c78e0aa9
Implemented correct audio timing.
...
Fixes issue 5493.
2013-01-07 15:37:08 +11:00
skidau
5240e75be2
Fixed the infinite rumble problem caused by r4d6056f14625.
2013-01-07 12:25:18 +11:00
skidau
6df1dacca8
OpenAL for Windows initial commit
2013-01-07 12:16:04 +11:00
Jordan Woyak
7a95713496
Fix some warnings. Changes suggested by nerzhultheking.
2013-01-05 22:45:32 -06:00
skidau
1d691d7de4
Fixed SSBB from starting at the mini-games screen.
2013-01-06 14:36:38 +11:00
skidau
c61b0c7fba
Build fix
2013-01-05 12:56:35 +11:00
skidau
1c9c6052d5
Corrected a state bug where newly loaded dols did not have their patches applied.
2013-01-05 12:32:47 +11:00
skidau
4d6056f146
Added GC Steering Wheel emulation.
...
To set it up, change the Port 1 controller to "Steering Wheel" under the GameCube tab. This will tell the game that you have a force feedback steering wheel connected.
In the Gamecube Pad Settings, change the Rumble Motor to "Constant".
Configure the controls:
Main Stick Left/Right = Steer Left/Right
Main Stick Up = Accelerate
Main Stick Down = Brake
Thanks to ulao for the device communications info.
2013-01-04 14:08:09 +11:00
Glenn Rice
9b51c99c6b
Make sure the null character is not included in the string.
2013-01-03 19:49:19 -06:00
Glenn Rice
12a606501c
Fix the name and description truncation issue in a cleaner way.
2013-01-03 19:21:20 -06:00
Rachel Bryk
4f531fe122
Remove unused progressive scan option from iso properties, and disable audio settings while a game is running.
2013-01-03 16:43:58 -05:00
degasus
ef32231431
fix screenshots
2013-01-03 21:40:54 +01:00
degasus
fc02427d54
xfb draw by blit - disable postprocessing
...
blitting can't do postprocessing - so for postprocessing, we have to add a new stage
2013-01-03 20:44:47 +01:00
degasus
b67b1c376d
fix virtual xfb - remove glCopyTexImage2D
...
glCopyTexImage2D isn't in core (and so not supported everywhere) and it cannot store into GL_TEXTURE_RECTANGLE
2013-01-03 18:36:19 +01:00
Glenn Rice
3da05af30a
Fix truncated names and descriptions in the game list on linux.
2013-01-03 10:35:07 -06:00
degasus
363ffd3a5f
swap() by blitting
2013-01-03 12:33:18 +01:00
degasus
ecedf56eb4
uses the ARB_framebuffer_object syntax
...
also require this extention (OGL3.0), but it have one _realy_ big advantage:
- now it's possible to blit between different texture sizes, so all util draw calls can be implemented as blit
2013-01-03 12:06:47 +01:00
degasus
a1ca288555
fix some AMD issues
...
This is only a hack. The correct solution would be:
1. don't use GL_TEXTURE_RECT ever. GL_TEXTURE_2D should also be faster
2. use GL_TEXTURE8+ for util textures
3. both
2013-01-03 09:45:12 +01:00
degasus
b38b62afc6
remove glsl binding support. convert every shader to version 130
2013-01-02 16:56:08 +01:00
Rachel Bryk
91023e133b
Move widescreen hack to enhancements tab.
2013-01-02 01:21:20 -05:00
Rachel Bryk
5fbce28bbc
Save git hash to .dtm header.
2013-01-01 16:34:07 -05:00
skidau
3fd1b4ee83
Removed some debug testing code.
2013-01-01 15:13:18 +11:00
Rachel Bryk
9af711b12c
Always count GC wheel inputs too.
2012-12-31 21:57:39 -05:00
skidau
51603f0522
* Implemented working pedal support.
...
* Changed the mapping of the steering wheel to:
Main Stick Left/Right = Steer Left/Right
Main Stick Up = Accelerate
Main Stick Down = Brake
* Fixed non-force feedback controllers that were not detected
2013-01-01 13:49:22 +11:00
Matthew Parlane
c728ef2cd3
Last warning for me on Linux.
2013-01-01 14:42:30 +13:00
Matthew Parlane
4c374cd58a
Improve file search speeds by deleting an unused file.
2012-12-31 15:27:36 +13:00
degasus
c2898748ac
bind locations _before_ link program, fix dest alpha
2012-12-31 02:34:27 +01:00
Pierre Bourdon
bcf1f54c65
Optimized the Dolphin SEO process a bit
2012-12-31 02:31:55 +01:00
rog
71bb297f2c
Always count gc controller inputs.
2012-12-30 06:48:37 -05:00
Ryan Houdek
64afbade33
Fix 4 warnings on OSX
2012-12-30 04:32:37 -06:00
Ryan Houdek
ff3b22e1ff
Clear up some warnings that crop up from -Wextra
2012-12-30 03:28:50 -06:00
Ryan Houdek
e5d5365bac
Fix the last few warnings in Dolphin on my system.
2012-12-30 02:34:14 -06:00
Ryan Houdek
49ed752126
This line in SWRenderer has been wrong ever since the beginning.
2012-12-30 02:12:31 -06:00
Ryan Houdek
b4f30e549e
Missed a precision qualifier in a HWRasterizer shader.
2012-12-29 21:50:07 -06:00
Matthew Parlane
539bf405f2
In memory of calc84.
...
http://dolphin-emu.org
2012-12-30 16:31:38 +13:00
skidau
5ccbcf455e
Added preliminary GameCube Steering Wheel emulation via a PC Force Feedback Steering Wheel.
2012-12-30 13:41:48 +11:00
degasus
30dd9c2e17
always calls glBindBuffer(0) after disabling vao
2012-12-29 12:50:42 +01:00
Matthew Parlane
cd54d6efdd
Mismatched new/delete.
2012-12-29 22:26:09 +13:00
rog
670ca7e993
Toggle wiimote status based on the actual status, instead of some dumb checkbox that is almost never even right.
...
The checkbox is still wrong when starting emulation, but it's now purely cosmetic.
Actually fixes issue 5594.
2012-12-29 02:48:20 -05:00
degasus
e9d00bfeeb
revert RasterFont optimization
...
isn't needed and also not tested and buggy
2012-12-29 00:37:50 +01:00
Ryan Houdek
ba6564b0b5
Missed a write to depth before discard in PreAlphaTest
2012-12-28 14:48:04 -06:00
Ryan Houdek
9e76a457ff
Beautify the generate pixel shader code
2012-12-28 14:18:39 -06:00
Ryan Houdek
76fc1fe95a
This discard was missing in the alpha pretest area.
2012-12-28 12:18:34 -06:00
Ryan Houdek
3eeebcae45
Another small bit of cleanup as I'm reading it
2012-12-28 12:05:43 -06:00
Ryan Houdek
a25a00640e
Very small cleanup in PixelShaderGen
2012-12-28 11:49:21 -06:00
rog
3ec3b7683e
Fix (dis)connecting wiimotes via hotkey.
...
Fixes issue 5594.
2012-12-28 11:21:08 -05:00
degasus
d9f3fc4495
fix ubo for intel cards (also amd?)
2012-12-28 17:06:08 +01:00
Glenn Rice
c303669dd0
Clean up some messy code issues that have been annoying me.
2012-12-28 09:58:06 -06:00
degasus
48ede4dd30
switch to glsl 130, more than OpenGL 3.1 isn't needed
2012-12-28 16:05:14 +01:00
degasus
70c63ce6cf
fix dual pass alpha
2012-12-28 14:24:12 +01:00
degasus
82b33471ae
cleanup rasterfont
2012-12-28 11:46:00 +01:00
rog
af2820ac88
Don't show multiple exit confirmation dialogues.
...
Pause emulation while waiting for confirmation to exit.
Fixes issue 5822.
2012-12-28 03:39:34 -05:00
Ryan Houdek
225d29f3f6
Fix this annoying warning in ChunkFile.h
2012-12-27 23:43:59 -06:00
Ryan Houdek
7d93834cd8
Bit more cleanup from removing Nvidia CG
2012-12-27 22:53:07 -06:00
skidau
95f6685900
Changed the HLE system to allow it to hook the beginning, the end or replace the entire function without changing the GC memory. Fixes Kirby's Return to Dreamland.
...
Added a way to categorise the type of HLE function. Currently, there are debug, floating point, memory and generic functions.
Added a HLE function for OSGetResetCode (Warm reset). Fixes the CSI games.
Added a switch to disable all of the HLE functions if the idle skipping option is disabled.
2012-12-28 14:26:46 +11:00
degasus
d7f43c7a68
remove cg from windows project files
2012-12-28 01:08:29 +01:00
degasus
193056493a
also use shaderCaches in rasterFont
2012-12-28 00:52:44 +01:00
rog
2fd1c9e7c2
Allow setting cpu engine and whatever bHLE_BS2 is from game ini.
2012-12-27 09:42:20 -05:00
degasus
316a33d1e6
Merge branch 'master' into GLSL-master
...
Conflicts:
Source/Core/DolphinWX/Src/VideoConfigDiag.h
Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp
2012-12-27 10:36:54 +01:00
rog
94116bf89c
Always use the right user dir on windows.
2012-12-26 19:55:45 -05:00
degasus
db5f4c8c20
fix byte order in osd rasterfont
2012-12-26 23:48:33 +01:00
Ryan Houdek
01cdcc83a3
Merge Fail: Make sure we are using the interface file to get backbuffer dimensions. GL helper function was duplicated.
2012-12-26 13:15:19 -06:00
Ryan Houdek
67c1c6b062
Merge branch 'GLES-software'
2012-12-26 12:54:58 -06:00
Ryan Houdek
5169804a61
Remove duplicated X11 code.
2012-12-26 12:12:26 -06:00
Ryan Houdek
93f72d8463
Don't add superfluous whitespace to the CMake file
2012-12-26 11:07:33 -06:00
Ryan Houdek
2d4c3c7c91
Beautify some tabs.
2012-12-26 10:33:45 -06:00
skidau
05730af724
Added some IOS version checks and code to clear memory before loading the dol.
2012-12-26 23:10:41 +11:00
skidau
0c845728cc
Added support for Reset (from menu). Fixes Sam & Max.
2012-12-26 23:10:40 +11:00
skidau
88e273fac1
Added an IOS check as games which use IOS older than IOS30 do not need to be HLE'd. Added some stubs for Reset to Menu and SSBB's load from disc partition. Fixed loading Fate of Atlantis from the Indiana Jones and the Staff of Kings game.
2012-12-26 23:06:43 +11:00
skidau
651cedaac4
Added argument detection and passing to the loaded dol. This fixes the Wii Sports+Wii Sports Resort bundle pack.
2012-12-26 23:06:43 +11:00
skidau
fbdf9ba153
Added preliminary support for ES_LAUNCH (Wii Multi-boot games) by using HLE to hijack the OSBootDol function.
...
Metroid Prime Trilogy is working. Wii Sports+Wii Sports Resort is not working. Any games which can be played using the dol replacement trick should work here.
Suspect that the DOL's are meant to receive an argument list which has not been catered for in this code. This probably also means that the Metroid Prime Trilogy games are locked in Veteran difficulty for the time-being.
2012-12-26 23:06:42 +11:00
Ryan Houdek
e2489196e4
Got overzealous. We aren't removing CG quite yet with this branch.
2012-12-26 00:41:25 -06:00
Ryan Houdek
9a58f9a3bb
Rename another function...
2012-12-26 00:34:09 -06:00
Ryan Houdek
c43a0dac2e
Add to more than 32bit debug
2012-12-26 00:25:49 -06:00
Ryan Houdek
fa9abfdc42
Add a include directory
2012-12-26 00:22:17 -06:00
Ryan Houdek
a35c5a7f22
Add a include directory
2012-12-26 00:20:09 -06:00
Ryan Houdek
f4e7a280a9
Remove cg.lib from some files for Windows and renaming a function.
2012-12-26 00:07:43 -06:00
Ryan Houdek
e9099459bb
Maybe fix Windows compiling.
2012-12-25 22:52:30 -06:00
Glenn Rice
0de073edea
When using the "Keep window on top option" make sure that the effect of
...
that option ends when emulation ends when using render to main.
2012-12-25 21:12:51 -06:00
Ryan Houdek
c884dbf654
Mistype in WX.cpp
2012-12-25 19:18:03 -06:00
Ryan Houdek
01953ff64a
Rename the interface files and hopefully fix OSX building.
2012-12-25 19:08:24 -06:00
Pierre Bourdon
b3ed3bdb91
Define NvOptimusEnablement to tell the Nvidia driver we need high performance
2012-12-25 13:51:13 +01:00
Pierre Bourdon
ba348c29d7
Merge branch 'new-ax-hle'
...
Only AX GC is merged so far, the new Wii AX development will be done in a
separate branch when I'll start working on it.
There are still a few AX GC bugs remaining, but overall a lot less games have
sound issues than before.
Thanks to everyone who helped test the development builds of this branch and
reported results on the forum thread.
Conflicts:
Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.cpp
2012-12-25 13:33:53 +01:00
Pierre Bourdon
4a74da3e87
Readd the old AXWii (rename the new version to NewAXWii) and set it as default
2012-12-25 13:30:55 +01:00
degasus
bff0faea2d
Merge branch 'immediate-removal'
...
Conflicts:
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
2012-12-25 12:39:00 +01:00
rog
b3714f4874
Don't show compress iso option for wbfs and ciso files.
...
Fixes issue 5809.
2012-12-25 06:31:31 -05:00
degasus
399a6af66d
revert update the rasterfont shader to GLSL3.3 - OGL 2.0 should be enough
2012-12-25 12:22:02 +01:00
NeoBrainX
4798524b75
Dolphin 3.5 release.
2012-12-24 21:29:24 +01:00
NeoBrainX
e3e14af0dd
Revert "VertexShaderGen: Fix a shader compilation error.". I'm an idiot :p
...
This reverts commit 4d868705fd
.
2012-12-24 21:29:24 +01:00
Pierre Bourdon
2c58385fe2
Revert "Uninitialized usage.. or so it thought."
...
This reverts commit 7839676c87
.
Parlane, I hate you.
2012-12-24 21:23:28 +01:00
NeoBrainX
4d868705fd
VertexShaderGen: Fix a shader compilation error.
2012-12-24 19:50:16 +01:00
NeoBrainX
5a78351033
TextureCacheBase: Fix a potential bug when using custom textures.
2012-12-24 19:50:16 +01:00
NeoBrainX
249afa5eac
Change copyright year to 2013 in the about dialog.
2012-12-24 19:50:16 +01:00
NeoBrainX
2fedab3bad
OGL: Make OSD messages fade out properly instead of having them disappear spontaneously.
2012-12-24 19:50:16 +01:00
rog
2dd570c880
Should completely fix game list sorting.
2012-12-24 13:29:19 -05:00
Ryan Houdek
53398ca5d8
Remove GLSL option from video options
2012-12-24 12:22:02 -06:00
rog
da5e61b45b
Fix another sorting bug.
2012-12-24 13:04:57 -05:00
rog
14a31d9b3a
Fix sorting bug.
2012-12-24 12:48:14 -05:00
Ryan Houdek
9209253e0d
Initial removal of Nvidia CG. Still some more cleanup to go
2012-12-24 11:09:52 -06:00
Ryan Houdek
09b05c0f6c
Add header guards to InterfaceBase.h
2012-12-24 09:46:37 -06:00
Ryan Houdek
296b9b1c16
Small bit of clean up in GLES-software.
2012-12-24 09:37:12 -06:00
degasus
78ff8a769c
Merge branch 'osx-savegame-fix'
2012-12-24 13:30:59 +01:00
Matthew Parlane
eedca57270
Revert "support retina display"
...
This reverts commit 3aa9901618
.
2012-12-24 08:01:44 +13:00
Matthew Parlane
59ec1fe180
Fix some random warnings.
2012-12-24 07:37:50 +13:00
degasus
bd0abb3d2f
revert last commit, add CheckInvalidState to VideoBackend
2012-12-23 13:32:23 +01:00
Matthew Parlane
f865450b5a
Changed to non conflicting overload.
2012-12-24 00:00:45 +13:00
Matthew Parlane
a8ddc3e069
Function definition was not updated.
2012-12-24 00:00:25 +13:00
Matthew Parlane
7839676c87
Uninitialized usage.. or so it thought.
2012-12-24 00:00:04 +13:00
Matthew Parlane
4dbd2ed7fb
Unused variable.
2012-12-23 23:59:44 +13:00
Matthew Parlane
589222857f
Someone changed this to a u32... it's definitely a s32 :)
2012-12-23 23:59:10 +13:00
Grant Paul
3aa9901618
support retina display
2012-12-23 21:33:52 +13:00
Matthew Parlane
e3eebdf591
Fixes swprintf_s issues hopefully.
...
Also fixed an include not using correct caps.
According to:
http://connect.microsoft.com/VisualStudio/feedback/details/646532
2012-12-23 20:25:11 +13:00
Matthew Parlane
089434b719
Apply same force to float fix as has already been done for DX11.
2012-12-23 20:01:58 +13:00
Matthew Parlane
3a2c0b778a
Fixed stupid bool to int conversion warnings.
2012-12-23 19:53:15 +13:00
Matthew Parlane
1c01fd9c9d
Remove warning about ambigious if/else.
2012-12-23 19:24:30 +13:00
rog
d66dd970cd
Implement select audio backend CLI option.
...
Fixes issue 4920.
2012-12-22 18:25:52 -05:00
degasus
ffddfd8662
do only invalid hashes instead of all textures on loading
...
this is a hack, but only the gpu thread is allowed to call ogl commands
suggestion: create an unused texture cache, so we can move all textures there
2012-12-22 17:30:13 +01:00
degasus
2df0c31d13
add invalid flag for BPStructs (fix issue 5790)
...
this flag will be set on loading a state and checked before every rendering.
2012-12-21 21:04:53 +01:00
degasus
cf8f936abb
fix efb2ram decoder
2012-12-19 23:43:05 +01:00
degasus
85ac76e8e2
fix gcc compilation
2012-12-19 23:42:22 +01:00
Pierre Bourdon
b0cbac174b
Implemented dpop samples support
2012-12-19 08:31:17 +01:00
Ryan Houdek
2db4549174
Fix a memory leak based on Lioncash's patches.
2012-12-18 23:35:28 -06:00
Pierre Bourdon
071b27f0bb
Fix volume mixing in DownloadAndMixWithVolume (same issue with >1.0 volumes)
2012-12-19 05:56:57 +01:00
rog
16ac7803f1
Add support for recording bongos.
2012-12-18 23:20:26 -05:00
Pierre Bourdon
2c10ca4e46
Rewrite the linear sample rate conversion algorithm to make it less hacky and to support arbitrarly big ratios
2012-12-18 17:38:41 +01:00
Glenn Rice
1bd42b7acc
Merge branch 'rehash-msw-cursor-hide'
2012-12-18 08:07:47 -06:00
Pierre Bourdon
1cecbaedce
Fix MixAdd with volume. The previous volume formula completely failed with volumes >= 1.0 (0x8000). Fixes Tomb Raider Legends (GC) music.
2012-12-18 07:01:22 +01:00
Pierre Bourdon
faaaa97c9e
Added a utility function to dump an AX PB for debugging
2012-12-18 07:00:24 +01:00
Pierre Bourdon
1abbfd4b15
Remove some useless 'inline' attributes from the AX HLE voice mixing functions
2012-12-18 07:00:04 +01:00
Pierre Bourdon
70b3980f46
Fix AX HLE command 12 arguments: takes 4 u16, not 1
2012-12-18 06:58:47 +01:00
Pierre Bourdon
ed59f8ff1d
Remove UCode_AX_ADPCM.h, now useless (incorporated into UCode_AX_Voice.h)
2012-12-18 05:55:40 +01:00
Ryan Houdek
f6ef6fa0d9
I had the wrong header for Windows in GLVideoInterface.h
2012-12-17 16:23:02 -06:00
Ryan Houdek
f2004b2474
Blindly add WGL.cpp file to the Windows project file. Just for Neo
2012-12-17 16:19:55 -06:00
Ryan Houdek
512cae69f8
Add a useful comment to DSP.cpp
2012-12-17 15:55:34 -06:00
Ryan Houdek
6099148541
Blind coding fail
2012-12-17 15:33:19 -06:00
Ryan Houdek
8082323c44
Should hopefully fix OSX
2012-12-17 15:29:38 -06:00
Ryan Houdek
3cb5dffbc9
Missed the video interface files.
2012-12-17 15:01:52 -06:00
Ryan Houdek
b78f5debe6
Initial push of GLES and GLUtil file breakup.
2012-12-17 14:54:20 -06:00
NeoBrainX
0811311604
TextureCacheBase: Delete textures completely instead of just invalidating them in ClearRenderTargets.
...
That's what would've been done in the next TCB::Load() call, anyway.
Fixes issue 5742.
Additionally, change efb copies to specify 1 as the number of mipmaps because that makes more sense than anything else.
2012-12-17 19:36:31 +01:00
Glenn Rice
98ed34d50b
Use wxNullCursor to put the cursor back to its default instead of
...
explicitly setting the cursor to the arrow.
2012-12-17 11:32:10 -06:00
Glenn Rice
f1cc5c2ff9
Define the icon for "dolphin". The IDI_ICON1 seems to be preempted by the wx resource. This one does not.
2012-12-17 08:33:42 -06:00
rog
4c7b63cf0e
Save secondary list sorting.
...
Allow sorting by platform ascending.
Fixes issue 5774.
2012-12-17 06:08:45 -05:00
Glenn Rice
0a918782cf
Reorder the inclusions to hopefully fix the icon issue.
2012-12-17 00:11:59 -06:00
Glenn Rice
ff7041804c
Make sure that the wxWidgets manifest does not override the dolphin one.
2012-12-16 23:55:22 -06:00
Glenn Rice
832a5a0b26
Add the resource include in only one place for all builds.
2012-12-16 23:39:05 -06:00
Glenn Rice
d34fb84734
Add the resource inclusion to the other builds.
2012-12-16 23:21:11 -06:00
Glenn Rice
a581c75a37
Make the resource include path relative.
2012-12-16 22:52:29 -06:00
Glenn Rice
d1a812231e
Rework the way that windows mouse cursor hiding is done to use the built
...
in wxWidgets methods.
2012-12-16 21:32:14 -06:00
LPFaint99
351979795c
revert changes to banner background color
2012-12-16 15:29:25 -08:00
degasus
1919a458e8
only use one buffer, orphaning should do the rest
2012-12-15 17:28:58 +01:00
degasus
ba8264c2ac
use VAO in VertexManager
...
to use VAO, we must use VBO, so some legency code was removed:
- ARB_map_buffer_range must be available (OGL 3.0), don't call glBufferSubData if not
- ARB_draw_elements_base_vertex also (OGL 3.2), else we have to set the pointers every time
- USE_JIT was removed, it was broken and it isn't needed any more
And the index and vertex buffers are now synchronized, so that there will be one VAO per
NativeVertexFormat and Buffer.
2012-12-15 14:43:01 +01:00
Ryan Houdek
8838944cd3
Revert "Use the global ::wxSetCursor instead of the local one from our panel object. Should close 3956."
...
This reverts commit 884006e4c8
.
2012-12-15 00:04:10 -06:00
Ryan Houdek
884006e4c8
Use the global ::wxSetCursor instead of the local one from our panel object. Should close 3956.
2012-12-14 15:19:22 -06:00
Ryan Houdek
88b890824b
(CoreAudio) Retain volume value until initialization. Makes volume slider work when game isn't running. Fixes issue 5383.
2012-12-14 12:15:01 -06:00
Ryan Houdek
3b559d89ec
If the HOME environment variable isn't set, fall back on to PWD. Closes 5584.
2012-12-14 11:47:12 -06:00
Ryan Houdek
532fdada96
Adds the Wii Korean settings file. It was handled in the wii-network branch in rev c42a6f156e
. Master handles the settings files differently. Until wii-network merges in to master, this closes issue 5642.
2012-12-14 11:37:26 -06:00
degasus
79a7ce4827
move glBindBuffer and glBindVertexArray out of VertexManager
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:52 -06:00
degasus
09274e2483
Check texture params before updateing them
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:48 -06:00
degasus
61836f8c51
helper for compiling glsl
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:44 -06:00
degasus
48812f7bf7
update the rasterfont shader to GLSL3.3 - so OGL 3.3 is needed
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:39 -06:00
degasus
1bd21f44b2
custom shader for RasterFont, fix color support
...
OpenGL2.0 compatible
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:36 -06:00
degasus
23a3336f9a
increase hash size to u64
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:32 -06:00
degasus
75dd48247f
initial release of new RasterFont without color support
...
this new design will once create a texture for all chars.
while rendering a string, a list of polygons (position on screen + texture)
for this string is generated on the fly and print at once by glDrawArrays.
atm, there is no support for colors, so everything will display white.
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:28 -06:00
degasus
c207422987
using of vao, warning: ARB_vertex_array_object is needed
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:25 -06:00
degasus
5c8800968a
also check for vbo updates in EncodeToRamUsingShader
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:22 -06:00
degasus
1f1b32b663
only update vbo on changes in XFBSource::Draw
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:19 -06:00
degasus
34b1451fbe
cache vbos in TextureCache::TCacheEntry::FromRenderTarget
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:15 -06:00
degasus
d0c4332d99
don't update vbo, if there are no changes in Renderer::Swap
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:13 -06:00
degasus
bbcb442983
in the end, also Renderer::Swap in vbo
...
two last draw-calls are missing:
VertexManager::Draw (see Graphic_Update branch)
RasterFont::printString (perhaps reimplement with an texture)
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:10 -06:00
degasus
b41c06a9ac
EncodeToRamUsingShader in vbo
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:28:05 -06:00
degasus
8ea2ddbc50
XFBSource::Draw in vbo
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:27:59 -06:00
degasus
d44228f1b7
TextureCache::TCacheEntry::FromRenderTarget as vbo
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:27:56 -06:00
degasus
6b3125728b
use vbo for ShowEFBCopyRegions
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:27:53 -06:00
degasus
8b62be2025
fix ShowEFBCopyRegions
...
those fancy colors were the result of the usage of non-allocated heap
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:27:49 -06:00
degasus
6864b40e26
reset glEnableClientState befor every draw
...
should be done with VAO, but atm, this is not possible :-(
this also partial revert the fix in fb92c338af
(activating texture0 globally).
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:27:46 -06:00
degasus
888b5fb061
remove usage of glMultiTexCoord2f
...
Signed-off-by: Ryan Houdek <Sonicadvance1@gmail.com>
2012-12-13 15:27:38 -06:00
Glenn Rice
a6374f25fd
Fix OSX build once again. Apparently OSX needs to get with the times.
2012-12-10 10:31:08 -06:00
NeoBrainX
c82136abdc
PixelShaderGen: Drop some useless and potentially buggy code.
...
Thanks to glennrics for noticing.
2012-12-10 16:13:22 +01:00
Glenn Rice
f6df3d1513
OSX build fix for the unordered_map/hash_map issue.
2012-12-10 08:40:27 -06:00
rog
330ea74d19
Allow input displays to work without an active movie.
2012-12-10 06:20:06 -05:00
Glenn Rice
e85438cba0
Clean up gcc/g++ compiler warnings that have accumulated.
2012-12-10 00:40:28 -06:00
rog
43d673b576
Save game list sorting.
...
Fixes issue 5771.
2012-12-08 23:53:50 -05:00
NeoBrainX
4fc0125fb3
Fix OS X 10.6 compatibility.
...
Patch by mathieudel.
2012-12-07 19:49:08 +01:00
rog
30718230b2
Fix some warnings.
2012-12-06 20:25:07 -05:00
skidau
aeb5782395
Merge conflict. Fixes issue 5471.
2012-12-06 21:16:27 +11:00
rog
bbf7c3a4d0
Fix a save state crash in some situation.
2012-12-05 17:11:19 -05:00
Ryan Houdek
423024110e
Includes are case sensitive and Common is in the include directories so including the file this way was silly.
2012-12-04 11:44:28 -06:00
John Peterson
470a4eee8b
Fixing wiimote savestate and recording.
2012-12-03 21:14:25 -05:00
John Peterson
983d5d1f73
Making cheats manager resizeable, maximizable, hideable (parentless), higher by default.
2012-12-03 20:58:25 -05:00
rog
47aaca89eb
Fix error message about state undo backup always appearing when no movie is active.
2012-12-02 02:08:43 -05:00
NeoBrainX
bed260aa14
VertexShaderManager: Fix redundant shader constant updates.
...
Thanks to konpie for spotting this.
Might give a fairly perceivable speedup in the D3D11 backend.
2012-12-01 14:23:24 +01:00
Pierre Bourdon
3ca77cf077
Fix samples clamping and interlacing in the OUTPUT command. Shouldn't have assumed previous AX HLE was doing something right.
2012-12-01 00:54:25 +01:00
Pierre Bourdon
04b1ee0016
Implemented command 01 (download data and mix to MAIN/AUXA/AUXB with volume control). Fixes missing weapon sounds in Metroid Prime 2.
2012-11-28 15:22:02 +01:00
Pierre Bourdon
4cf2856284
Improve savestates support in AX and AXWii
2012-11-28 03:31:46 +01:00
Pierre Bourdon
f11a40f858
Command 13 should upload only AUXA LRS, not MAIN LRS + AUXA LRS. Fixes more GC EA games sound/music (including FIFA 06, Madden 08).
2012-11-28 01:48:27 +01:00
Pierre Bourdon
1a129abe0d
AUX return data should be mixed to main buffers, not AUX buffers. Fixes a regression introduced by r954c55e35afb, now EA games sound works again.
2012-11-27 21:48:59 +01:00
Pierre Bourdon
9270b62830
Rewrite MixAUXSamples to make it more clean
2012-11-27 20:36:34 +01:00
Pierre Bourdon
2120f536d5
Implement command 07 in GC AX (download data to main LR and reset main surround)
2012-11-27 20:36:14 +01:00
rog
aaeeef48da
Compile fix for linux.
2012-11-26 23:36:47 -05:00
rog
c0bb7aa8f3
Turns out you have to actually commit a change before merging if you want it to be included.
2012-11-26 18:17:07 -05:00
Pierre Bourdon
9b1a66245e
Fix an AUX mixing issue introduced when implementing AXWii. Now FIFA 06 sounds great with AX HLE.
2012-11-27 00:03:40 +01:00
Pierre Bourdon
706939e632
Implement command 10, used by FIFA 06 and linked to AUXB mixing. Sound still broken in that game.
2012-11-27 00:03:02 +01:00
Pierre Bourdon
fb1ecd90b0
Implemented command 13 in GC AX, used in some EA games (FIFA 06 now has broken sound, which is still better than no sound)
2012-11-26 23:34:18 +01:00
rog
db458a234a
Merge branch 'desync-fixes' into movie-fixes
2012-11-26 12:40:56 -05:00
rog
38e0d06e8c
Whoops, was calling GetMD5() twice.
2012-11-26 12:29:36 -05:00
rog
3d9712a99e
Remove more unused code.
2012-11-26 03:48:04 -05:00
rog
c2146921f9
Call InputUpdate() for wii games when using gc controller but not wiimote.
2012-11-26 03:04:17 -05:00
rog
97f5b1665f
what is this even...
2012-11-26 02:11:52 -05:00
rog
0903e20817
Expand input buffer as needed, instead of hardcoding it at 40 MiB.
...
Patch (mostly) by Ilari.
2012-11-25 22:41:48 -05:00