Jordan Woyak
5c374b2718
Update iso file cache version.
2013-04-09 13:04:23 -05:00
Jordan Woyak
98d35e590e
Fixed split WBFS file size display. (probably)
...
Fixed issue 6222.
2013-04-09 12:58:56 -05:00
Jordan Woyak
018282c2b9
Track the real wiimote rumble state to drop outgoing rumble reports with no effect.
...
This eliminates constant streams of reports in various games that constantly send audio reports. (Just Dance 2, DKCR, etc.)
(Speaker data reports are converted to rumble reports when speaker data is disabled.)
2013-04-08 18:50:42 -05:00
degasus
b0108631f6
use templates for primitive restart
2013-04-08 19:39:43 +02:00
degasus
4dca133745
small cleanups
2013-04-08 17:58:23 +02:00
degasus
80b56ddd17
convert triangle_fan to triangle_strip
2013-04-08 17:22:16 +02:00
degasus
702198f39b
Merge branch 'master' into primitive_restart
...
Conflicts:
Source/Core/VideoCommon/Src/VideoConfig.h
Source/Plugins/Plugin_VideoDX9/Src/main.cpp
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
2013-04-08 15:57:51 +02:00
degasus
4c40e70b8a
ogl: support glsl120
2013-04-08 14:50:58 +02:00
Rachel Bryk
deece78e19
Seriously, someone kill me.
2013-04-08 03:11:45 -04:00
Rachel Bryk
48f3e962d6
Kill me now.
...
Fixes issue 6227.
2013-04-08 03:05:12 -04:00
Lioncash
3ed0a96367
Remove an extraneous comment indicator from DebuggerPanel.cpp in DolphinWX.
...
Was asked to remove it, so... yeah.
2013-04-08 01:47:51 -04:00
Lioncash
1db10b139c
Remove all tab/space mismatches from the DolphinWX project (at least 99%. I promise!)
...
Also fix up the dangling else's. Shit just looks incredibly ugly in terms of actual structure in the code.
I took the liberty of adding comments in FifoPlayerDlg.cpp, LogConfigWindow.cpp, LogWindow.cpp, and FrameAui.cpp to better explain some things.
If any comments are wrong, don't hesitate to complain.
2013-04-08 01:16:50 -04:00
NeoBrainX
5b2d9a7d9f
Rename the "Disable Dest. Alpha Pass" option to "Disable Destination Alpha" (GUI-only).
2013-04-07 21:41:25 +00:00
Lioncash
195336021f
Fix a few typos in the comments/logging in VideoDX9, VideoCommon, and VideoSoftware projects.
...
See Render.cpp, PixelShaderGen.cpp, and PixelShaderManager.cpp for most of the changes.
See VertexShaderManager.cpp for a logging typo fix.
See SWRenderer.cpp for a small typo fix for a message that gets swprintf'd in DrawDebugText.
See SWVertexLoader.cpp for a typo fix of an assert message.
Should slightly improve the readability of some of those files.
2013-04-07 17:11:29 -04:00
Jordan Woyak
42e97e462c
Look for wiimotes when "Continuous Scanning" is enabled even if a device using the MS stack is not found.
...
Fixed issue 6215.
2013-04-07 14:21:20 -05:00
Pierre Bourdon
0ca7ea6c3f
D3D11: Fix glitched polygon edges when MSAA is enabled (this time without breaking OpenGL)
2013-04-07 20:58:48 +02:00
John Chadwick
8ce0d43717
Allow enabling memory card writes for netplay clients, instead of just the server.
2013-04-07 13:04:44 -04:00
John Chadwick
c7abf7e8d2
Allow disabling memory card writes in netplay.
...
Fixes issue 6217.
2013-04-07 12:18:07 -04:00
skidau
b76c7cf4f3
Bumped up the LLE period to 12600 as it seemed to be a bit more stable.
2013-04-07 21:44:44 +10:00
skidau
52053f5d95
Forced an exception check after an interrupt is generated by the DSP. Changed the timing back to 3ms/5ms periods, fixing the slowdown and garbled AX audio.
...
Fixed Accurate VBeam emulation when DSP HLE audio is being used.
2013-04-07 16:27:46 +10:00
Jordan Woyak
53368823cb
Merge branch 'real-wiimote-minor-fixes'
2013-04-06 16:57:55 -05:00
skidau
8a2109691a
Quick fix to get Zelda: Wind Waker booting again.
2013-04-07 07:18:28 +10:00
skidau
ecb4337209
Made the timing consistent between DSP HLE and DSP LLE. Fixes Lost Kingdoms II in DSP HLE mode.
2013-04-06 20:26:43 +11:00
Rachel Bryk
4d81e0739d
Use an enum for efb scale values.
2013-04-06 01:49:13 -04:00
Jordan Woyak
c32e2f33ac
Fix IORead return off-by-one error in Windows real wiimote code.
2013-04-05 21:45:35 -05:00
Jordan Woyak
3c8477df03
Real Wiimotes: Invalidate last data report when any non-data input reports comes in.
2013-04-05 21:10:36 -05:00
skidau
518e7a7635
Adjusted the ARAM DMA transfer size again. Fixes the audio in the Sonic Mega Collection games.
2013-04-06 11:52:00 +11:00
Rachel Bryk
ee163d1e49
Someone take my commit rights away.
2013-04-05 17:26:56 -04:00
Rachel Bryk
6a5a522bba
Hastily committing untested code without making sure i didn't miss anything first? I would never!
2013-04-05 17:20:34 -04:00
Rachel Bryk
e531970052
Round IR scale down to whole number if using 1.5x/2.5x IR, if game ini specifies -1 for EFBScale.
...
Fixes issue 6210.
2013-04-05 17:13:48 -04:00
Jordan Woyak
ceebed9268
Apply changes to Windows real wiimote code as suggested by bughunter2.
...
Fixed issue 6071.
2013-04-04 21:46:00 -05:00
Jordan Woyak
f8e52bd83a
Eliminate some redundant constants.
2013-04-04 19:46:42 -05:00
Jordan Woyak
71f4bf25a7
Make FifoQueue take advantage of rvalue references to avoid std::vector copies.
2013-04-04 19:34:50 -05:00
Jordan Woyak
99da297951
Fix minor issue with real wiimote data report handling.
2013-04-04 19:34:00 -05:00
lioncash
a7c05dc922
Remove an unused variable in VideoConfig.cpp and SWVideoConfig.cpp
2013-04-04 09:32:28 -04:00
skidau
aaf6c3b753
Forced the exception check when the ARAM DMA transfer is between 32 and 320 blocks in size. Fixes Lost Kingdoms II.
2013-04-04 22:38:39 +11:00
Grant Paul
39965e894d
Add native fullscreen support for OS X.
2013-04-03 21:20:43 -07:00
Grant Paul
9f8841e960
Revert "D3D11: Fix glitched polygon edges when MSAA is enabled."
...
This reverts commit 61c327ba8b
.
2013-04-03 21:17:09 -07:00
Ryan Houdek
d06379fc59
Fix 32bit Linux. GCC's lrotl/lrotr instrinsic functions are 32bit when building for 32bit, we require 64bit at all times, so keep using our own instead.
2013-04-03 12:43:17 -05:00
NeoBrainX
61c327ba8b
D3D11: Fix glitched polygon edges when MSAA is enabled.
2013-04-03 18:56:33 +02:00
Ryan Houdek
b5676fe82b
Fix GCC 4.8 compiling. GCC 4.8 now defines _rotl/_rotr/_lrotl/_lrotr.
2013-04-03 10:52:26 -05:00
Glenn Rice
3fdc46877a
Make the GUI show a translated "No audio output" sound backend string.
2013-04-03 09:22:39 -05:00
Glenn Rice
6371a6f15d
Fix some more strings for translation, and update the catalog.
2013-04-02 17:44:27 -05:00
Jordan Woyak
92e82a4160
Suppress warnings.
2013-04-02 15:02:02 -05:00
Pierre Bourdon
27e08f66b5
Fix build on OS X
2013-04-02 21:15:04 +02:00
Pierre Bourdon
eb06c62a6e
Merge branch 'new-ax-hle'
...
GC and Wii games using the AX UCode should now work almost perfectly with DSP
HLE. If you get any issue, make sure the "DSP on dedicated thread" option is
disabled, and try setting framelimit to "Audio".
As a side effect, DSP HLE should not desync anymore (making it usable in
netplay and TAS) with AX games.
Conflicts:
Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.h
Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp
2013-04-02 21:00:44 +02:00
Pierre Bourdon
9860137291
Initialize the audiocommon mixer on the first write to DSPCR, even if DSP is not enabled. Fixes issue 6192.
2013-04-02 20:42:07 +02:00
Jordan Woyak
d951c4c374
real buildfix
2013-04-02 13:07:51 -05:00
Jordan Woyak
c65473d9d3
Probably a sloppy buildfix.
2013-04-01 23:30:05 -05:00
Jordan Woyak
69779a4321
Fix loading of "themes" with non-ascii character names.
...
Fixed issue 6189.
Why did GetUserPath return a non-const ref to string..?
2013-04-01 23:22:20 -05:00
Pierre Bourdon
6e708005df
Implement AXWii commands 08/09, aka. "upload AUXA/AUXB and use it as a temp buffer to mix to MAIN L/R/S and AUXC L", aka. "what the fuck were they thinking?!"
2013-04-02 04:12:17 +02:00
Pierre Bourdon
0220fd1940
Implemented command 03: ADD_SUB_TO_LR
2013-04-02 03:23:48 +02:00
Pierre Bourdon
74dee41b87
Add implementation for command 02: SUB_TO_LR
2013-04-02 03:10:29 +02:00
Pierre Bourdon
5c67a0bcf6
Partial fix for the EA Wii games having no sound - implement the second OUTPUT command in AXWii. Sound in videos and musics still don't play.
2013-04-02 02:53:19 +02:00
Jordan Woyak
4ba12be669
We can use unordered_map without pain now!
2013-04-01 19:25:32 -05:00
Lioncash
f36e18593b
More log elaborating. Final time I'm doing this.
...
Logs should actually be somewhat understandable to some people outside of programming and stuff (in a way). It's certainly better than being bombarded by abbreviations when errors/general logging occur, at least.
2013-04-01 18:45:23 -04:00
Lioncash
04913a855e
Update function descriptions in GCPad.cpp and Wiimote.cpp
...
Add inputs. Those that still need a description are tagged with [Description Needed]
2013-04-01 18:07:44 -04:00
Pierre Bourdon
49d809ac0e
Merge branch 'osx-libcxx'
2013-04-01 18:17:49 +02:00
Lioncash
58159a1693
Some more logging typos and clarifications. Missed these in my last commit.
...
This commit mainly elaborates on some messages a little more. Also fixes some typos that slipped through the last commit.
A large change in text can be seen in EXI_DeviceMemoryCard.cpp. I added more info as to why a write to a memory card may fail. (This actually was a reason I was unable to write to a memcard recently).
Elaborations can be seen in WGL.cpp
I did change some comments in some files that I was correcting logging messages in, however this is only if I spot a typo or if an abbreviation is lower-cased. Even in that case, the amount of changes done to comments is very minimal.
2013-04-01 00:10:54 -04:00
Lioncash
f432d6038e
Fix some typos and correct some capitalizations in the log messages.
...
Makes the logging look more orderly and less spammy when spitting out things.
2013-03-31 19:13:30 -04:00
Rodolfo Bogado
45651098f6
Use a brute force approach to test for Dual source blend support.
...
Sorry for a direct commit to the main branch but i need fast feedback, and i don't want to leave problematic code in the main branch for a long time.
if this approach does not work for the drivers with problems will transform dual source blend to an option in the D3D9 backend.
I appreciate the help of the people that tested my last commit and thanks to neobrain for pointing this solution.
2013-03-31 20:02:13 -03:00
NeoBrainX
a60e1a3db8
ShaderGen: Remove some TODOs and fix an issue with per pixel lighting.
2013-03-31 23:57:39 +02:00
NeoBrainX
f57b902d33
PixelShaderGen: Cleanups.
2013-03-31 23:53:46 +02:00
NeoBrainX
f6d65a636e
ShaderGen: Fix per pixel lighting.
2013-03-31 23:29:33 +02:00
NeoBrainX
248d56d930
ShaderGen: Small optimization.
2013-03-31 20:55:57 +02:00
Grant Paul
aabd8ce664
Add retina display support for Mac.
2013-03-31 11:36:42 -07:00
Pierre Bourdon
4d27315cd1
Initialize the AX Thread after the sync objects are initialized
2013-03-31 01:55:41 +01:00
Pierre Bourdon
60b43eb8d3
Support the old AXWii version used in games like Wii Sports or Excite Truck
2013-03-31 00:25:00 +01:00
Pierre Bourdon
276c457bed
Basic framework to support the old AXWii version used in Wii Sports and Excite Truck
2013-03-30 22:22:57 +01:00
Pierre Bourdon
79c0316243
Disable the polyphase resampler - it causes audio glitches with non integer ratios
2013-03-30 16:59:06 +01:00
Pierre Bourdon
04f9c6793b
Fix the argument to the samples reading callback in voice processing - should fix issues with wiimote audio, untested
2013-03-30 14:39:59 +01:00
Pierre Bourdon
a813f9e13c
Support loading polyphase resampling coeffs from User and Sys in HLE
2013-03-30 14:38:14 +01:00
Pierre Bourdon
e3b0a2c9bf
Add an option to run the AX processing on the CPU thread. Fixes timing issues causing audio glitches on Wii, and should improve the overall stability of AX HLE.
2013-03-30 14:02:30 +01:00
Pierre Bourdon
c271082ec5
Add volume ramping for MAIN output, separate old volume values for each AUX channel and refactor
2013-03-30 00:55:55 +01:00
NeoBrainX
cdddb26bba
Apparently override is less fun than I thought.
2013-03-29 22:29:37 +01:00
NeoBrainX
2afd892e46
ShaderGen: More interface cleanups. Less wtfs :)
2013-03-29 22:24:49 +01:00
Pierre Bourdon
4b09f525f6
Fix AUX volume mixing in AXWii: implement volume ramping and MixAdd properly. Home menu sounds now work properly.
2013-03-29 22:22:24 +01:00
NeoBrainX
e31c2aa601
ShaderGen: Cleanup uid data writing.
2013-03-29 21:53:57 +01:00
Pierre Bourdon
ef501137be
Fix audio glitching at the end of a voice because of bad non-looping sound handling in AXWii
2013-03-29 21:02:27 +01:00
NeoBrainX
9eccd56ef0
PixelShaderGen: Some cleanups.
2013-03-29 20:59:03 +01:00
NeoBrainX
3c02f227db
PixelShaderManager: Disable constant cache (won't work in the non-UBO path of the opengl backend).
...
ShaderGen: Replace typeid usage with more general code.
2013-03-29 20:35:31 +01:00
Glenn Rice
485bd70df2
Fix some strings for translation and update the pot file to include
...
those strings once again.
2013-03-29 11:05:22 -05:00
Pierre Bourdon
194ada2481
More MSVC 2010 build fixes
2013-03-29 07:55:56 -07:00
Pierre Bourdon
38db520617
MSVC 2010 does not have <mutex> or <thread> either, adding the Std* files back
2013-03-29 07:53:45 -07:00
Pierre Bourdon
a8513e4605
Re-add StdConditionVariable, MSVC 2010 does not support <condition_variable>
2013-03-29 07:42:41 -07:00
Pierre Bourdon
4895e38bd5
This change might work better if I git add the files
2013-03-29 07:31:15 -07:00
Pierre Bourdon
b73941c0ea
Use libc++ for Mac OS X builds now that we require >= 10.7 anyway
2013-03-29 07:29:31 -07:00
NeoBrainX
41c4108ce6
OpenGL: Reimplement shader uid debugging.
2013-03-29 14:56:01 +01:00
NeoBrainX
f2a8fbb314
PixelShaderGen: Slightly reduce the number of redundant shader compilations.
2013-03-29 14:54:13 +01:00
degasus
ca8554e7d1
first try of primitive restart index generator
...
Convert all quads+triangles into trangle_strip and uses primitive restart to split them.
Speed up triangle_strip, but slows down all others primitive formats.
Only implemented in ogl.
2013-03-29 14:27:33 +01:00
Pierre Bourdon
e9b236be05
OSX sucks at c++11
2013-03-29 13:55:55 +01:00
Pierre Bourdon
a997824f68
Add missing <functional> header include
2013-03-29 13:51:52 +01:00
Pierre Bourdon
4dc1ffbb20
Refactor the resampling code to avoid having two polyphase resampling implementations (normal/wm)
2013-03-29 13:49:36 +01:00
Pierre Bourdon
85b498ba97
Update the right cur_addr_frac after wiimote audio resampling
2013-03-29 13:18:30 +01:00
Rodolfo Bogado
c743e75d92
fixes for my last commit
2013-03-29 00:41:36 -03:00
Pierre Bourdon
57d4ba8dcc
Merge branch 'master' into new-ax-hle
2013-03-29 00:49:07 +01:00
Rodolfo Bogado
40d919b352
Implement dual source blending to avoid unneeded alpha pass.
...
this implementation does not work in windows xp (sorry no support for dual source blending there).
this should improve speed on older hardware or in newer hardware using super sampling.
disable partial fix for 4x supersampling as I'm interested in knowing the original issue with the implementation to fix it correctly.
remove the deprecation label from the plugin while I'm working on it.
2013-03-28 20:08:51 -03:00
NeoBrainX
6e88ae9695
Recommend Direct3D 11 or OpenGL instead of Direct3D 9.
2013-03-28 23:34:14 +01:00
NeoBrainX
c10d9ea87a
Clean up blending code a bit.
2013-03-28 23:00:19 +01:00
skidau
b2575c6280
Removed some redundant code introduced in the last commit.
2013-03-29 00:53:30 +11:00
skidau
9b7db5954f
Rounded the loop addresses to the nearest 16bit value in the loop comparison.
...
Fixes issue 6160.
2013-03-29 00:43:41 +11:00
skidau
e38e48923d
Readded the tracking of the FIFO Writes.
...
Fixes issue 6165.
2013-03-28 19:36:37 +11:00
Lioncash
b1dd14c319
Fix a slight leak in LogManager.
...
m_debuggerLog wasn't ever deleted in the destructor.
2013-03-27 23:39:48 -04:00
Ryan Houdek
2444fdbbdd
I missed some files required for our GLInterface.
2013-03-27 21:18:07 -05:00
Jordan Woyak
507f53e226
Fixed issue 6119.
2013-03-27 14:26:45 -05:00
lioncash
6fe5f5a6ba
[DolphinWX] Remove a duplicate conditional in Frame.cpp
2013-03-27 15:09:04 -04:00
skidau
7784fa4c67
Merge branch 'master' into wii-network
...
# By Ryan Houdek (185) and others
# Via degasus (12) and others
* master: (625 commits)
Revert "Don't open/close file for every file operation." as it was crashing PokePark in Windows builds.
Array overrun fixed in VertexShaderCache for the DX11 plugin.
Fixed DSPTool build.
Windows build fix
Go back to assuming every HID device is a wiimote on Windows. Fixed issue 6117. Unfixed issue 6031.
VideoSoftware: Improve fog range adjustment by using less magic and more comments.
revert RasterFont for VideoSoftware
ogl: fix virtual xfb
Windows build fix from web interface...
Adjusted the audio loop criteria, using >= on the Wii and == on GC. This fixes the audio static that occurred in Wii games after hours of play.
Forced the exception check only for ARAM DMA transfers. Removed the Eternal Darkness boot hack and replaced it with an exception check.
VideoSoftware: Implement fog range adjustment, fixing issue 6147.
implement 4xSSAA for OGL
move ogl-only settings into backend
Fix description of disable fog, and move it to enhancements tab.
Reverted rd76ca5783743 as it was made obsolete by r1d550f4496e4.
Removed the tracking of the FIFO Writes as it was made obsolete by r1d550f4496e4.
Forced the external exception check to occur sooner by changing the downcount.
Mark the Direct3D9 backend deprecated.
Prefer D3D11 and OpenGL over D3D9 by default.
...
Conflicts:
CMakeLists.txt
Source/Core/Common/Common.vcxproj.filters
Source/Core/Common/Src/CommonPaths.h
Source/Core/Core/Core.vcxproj.filters
Source/Core/Core/Src/Core.cpp
Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp
Source/VSProps/Dolphin.Win32.props
Source/VSProps/Dolphin.x64.props
2013-03-27 13:19:23 +11:00
skidau
5cea0d9def
Revert "Don't open/close file for every file operation." as it was crashing PokePark in Windows builds.
...
This reverts commit efcb2abe9b
.
Fixes issue 6098.
2013-03-27 13:06:15 +11:00
skidau
d33c19b0cd
Revert the threading of wii-network.
...
This rolls back to commit bca2cac640
.
2013-03-27 12:58:04 +11:00
NeoBrainX
a171525df6
Fix Windows crash.
2013-03-27 01:33:27 +01:00
NeoBrainX
11fae2e1cb
Fix Windows build, try 4.
2013-03-27 00:17:46 +01:00
NeoBrainX
364a5093d9
ShaderGenCommon: Replace the GenOutput enum by using typeid instead.
2013-03-26 23:21:08 +01:00
NeoBrainX
0e31943216
ShaderGenCommon: Introduce a common shader generator interface to make stuff less confusing.
2013-03-26 23:03:10 +01:00
NeoBrainX
3253603ae7
Merge 'master' into shader-uids-awesome.
...
Conflicts:
Source/Core/VideoCommon/Src/LightingShaderGen.cpp
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
Source/Core/VideoCommon/Src/PixelShaderGen.h
Source/Core/VideoCommon/Src/PixelShaderManager.cpp
Source/Core/VideoCommon/Src/VertexShaderGen.cpp
Source/Core/VideoCommon/Src/VertexShaderGen.h
Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.h
Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.h
2013-03-26 22:21:19 +01:00
NeoBrainX
b75a617d8a
VertexShaderGen: De-uglify VS output structure writing
2013-03-26 19:36:59 +01:00
NeoBrainX
30f1a4b4fe
Partially revert "Now CG plays nice with this new stuff."
...
This reverts commit 3943840d5c
.
Suppport for old GLSL versions has been dropped, so to make things less ugly we can use a structure for lights again.
2013-03-26 19:36:59 +01:00
skidau
6a6c086b50
Windows build fix
2013-03-26 18:48:57 +11:00
Jordan Woyak
b8b5afa323
Go back to assuming every HID device is a wiimote on Windows.
...
Fixed issue 6117.
Unfixed issue 6031.
2013-03-25 21:14:55 -05:00
NeoBrainX
0994a5828d
VideoSoftware: Improve fog range adjustment by using less magic and more comments.
2013-03-26 00:57:45 +01:00
skidau
51290fd482
Adjusted the audio loop criteria, using >= on the Wii and == on GC. This fixes the audio static that occurred in Wii games after hours of play.
...
Fixes issue 5938.
Fixes issue 6067.
2013-03-26 08:31:20 +11:00
skidau
b00201dcbd
Merge branch 'Fast-EE'
...
* Fast-EE:
Forced the exception check only for ARAM DMA transfers. Removed the Eternal Darkness boot hack and replaced it with an exception check.
Reverted rd76ca5783743 as it was made obsolete by r1d550f4496e4.
Removed the tracking of the FIFO Writes as it was made obsolete by r1d550f4496e4.
Forced the external exception check to occur sooner by changing the downcount.
2013-03-26 08:24:21 +11:00
skidau
0ccaaee38c
Forced the exception check only for ARAM DMA transfers.
...
Removed the Eternal Darkness boot hack and replaced it with an exception check.
2013-03-26 08:23:20 +11:00
NeoBrainX
ae146e8bc7
VideoSoftware: Implement fog range adjustment, fixing issue 6147.
2013-03-25 21:13:31 +01:00
degasus
d4fadf4b6f
implement 4xSSAA for OGL
...
I don't think it's needed, but its requested often
2013-03-25 15:45:10 +01:00
degasus
3d5e0a6d3d
move ogl-only settings into backend
2013-03-25 15:14:24 +01:00
Ryan Houdek
7034c79ab9
Big commit. Fix running the APK, I had missed a view in the manifest. Clean up the Android EGL context creation to fit more in line with how Dolphin works. This breaks input at the moment as well. Change the memarena from 768MB to 64MB to allow 1GB phones to potentially run it. Rename EGL_X11 back to EGL since this merge brings in some of soreau's changes to more easily allow different platforms like Wayland and Android. Not quite all of the code because some needs to be cleaned up still.
2013-03-24 21:06:34 -05:00
Rachel Bryk
81e261eb68
Fix description of disable fog, and move it to enhancements tab.
2013-03-24 15:47:18 -04:00
skidau
dfa1845ae1
Reverted rd76ca5783743 as it was made obsolete by r1d550f4496e4.
2013-03-25 01:01:29 +11:00
skidau
4fa61a1e7f
Removed the tracking of the FIFO Writes as it was made obsolete by r1d550f4496e4.
2013-03-25 00:57:53 +11:00
skidau
1d550f4496
Forced the external exception check to occur sooner by changing the downcount.
...
Fixes issue 5825.
2013-03-25 00:47:44 +11:00
NeoBrainX
bb3ce1f8d3
Mark the Direct3D9 backend deprecated.
2013-03-23 23:53:19 +01:00
NeoBrainX
816020f4eb
Prefer D3D11 and OpenGL over D3D9 by default.
2013-03-23 23:52:30 +01:00
degasus
470c9ff08a
check for overflow vertex indices, fixes issue 6135
...
thx @ JMC47 for identifying the reversion, creating a useful bug report with fifo log :-)
2013-03-23 00:18:35 +01:00
Ryan Houdek
d11679a06e
Android mega commit of trash.
2013-03-19 21:53:09 -05:00
lioncash
edd9d0e0ef
Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon.
...
Not planning to touch Core since it's the most actively changed part of the project.
2013-03-19 21:51:12 -04:00
lioncash
0e3d8e2e9f
Clean up some space/tab mismatches in DiscIO and InputCommon.
...
Keeps the files consistent.
2013-03-19 09:59:41 -04:00
Ryan Houdek
61e1659b97
Disabled OSX x86 build since we require 10.7 minimum. This takes support back to late 2006 models. Also, Missed CG framework addition.
2013-03-19 08:50:56 -05:00
skidau
a6249b5388
Properly set the DMAState flag while ARAM DMA transfers are underway.
...
Fixes issue 6118.
2013-03-19 23:03:38 +11:00
Braden
befe6e6962
Short,sweet and fixes issue 5725
2013-03-18 21:40:46 -05:00
Rachel Bryk
7c2c4662a7
Disable Vsync while holding tab to disable the frame limit, and allow toggling vsync while emulation is running in OGL.
...
D3D9 still doesn't support changing vsync while emulation is running.
Fixes issue 6111.
2013-03-18 20:42:18 -04:00
Braden
c5033e8594
Hide cursor in fullscreen mode on OSX fixes issue 3956
2013-03-18 17:45:08 -05:00
Braden
a2af6494cf
Clean up CInterfaceAGL, make sure the screen gets cleared on stop, and remove the FPS update that messes up GUI builds since GUIless doesn't build anyways.
2013-03-18 17:15:59 -05:00
Ryan Houdek
7d74293170
Fix a typo in ArmEmitter noticed by LionCash.
2013-03-18 08:45:33 -05:00
Ryan Houdek
b512b23407
Reenable mulli and negx, seems to work fine.
2013-03-18 07:50:52 +00:00
Braden
f21706bc17
Git pull
2013-03-17 21:10:54 -05:00
Braden
ae3c5a64cc
Fix full screen on OSX, well as fixed as its ever been. Apperently in render to main it always shown the FPS on the bottom in full screen.
2013-03-17 20:58:43 -05:00
Ryan Houdek
9ae9910490
Finish up VFP cleanup. A few more instructions are left for VFP, and a bunch of NEON ones if it will ever be used.
2013-03-18 00:10:56 +00:00
Rachel Bryk
0c86634101
Revert "Disable Vsync while holding tab to disable the frame limit."
...
This reverts commit 341eb87806
.
I'll do it right later.
2013-03-17 12:30:44 -04:00
Rachel Bryk
341eb87806
Disable Vsync while holding tab to disable the frame limit.
...
Fixes issue 6111.
2013-03-17 11:56:24 -04:00
Pierre Bourdon
612c2e8516
Fix converting the charset of an empty string. Thanks to MrData on the forums for reporting this issue.
2013-03-17 14:37:00 +01:00
Jordan Woyak
8faefa3672
Windows - Don't disconnect real wiimotes on Dolphin close. (back to the old behavior)
...
Fixed issue 6103.
2013-03-16 18:55:01 -05:00
Jordan Woyak
98fa5006fd
Fix some warnings.
2013-03-16 18:53:34 -05:00
degasus
4a929f85b6
GLSL: fix transparency issues on dual source blend. fix issue 6104
2013-03-17 00:36:13 +01:00
Pierre Bourdon
9a404ca6d4
Ship by default a free DSP ROM that can handle most games with LLE
...
At the end of July 2011, LM published a free DSP ROM that works with games
using the Zelda UCode. His ROM only has the code to handle UCode loading and a
few utility functions, the rest is missing. This includes the four large sound
mixing functions used by the AX UCode and the DROM containing coefficients used
for polyphase resampling in AX.
This is an improved, updated version of this ROM, which changes the following:
- We now have a free DROM that works for polyphase resampling by "emulating"
linear interpolation. The coefficients contained in the DROM are normally a
list of { c1, c2, c3, c4 } which are used to interpolate a sample value from
four previous samples:
out_sample = prev1 * c1 + prev2 * c2 + prev3 * c3 + prev4 * c4
The coefficients are chosen depending on the fractional part of the current
position (basically, our position between the previous and the next sample).
We can use this fact to generate (c1, c2, c3, c4) for each possible
fractional part so that:
out_sample = prev3 * curr_pos + prev4 * (1 - curr_pos)
Which is the formula for linear interpolation between prev3 and prev4. Linear
interpolation is not as good as polyphase resampling but it still works very
well and I couldn't really hear any difference between the two. If someone
wants to generate real polyphase filter coefficients, they are welcome to
submit a patch.
- The IROM now contains the 4 mixing functions used by the AX UCode: mix_add,
mix_add_two, mix_add_ramp, mix_add_ramp_two. They are large, inlined
functions (probably for performance reasons) in the official DSP IROM, our
version prefers to use a loop. This *should* be more performant with our DSP
JIT implementation, but I did not benchmark that.
Because the new DSP ROM is working just as well as the official ROM in 95% of
cases, it is now shipped by default with Dolphin and will be used with DSPLLE
if you don't have an official DSP ROM in User/GC. It will still display a panic
alert at every boot to notice you that you are using a non official DSP ROM
made by us, which is not perfect.
Games using the CARD, IPL or GBA UCodes are still broken. I don't know what
games this actually impacts, but this is a very small proportion compared to
what works.
2013-03-16 23:54:55 +01:00
Jordan Woyak
059e100425
Check for HID wiimote name on Windows instead of assuming everything is a wiimote.
...
Fixed issue 6031.
2013-03-15 21:27:46 -05:00
James Dunne
f1ef51abc8
Removing `Core::IsGPUThread()` and `Core::IsCPUThread()` calls in favor of simple `bool isCPUThread` parameter value.
2013-03-15 19:42:42 -05:00
James Dunne
4137fc0023
Removed calls to YieldCPU from RunGpuLoop.
2013-03-15 19:42:38 -05:00
degasus
6962929356
GLSL: fix nfs-hp2
2013-03-15 23:32:01 +01:00
degasus
e1a081ad2d
Merge branch 'GLSL-master'
...
Merge an endless story. The branch name is a lie, it was started as glsl, but now it is a complete reworked opengl3 backend.
It just began with simple changes which aren't supported on osx.
They either support ogl2 OR ogl3 core, but mixing isn't allowed.
As the branch name says, the vicious circle starts with GLSL, but just implementing one wasn't possible either:
- OSX supports only GLSL100 which doesn't support our shaders.
- Vertex Array Objects are needed for ogl3, but not supported on ogl2
- immediate mode isn't supported any more, so we must implement vertex buffers
- uniform buffers are recommended as else we would need tons glUniform
- postprocessing shaders have to be converted to glsl
- lots of smaller outdated issues and bug fixes :-)
Thanks at all for testing and at Sonic for converting all of our shaders to glsl130
And sorry for all upcoming bugs...
2013-03-15 22:49:26 +01:00
Rachel Bryk
8767b30f75
My OCD will not stand for this.
2013-03-15 15:42:59 -04:00
Ryan Houdek
8c1091a21f
Merge branch 'master' into GLSL-master
...
Conflicts:
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp
Source/Plugins/Plugin_VideoDX9/Src/VertexManager.cpp
2013-03-15 11:19:52 -05:00
Rachel Bryk
d63d7fde9e
So much more readable now!
2013-03-15 11:45:43 -04:00
NeoBrainX
e877b5019b
PixelShaderManager: Reload fog range adjustment shader constants upon viewport change.
...
Fixes issue 5618.
2013-03-15 15:08:51 +01:00
Rachel Bryk
def578fea6
Fix checks for preventing the main and render windows from spawning off screen.
2013-03-15 09:19:39 -04:00
skidau
afb6f9127a
Corrected a typo.
2013-03-15 19:32:47 +11:00
degasus
84119a966b
Revert "remove wx from agl"
...
This reverts commit e63a5d8529
.
window_handle is also used at many other places, so just move it here isn't allowed
2013-03-15 02:40:08 +01:00
NeoBrainX
203b1748a3
PixelShaderGen: Force depth textures to be emulated when the result is needed for fog calculation.
2013-03-15 01:01:00 +01:00
Ryan Houdek
d6c7e7d652
Let's do this version check again.
2013-03-14 15:46:27 -05:00
Ryan Houdek
db1fc9019b
Add a OSX version check to GLSL so if anyone running < OSX 10.7 gets a message instead of crashing when running the game. Turn off DEBUG_GLSL.
2013-03-14 15:25:41 -05:00
Ryan Houdek
e6c6053fcc
Beginning of VFP cleanup. Will finish when I have the hardware in front of me.
2013-03-14 10:45:26 -05:00
Ryan Houdek
b4830be9bc
Actually set the bIDIVa value in the ARM CPUDetect.
2013-03-14 08:48:01 -05:00
Rachel Bryk
eaebebc33d
Prevent the render window from spawning off screen.
...
Fixes issue 6063.
2013-03-14 05:28:02 -04:00
degasus
e63a5d8529
remove wx from agl
2013-03-14 09:52:13 +01:00
Braden
a0fdcaced8
Removes the redundant window on OSX
2013-03-13 21:34:52 -05:00
Ryan Houdek
c93f7760ce
Really clean up all the emitter loadstores on ARM. If a ARM device supports VFPv4, then it supports IDIVA, so handle that in CPUDetect.
2013-03-14 01:50:38 +00:00
Ryan Houdek
202e2fa5c8
Add a new WriteNewStoreOp emitter function for beginning of rewrite of the Arm Emitter LoadStores. Will finish when I have the hardware in front of me to test on.
2013-03-13 14:08:54 -05:00
skidau
85eab1d262
Used the scheduler to generate the interrupt for IPC. Fixes the ES_LAUNCH games.
2013-03-13 22:23:59 +11:00
Rachel Bryk
0b34457a8e
All the cool kids hard code string lengths.
...
Fixes issue 6090.
2013-03-13 07:04:53 -04:00
Rachel Bryk
e73cc858bc
Allow playing movies from command line. Also remove some unneeded code.
2013-03-13 01:37:35 -04:00
degasus
2c84c32ddc
decrease d3d vertex buffer size
2013-03-12 17:48:20 +01:00
degasus
382be2aabd
Merge branch 'master' into GLSL-master
...
Conflicts:
.gitignore
2013-03-12 11:28:56 +01:00
skidau
83fc5f4747
Merge branch 'FIFO-BP'
...
# By skidau (30) and Pierre Bourdon (1)
* FIFO-BP: (31 commits)
Set g_bSignalTokenInterrupt on the main thread. Fixes the random hang in Harry Potter: Prisoner of Azkaban.
Used a scheduled event to generate the ARAM DMA interrupt if the DMA is greater than a certain size. Fixes NFS:HP2 GC.
Bumped up the disc transfer speed enough to prevent audio stuttering in Gauntlet: Dark Legacy.
Enabled Synchronise GPU on "SPEED CHALLENGE - Jacques Villeneuve's Racing Vision". Required to go in-game.
Added direct GameCube controller commands to the Serial Interface emulation. Fixes the controls in MaxPlay Classic Games Volume 1 and the Action Replay disc.
Increased the FIFO buffer size to 2MB from 1MB. Fixes Killer 7's Angel boss.
Used an immediate GenerateDSPInterrupt when transferring data from ARAM to MRAM and a scheduled DSP interrupt when transferring data from MRAM to ARAM.
Fixes the audio cutting in and out in the Resident Evil GC games using DSP HLE. Triggered the ARAM interrupt by the scheduler instead of directly in function.
Implemented proper timing for the sample counter in the AudioInterface, removing the previous hack. Cleaned up some of the audio streaming code.
Skipped the EE check if there is a CP interrupt pending.
Disabled "Speed up disc transfer" from the ZTP GC game ini.
Removed the disc seek times for GC games and removed the disc speed option on Wii games. Checked for external exceptions only in mtmsr.
Delayed the interrupts in the EXI Channel.
Merge aram-dma-fixes (r76a13604ef49b522281af75675f044d59a74e871)
Added a patch that bypasses the FIFO reset code in Wallace and Gromit: Project Zoo, allowing it to go in-game.
Made vertex loading take constant time.
Increased the cycle time of the vertex command. Fixes "Speed Challenge: Jacques Villeneuve's Racing Vision".
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.
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.
...
Conflicts:
Source/Core/VideoCommon/Src/PixelEngine.cpp
2013-03-12 19:47:59 +11:00
Ryan Houdek
8406d9972d
Fix JIT from rebasing on PPSSPP ArmEmitter.
2013-03-12 02:35:29 +00:00
Ryan Houdek
b94b4a9e8f
Rebase ArmEmitter on PPSSPP's base. The loadstores are making my heart cry at this point.
2013-03-11 13:57:55 -05:00
degasus
e1ca002937
osx: only use accelerated backends
2013-03-11 16:36:07 +01:00
Rachel Bryk
9a3633924d
Dolphin needs to be restarted before playing back a wiimote movie, so let's suggest that instead of giving an unhelpful error message.
2013-03-09 02:44:24 -05:00
Rachel Bryk
13a64e992d
Fix a typo.
2013-03-08 22:47:56 -05:00
Rachel Bryk
723371e022
Wow, I'm dumb. Fix mismatched set/get.
2013-03-08 20:06:04 -05:00
Ryan Houdek
f6d45ea461
Fix a potential issue when someone has a CPU core that isn't available on that host set in the INI file, it would just fail out. Now it defaults to interpreter.
2013-03-08 10:52:04 -06:00
Ryan Houdek
be217bf096
Add a comment about Qualcomm in load stores.
2013-03-07 20:28:18 -05:00
degasus
12e84f918a
Merge branch 'master' into GLSL-master
...
this fix debug build
2013-03-07 17:05:32 +01:00
lioncash
279e3c7e14
Fix a potential memory leak in function DecompressBlobToFile in CompressedBlob.cpp
2013-03-07 10:59:50 -05:00
Ryan Houdek
f3528277c4
Make sure to mask out the FPU rounding mode correctly. Good spot from LionCash.
2013-03-07 09:52:38 -06:00
skidau
d3e431af9e
Set g_bSignalTokenInterrupt on the main thread. Fixes the random hang in Harry Potter: Prisoner of Azkaban.
2013-03-07 22:16:00 +11:00
degasus
eaa5a77d9e
fix debug build
2013-03-06 20:47:48 +01:00
Ryan Houdek
427a26fcc2
Clean up PPCSTATE_OFF
2013-03-06 13:46:36 -06:00
degasus
5dd502df3b
Merge branch 'master' into GLSL-master
...
the only commit on master is to fix vertexloader, so disable jit for osx
2013-03-06 19:07:15 +01:00
degasus
7158c14d7a
fix vertexloader without jit
2013-03-06 18:58:15 +01:00
degasus
a1c5e90083
Merge branch 'master' into GLSL-master
...
Conflicts:
CMakeLists.txt
Source/Core/DolphinWX/CMakeLists.txt
Source/Core/DolphinWX/Src/GLInterface.h
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
Source/Core/VideoCommon/Src/TextureCacheBase.cpp
Source/Core/VideoCommon/Src/VertexManagerBase.cpp
Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp
Source/Plugins/Plugin_VideoDX9/Src/VertexManager.cpp
Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj
Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj.filters
Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h
Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp
Source/Plugins/Plugin_VideoOGL/Src/main.cpp
2013-03-06 15:59:29 +01:00
degasus
8d5299c20b
Merge branch 'vertex-loader-cleanup'
2013-03-06 14:08:02 +01:00
degasus
10983b0eae
fix VertexManager::GetRemainingIndices
...
the old implementation returns the amound of primitives fit into index buffers
but also gc needs more than one index per primitve
2013-03-06 12:33:02 +01:00
skidau
0f1ef49da1
Used a scheduled event to generate the ARAM DMA interrupt if the DMA is greater than a certain size. Fixes NFS:HP2 GC.
2013-03-06 17:08:40 +11:00
Ryan Houdek
1214bf1359
Add ARM Jit to GUI when built on ARM
2013-03-06 03:25:45 +00:00
Ryan Houdek
d6558e1c31
Make the (V)LDR/(V)STR instructions support negative offsets. This fixes a bug where Arm Jit couldn't load the top 33 FPRs. Also makes it so the core can access all GPRs, FPRs, and SPRs in ppcState. This increases VPS 15-20 on SSBM intro movie on ODROIDX
2013-03-06 01:51:59 +00:00
Jordan Woyak
2095641af0
OK, seriously, buildfix. I shouldn't even have commit access!
2013-03-05 16:17:45 -06:00
Jordan Woyak
b34991c4c3
Buildfix for real.
2013-03-05 16:08:26 -06:00
Jordan Woyak
fe3a54d7fd
Buildfix!
2013-03-05 15:48:57 -06:00
Jordan Woyak
10d57a3402
Use standard binary multiple unit symbols for game size display.
...
Use integer math for the calculation as we cannot rely on floats for something as important as game size display!
2013-03-05 14:58:30 -06:00
degasus
4714e4f99c
fix agl
2013-03-05 15:17:00 +01:00
Ryan Houdek
240238308c
Disable SSE2 check in the GUI when building ARM.
2013-03-05 14:03:01 +00:00
Jordan Woyak
33a13b1a37
Fixed issue 5270. Don't ask me how, I just clean up code and then it works! I think it was int overflow.
2013-03-05 00:35:24 -06:00
Ryan Houdek
3ac7ee4623
Fix compiling Dolphin on devices that provide crazy GLES drivers
2013-03-05 03:53:25 +00:00
Jordan Woyak
b7db96e2e5
Merge branch 'hle-fs-cleanup'
2013-03-04 19:02:41 -06:00
Jordan Woyak
f3f89e1d00
Merge branch 'master' into vertex-loader-cleanup
...
Conflicts:
Source/Core/Common/Src/CommonFuncs.h
Source/Core/VideoCommon/Src/VertexLoader.cpp
2013-03-04 15:47:56 -06:00
Jordan Woyak
bf58c70e9b
Move copy-pasted code into function.
2013-03-04 15:35:29 -06:00
degasus
642eab92bc
disable per pixel depth if depth textures aren't used
2013-03-04 20:12:58 +01:00
Jordan Woyak
5d47fd1dde
Remove HLE_IPC_CreateVirtualFATFilesystem as it no longer takes 3 minutes to LLE like the comment says.
2013-03-04 02:39:05 -06:00
Jordan Woyak
6d50bd127d
Remove hack that seems to be no longer needed.
2013-03-04 02:22:11 -06:00
Jordan Woyak
efcb2abe9b
Don't open/close file for every file operation.
2013-03-04 02:21:58 -06:00
Jordan Woyak
04a33b177a
Make seek mode 2 (offset from end of file) make sense. I doubt any games use this.
2013-03-04 01:42:38 -06:00
Jordan Woyak
0efe6c2124
GET_ATTR should not be returning the real filepath that we built.
2013-03-04 01:42:38 -06:00
Jordan Woyak
0041ec618c
Don't null-terminate some random std::string.
2013-03-03 20:16:01 -06:00
Jordan Woyak
814c2ffdfd
Fix some leaking file handles and buildfix probably.
2013-03-03 19:20:35 -06:00
Jordan Woyak
989f0663eb
Make "Crypto" file opening unicode-safe on Windows.
2013-03-03 19:14:13 -06:00
Jordan Woyak
6b2818199c
Fix WAD volume name extracting.
2013-03-03 19:00:29 -06:00
Jordan Woyak
bdc96342ba
More string conversion cleanup.
2013-03-03 18:40:50 -06:00
Jordan Woyak
6026b29844
Separate banner and volume name getting functions. Game properties now shows the correct "banner" name in more cases.
2013-03-03 18:34:03 -06:00
Jordan Woyak
a30636cb88
Buildfix.
2013-03-03 18:00:48 -06:00
Jordan Woyak
ae14578bc5
Eliminate some netplay gamelist ugliness.
2013-03-03 17:56:40 -06:00
Jordan Woyak
c07b8a6e37
Fix more of what I broke.
2013-03-03 17:08:41 -06:00
Jordan Woyak
b1a2915304
Merge branch 'master' into windows-unicode
2013-03-03 15:05:10 -06:00
Jordan Woyak
cedfa452b4
Windows: Open wiimotes with the FILE_SHARE_WRITE flag like before.
...
This should fix issues introduced by real-wiimote-scanning.
2013-03-03 14:34:59 -06:00
skidau
61b01474fa
Bumped up the disc transfer speed enough to prevent audio stuttering in Gauntlet: Dark Legacy.
...
Fixes issue 4644.
2013-03-03 23:35:07 +11:00
Jordan Woyak
fad2b65d76
More wxString conversion cleanup.
2013-03-03 02:30:45 -06:00
Jordan Woyak
aeb4fc9846
Fix what I broke.
2013-03-03 02:12:24 -06:00
Ryan Houdek
a01f793f59
Fix ARM build.
2013-03-03 07:37:22 +00:00
skidau
6dbd80d73e
Reverted the audio streaming tweak from r7a04ec6f9220dd66147c86baaebc2f9e05d65ead as it was causing audio clipping in some Wii games like Fire Emblem: Radiant Dawn.
2013-03-03 15:20:15 +11:00
Jordan Woyak
88cb11ba0a
I'm confused at why SHIFT-JIS was being used here.
2013-03-02 20:42:48 -06:00
Jordan Woyak
e183711d74
wxString conversion cleanup.
2013-03-02 20:34:53 -06:00
Jordan Woyak
6c8adf6130
Eliminate the wstring game name.
...
Some cleanup throughout related code. (try to make logic in ISOFile understandable by a human)
Encode strings in UTF-8 rather than somehow trying to determine the encoding in the GUI code.
Non-windows OSes temporarily broken.
2013-03-02 20:00:36 -06:00
Jordan Woyak
2b1af36900
Merge branch 'master' into windows-unicode
2013-03-02 15:33:32 -06:00
skidau
643f18d28b
Added direct GameCube controller commands to the Serial Interface emulation. Fixes the controls in MaxPlay Classic Games Volume 1 and the Action Replay disc.
2013-03-02 22:35:10 +11:00
Jordan Woyak
2356e5c0e7
Eliminate some baseless restrictions in PointerWrap, mainly vector<string> not working.
2013-03-02 03:32:30 -06:00
skidau
5bb6ac8164
Increased the FIFO buffer size to 2MB from 1MB. Fixes Killer 7's Angel boss.
...
Fixes issue 5415.
2013-03-02 16:18:55 +11:00
Jordan Woyak
e079d24912
Kill wstring version of game description.
2013-03-01 22:45:10 -06:00
skidau
3874b46a93
Used an immediate GenerateDSPInterrupt when transferring data from ARAM to MRAM and a scheduled DSP interrupt when transferring data from MRAM to ARAM.
...
Changed the maximum timeslice back to 20000 as it was causing slowdown.
2013-03-02 12:37:55 +11:00
NeoBrainX
008fdc7310
Merge branch 'perfqueries'.
...
Adds support for PE performance metrics.
Used in Super Mario Sunshine's "Scrubbing Sirena Beach" level to determine when enough goop has been cleaned up to finish the level.
Also used in TimeSplitters: Future Perfect to determine the appearance of flares around light sources (e.g. sun).
OpenGL and D3D11 only. D3D9 support unlikely to be added unless anyone bothers to do the work.
Initial work and D3D11 support by me. Kudos go to Billiard for adding the OpenGL support and reviving development of this branch that way :D
Slightly (~7%) decreases performance when performance metrics are used (and only then).
Fixes issue 1498.
Fixes issue 5368.
2013-03-02 00:17:37 +01:00
NeoBrainX
4058b4c38a
Add documentation to PerfQueryBase interface.
...
Remove the config field for perf queries (wasn't used for the new interface anyway).
Few other cleanups.
2013-03-01 23:02:11 +01:00
NeoBrainX
5a7bb2abfa
D3D11: Port perf queries code to the PerfQueryBase interface.
...
Remove deprecated PerfQuery methods from RenderBase.
Windows build fix.
2013-03-01 19:30:37 +01:00
degasus
ef7083d78c
also don't cleanup efb copys on efb2ram
...
these may be upscaled and this high res textures would be lost
2013-03-01 11:31:52 +01:00
skidau
4c6bbec600
Changed the maximum slice length to 1000 from 20000. This makes the emulator check external exceptions more regularly. Fixes the audio cutting in and out in the Resident Evil GC games using DSP HLE.
...
Triggered the ARAM interrupt by the scheduler instead of directly in function. Fixes a hang in Mario Super Baseball.
Fixes issue 5825.
Fixes issue 5096.
2013-03-01 20:23:55 +11:00
skidau
73da6f4f3f
Merge branch 'master' into FIFO-BP
...
# By Jordan Woyak (46) and others
# Via Jordan Woyak (2) and others
* master: (70 commits)
Fixes two memory leaks, one is pretty bad for OSX. Yell at pauldachz if this doesn't work. Or... say thanks.
Added a BluetoothEnumerateInstalledServices call so that the wiimote remembers the pairing.
Make ARMJit core default CPU core on ARM architecture
Fix a StringUtil regression from the arm-noglsl merge
Small improvement to cmpli/cmpi in ARMJit.
Merge latest ArmEmitter changes from ppsspp while we're at it.
Ah. I blame vim on this typo entirely.
Add disabled code for authenticating wiimotes on Windows.
Add the missing FPR cache
Buildfix.
Yell at the user if they change window size while dumping frames, and some other avi dumping stuff.
Not sure if this is the right way to handle this, but it makes the save states perfectly stable. That's all that really matters, right?
Abort loading states from incompatible graphics backends.
ARM Support without GLSL
Improve VideoSoftware save states. They are fairly stable, but not perfect. OpcodeDecoder::DoState() needs to be fixed.
Begin implementing save states to video software. Kind of works, sometimes.
Make error message for loading save state with wrong dsp engine shorter.
Abort load state if it uses a different dsp engine, instead of crashing.
Update the gameini of F-zero. Efb to Ram is no longer the default choice.
fix last commit by neobrain
...
Conflicts:
Source/Core/VideoCommon/Src/Fifo.cpp
2013-03-01 20:12:56 +11:00
Pierre Bourdon
a2d08d6740
Fix Dolphin starting only once then crashing at startup
2013-03-01 10:11:08 +01:00
Matthew Parlane
99cf57eb39
Fixes two memory leaks, one is pretty bad for OSX.
...
Yell at pauldachz if this doesn't work.
Or... say thanks.
2013-03-01 19:21:34 +13:00
Jordan Woyak
b0630790c1
It's 2013! Why can't I use C++11 yet!?
2013-02-28 19:42:29 -06:00
Jordan Woyak
dea1e2827d
Open std::fstream in a unicode-safe manner.
2013-02-28 19:33:39 -06:00
skidau
7a04ec6f92
Implemented proper timing for the sample counter in the AudioInterface, removing the previous hack.
...
Cleaned up some of the audio streaming code.
2013-03-01 11:51:11 +11:00
NeoBrainX
b94f65b666
Remove two incorrect lines. How did those even get there?!
2013-03-01 01:37:47 +01:00
NeoBrainX
cbf5efe191
Some cleanups.
...
PE perf metrics officially declared unsupported for the D3D9 project (out of pure laziness, anyone who cares can implement them :P).
2013-03-01 01:31:57 +01:00
NeoBrainX
1c9860246c
Build fixes for everyone!
2013-03-01 01:14:10 +01:00
NeoBrainX
7682ed22c6
Merge branch 'master' into perfqueries.
...
Conflicts:
Source/Core/VideoCommon/Src/VideoConfig.h
Source/Core/VideoCommon/VideoCommon.vcxproj.filters
Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp
Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp
Source/Plugins/Plugin_VideoSoftware/Src/Tev.cpp
2013-03-01 01:07:34 +01:00
skidau
5c4a130688
Added a BluetoothEnumerateInstalledServices call so that the wiimote remembers the pairing.
2013-03-01 10:28:42 +11:00
Ryan Houdek
bc15919e2e
Make ARMJit core default CPU core on ARM architecture
2013-02-28 16:15:32 -06:00
Rachel Bryk
0c16489c39
Merge branch 'VideoSoftware-savestates'
2013-02-28 13:36:29 -05:00
skidau
0399959c39
Skipped the EE check if there is a CP interrupt pending.
...
Fixes issue 4336.
2013-03-01 00:59:38 +11:00
Pierre Bourdon
07539b9a3f
Fix a StringUtil regression from the arm-noglsl merge
...
Fixes issue 6048. Thanks to Starscream for locating the regression.
2013-02-28 13:12:35 +01:00
Jordan Woyak
95558cdc69
Buildfix.
2013-02-28 03:11:10 -06:00
Jordan Woyak
03ec9a2e08
Kill some unnecessary c_str and use StrToWxStr in a few places that I missed.
2013-02-28 02:40:03 -06:00
Jordan Woyak
56f09d3b91
Attempt to be consistent with conversions between std::string and wxString.
2013-02-28 02:30:05 -06:00
Jordan Woyak
e82d976d2f
Buildfix for non-legacy OSes.
2013-02-27 20:55:19 -06:00
Jordan Woyak
6f87611767
Fix "Core" to build with "Unicode".
2013-02-27 20:30:57 -06:00
Jordan Woyak
536c110b31
Fix "DiscIO" to build with "Unicode".
2013-02-27 20:04:07 -06:00
Jordan Woyak
65683ebc64
Hopefully fix all filename handling to support Unicode.
2013-02-27 20:03:06 -06:00
Jordan Woyak
69f7671ee8
Fix "Common" to build with "Unicode" project setting.
2013-02-27 19:19:38 -06:00
Jordan Woyak
ea75577278
Use the new UTF-16 conversion function in two places.
2013-02-27 18:02:07 -06:00
Jordan Woyak
0ea458b4dc
Add functions for converting between UTF-8/16.
2013-02-27 18:00:42 -06:00
Ryan Houdek
9ff704f202
Small improvement to cmpli/cmpi in ARMJit.
2013-02-27 15:17:23 -06:00
Ryan Houdek
f1d727cf13
Merge latest ArmEmitter changes from ppsspp while we're at it.
2013-02-27 11:53:24 -06:00
Ryan Houdek
8c779bb242
Ah. I blame vim on this typo entirely.
2013-02-27 10:26:32 -06:00
degasus
1b8d044543
clear cg from project files
2013-02-27 10:55:25 +01:00
Jordan Woyak
6b80e6f83c
Tweak Vertex/Index buffer handling a bit.
2013-02-27 01:57:02 -06:00
Jordan Woyak
e435851e7a
Add disabled code for authenticating wiimotes on Windows.
2013-02-26 21:13:35 -06:00
Ryan Houdek
692e39d1bb
Merge branch 'arm-noglsl'
2013-02-27 02:22:08 +00:00
Ryan Houdek
be7643cd2d
Add the missing FPR cache
2013-02-27 02:15:32 +00:00
Jordan Woyak
a680d17eef
Buildfix.
2013-02-26 19:59:33 -06:00
Jordan Woyak
f1c990069c
Yell at the user if they change window size while dumping frames, and some other avi dumping stuff.
2013-02-26 20:47:48 -05:00
Rachel Bryk
08fe3c213a
Abort loading states from incompatible graphics backends.
2013-02-26 18:28:56 -05:00
degasus
a650ae8c7b
workaround for base vertex. damn old nvidia driver
2013-02-26 23:15:55 +01:00
Ryan Houdek
717b976875
ARM Support without GLSL
2013-02-26 13:49:00 -06:00
degasus
4883fa268f
Split VideoBackend::Cleanup from Shutdown.
...
First is called from ogl/d3d thread, second is called from emulation thread (x11...)
2013-02-26 16:42:32 +01:00
degasus
90ff648d00
shader cache based by git revision
2013-02-26 10:48:19 +01:00
degasus
8b7141d3de
Revert "Fix performance issues on certain legacy graphics hardware that isn't capable of copying an integer."
...
This reverts commit 380f22ca0e
.
Yeah, reverting a revert.
2013-02-26 08:57:35 +01:00
skidau
e69c58ee89
Removed the disc seek times for GC games and removed the disc speed option on Wii games.
...
Checked for external exceptions only in mtmsr.
Fixes issue 5545.
2013-02-26 18:10:02 +11:00
Jordan Woyak
380f22ca0e
Fix performance issues on certain legacy graphics hardware that isn't capable of copying an integer.
...
This reverts commit 52dacaa3e3
.
2013-02-25 20:52:30 -06:00
Jordan Woyak
bd14ad5300
Merge branch 'master' into vertex-loader-cleanup
2013-02-25 17:55:44 -06:00
Jordan Woyak
46adbfa9ed
Merge branch 'real-wiimote-scanning'
2013-02-25 17:33:34 -06:00
Rachel Bryk
e5c53e371f
Make error message for loading save state with wrong dsp engine shorter.
2013-02-25 18:12:48 -05:00
Rachel Bryk
a450ba4420
Abort load state if it uses a different dsp engine, instead of crashing.
2013-02-25 15:58:12 -05:00
degasus
d173d646de
fix last commit by neobrain
2013-02-25 16:11:24 +01:00
NeoBrainX
73a0bdd379
Build fixing.
2013-02-25 12:42:52 +00:00
NeoBrainX
1141af64f6
TextureCacheBase: Do not assume EFB copies can safely be deleted when we think they're "unused".
...
Fixes issue 6040.
2013-02-25 12:36:50 +00:00
Jordan Woyak
6b2804e296
Possible crashfix for OSX.
2013-02-24 22:29:33 -06:00
degasus
c86b892f95
Revert "remove numTexGens=7 hack. only cg wasn't able to handle more then 8 texcoords"
...
This reverts commit 4653adecf1
.
Also dx9 isn't able to hanlde more than 11 varying registers.
More frustrating is the lightning issue by this commit. I don't know why it happens...
2013-02-24 20:51:44 +01:00
skidau
dc98ce5922
Added the addeo instruction to the JIT tables. Fixes Inkub (WiiWare).
2013-02-24 23:05:12 +11:00
skidau
6b28b3929a
Delayed the interrupts in the EXI Channel.
...
Fixes issue 5580.
2013-02-24 21:32:14 +11:00
skidau
40b65fdc04
Merge aram-dma-fixes (r76a13604ef49b522281af75675f044d59a74e871)
2013-02-24 17:10:33 +11:00
Jordan Woyak
52dacaa3e3
Make the posmtx vertex attribute an int instead of converting to and from a float.
2013-02-23 20:54:30 -06:00
skidau
ae566d6b3c
Merge branch 'aram-dma-fixes' into FIFO-BP
...
# By Pierre Bourdon
# Via Pierre Bourdon
* aram-dma-fixes:
Simulate a small delay on GC Memcard operations
2013-02-24 00:11:11 +11:00
Matthew Parlane
c30b8c9eae
Merge branch 'master' into wii-network
...
Conflicts:
Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp
2013-02-23 17:02:58 +13:00
Jonathan Jones
ba979582e2
Makes the "No banner" banner image theme-able. Current "sexy X" banner included as part of "Boomy" theme.
...
Fixes issue 6023.
2013-02-22 15:30:07 -05:00
degasus
0a05fcade4
fix glsl compilation error on intel
2013-02-22 12:19:52 +01:00
degasus
d9adc26332
real Star Fox fix
2013-02-22 12:14:39 +01:00
Jordan Woyak
86935ab4fd
forceinline IndexGenerator::WriteTriangle
2013-02-22 03:22:20 -06:00
degasus
e270c8b153
fix Star Fox
2013-02-22 09:54:19 +01:00
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
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
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
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
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
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
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
degasus
334bd52f2c
NaNs handling in pixel shader
2013-02-15 15:46:31 +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
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
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
Matthew Parlane
3d480c088f
Merge branch 'master' into wii-network
...
Conflicts:
Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
2013-02-09 20:13:11 +13: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
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
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
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
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
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
Matthew Parlane
e62c9b0619
Silly windows. Billiard laughed at me :(
2013-02-03 00:35:49 +13: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
Matthew Parlane
d05b029b0e
Poll gets it's own socket.
...
Moved send function back to non async handler.
This was needed to fix one part of GH5.
2013-02-02 22:42:27 +13: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
Matthew Parlane
6b8bb1b692
lock_gaurds in spaaaaaaaaaccccce.
2013-02-01 20:27:22 +13:00
Matthew Parlane
f43567e2b3
Lambda. Billiard. Tree. Forest. Spaaaaaaccccceeeee.
2013-02-01 18:55:27 +13:00
Glenn Rice
f7fa33f2d6
Fix remaining compiler warnings.
2013-01-31 15:29:29 -06:00
Matthew Parlane
33b0a11747
Merge branch 'master' into wii-network
2013-02-01 01:32:54 +13:00
Matthew Parlane
a0a09ed07a
Started threading of network. Good results so far.
2013-02-01 01:32:14 +13: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
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
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
Matthew Parlane
bca2cac640
keys.bin support added.
...
Remove hollywood id from config.
Tidy HLE_Device_es.h (maybe)
Added const params to crypto stuff.
2013-01-29 01:18:53 +13:00
Matthew Parlane
2dd077028f
Merge branch 'master' into wii-network
2013-01-28 22:00:47 +13:00
Matthew Parlane
ed9ef874e5
Double hash was not needed.
...
Use current keys.
2013-01-28 21:59:37 +13:00
Matthew Parlane
ca4ea817e0
Merge branch 'master' into wii-network
...
Conflicts:
Source/Core/Common/Src/CommonPaths.h
Source/Core/Common/Src/FileUtil.h
Source/Core/Core/Src/HLE/HLE.cpp
Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp
2013-01-26 21:46:12 +13:00
Matthew Parlane
1083884b8b
Windows couldn't convert.
2013-01-26 18:48:02 +13:00
Matthew Parlane
a354f47f98
Fixes for POLL on Linux and Mac.
2013-01-26 18:22:58 +13: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
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
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
Pierre Bourdon
1612225e79
Implement AXWii command 01: ADD_TO_LR
2013-01-21 11:51:55 +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
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
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
Jordan Woyak
5ff77f9c88
Fix emulated turntable crossfade slider. (DJ Hero controller)
...
Fixes issue 4504.
2013-01-18 13:42:44 -06: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
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
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
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
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
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
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
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
ff889c0e65
use attrib pointers in nativeVertexFormat
2013-01-14 22:59:08 +01: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
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
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
Matthew Parlane
1deeff47c1
Merge branch 'master' into wii-network
2013-01-14 00:21:09 +13:00
Matthew Parlane
20b43ac1c5
Fix a bug introduced by me when I thought I was fixing something.
...
Thanks skidau.
Fixes Mario Kart Wii not being able to write.
This was caused by reuse of a buffer containing an error code.
2013-01-14 00:16:10 +13: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
Matthew Parlane
6e58c50065
Merge branch 'master' into wii-network
2013-01-13 15:13:56 +13:00
Rachel Bryk
6f391a2df0
Set focus on memcard manager after losing it.
2013-01-12 20:47:02 -05: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
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
skidau
73140c7da7
Skipped timestretching if the emulator is running below 10% speed to prevent buffer overflows.
2013-01-11 23:06:20 +11:00
Matthew Parlane
764e155a76
Fix read/write registers.
...
Fix read/write register support for r0 - rF.
Reshuffle to have reads/writes together in code.
2013-01-12 00:53:17 +13:00
Matthew Parlane
465df943a5
Merge branch 'master' into wii-network
2013-01-12 00:01:27 +13:00
degasus
60b8e4fb1c
vertex shader for texture converter
2013-01-11 11:59:42 +01:00
Matthew Parlane
65072ad6fb
The real fix. Not sure why my build ever worked.
2013-01-11 23:58:47 +13:00
Matthew Parlane
8700d85517
Test fix for ubuntu build.
2013-01-11 23:51:29 +13:00
Matthew Parlane
9754fda516
Merge branch 'wii-usb' into temp merge branch
...
Conflicts:
Source/Core/Common/Src/Log.h
Source/Core/Core/Core.vcxproj
Source/Core/Core/Core.vcxproj.filters
Source/VSProps/Dolphin.Win32.props
Source/VSProps/Dolphin.x64.props
2013-01-11 23:07:12 +13: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
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
Matthew Parlane
9af785532e
Fix reference to deleted object bug. This should fix channels not loading from sysmenu anymore.
2013-01-09 09:22:36 +13: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
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
Matthew Parlane
e8624cc0f2
Merge branch 'gdbstub' into wii-network
...
Conflicts:
Source/Core/Core/Src/ConfigManager.cpp
2013-01-08 21:21:05 +13:00
Matthew Parlane
5b96fb766f
Merge branch 'master' into wii-network
2013-01-08 21:18:48 +13:00
Matthew Parlane
936b047b12
Fixed bug on entry that caused first step to trigger two stops at start.
2013-01-08 20:56:26 +13:00
Matthew Parlane
1211a67191
Missed an ifdef.
2013-01-08 20:32:10 +13:00
Matthew Parlane
0ec7ef4b99
Merge branch 'master' into gdbstub
2013-01-08 20:27:34 +13:00
Matthew Parlane
9f13e69be4
GDB Stub now works with ida and gdb.
...
Implemented stepping correctly.
TODO:
Peek incoming data to socket for an interrupt.
Memory breakpoints.
Fix bug with initial step from entry point.
Tidy up code.
Wishlist:
Implement some common query packets.
Jit support.
2013-01-08 20:26:07 +13: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
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
Matthew Parlane
b7fd1225ba
Started gdb stub support.
2013-01-06 23:28:27 +13: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
Matthew Parlane
67d0e66af4
Add generate id support.
...
Add hollywood id to config file.
SSL and WC24 have their own logs now.
2013-01-04 22:36:44 +13:00
Matthew Parlane
5e4e2ef852
It should be signed.
2013-01-04 22:36:44 +13: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
Glenn Rice
3da05af30a
Fix truncated names and descriptions in the game list on linux.
2013-01-03 10:35:07 -06: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
Rachel Bryk
20b50026ca
Fix a merge conflict: all the cool kids just delete any code that doesn't automerge, without considering how easy it'd be to do manually.
2013-01-01 10:29:00 -05:00
Matthew Parlane
cbab60e8b4
Get rid of comparison between signed/unsigned warnings and others.
2013-01-02 00:42:33 +13:00
Matthew Parlane
47681ea08d
Possibly fix build for mac.
2013-01-02 00:19:00 +13:00
Matthew Parlane
e0c9a1fd09
Merge branch 'master' into wii-network
...
Conflicts:
Source/Core/Common/Src/CommonPaths.h
Source/Core/Core/CMakeLists.txt
Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp
Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp
Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp
2013-01-01 23:28:46 +13:00
Matthew Parlane
08cc460e96
This was not obvious from API docs :( Fixed Win32 builds.
2013-01-01 19:49:45 +13:00
Matthew Parlane
b5ec660905
Async USB HID :D
2013-01-01 19:24:53 +13:00
Matthew Parlane
8fdc8af1cb
Thread safe enq_reply.
2013-01-01 19:24:00 +13:00
Matthew Parlane
d3f199273b
Fix warning level... someone let me commit this to master ;D
2013-01-01 19:23:45 +13:00
skidau
3fd1b4ee83
Removed some debug testing code.
2013-01-01 15:13:18 +11:00
Matthew Parlane
f695f088a7
Add usb thread to check for usb updates.
2013-01-01 16:53:59 +13: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
9411c0ac27
Merge branch 'master' into wii-usb
2013-01-01 15:41:09 +13:00
Matthew Parlane
c728ef2cd3
Last warning for me on Linux.
2013-01-01 14:42:30 +13:00
Matthew Parlane
40a6649dfe
Fix unique_id creation, damn sign extension!
...
Cleanup removed devices.
2012-12-31 20:51:10 +13:00
Matthew Parlane
cda82eb1fc
Left in a ret value.
2012-12-31 18:20:16 +13:00
Matthew Parlane
90ce6ad371
Better warning for windows.
2012-12-31 18:15:52 +13:00
Matthew Parlane
c1b8aa75f2
Tidy up and fix for my Windows crash :D
2012-12-31 18:05:38 +13:00
Matthew Parlane
4f280d1ad8
Merge branch 'master' into wii-usb
2012-12-31 15:53:12 +13:00
Matthew Parlane
4c374cd58a
Improve file search speeds by deleting an unused file.
2012-12-31 15:27:36 +13:00
Pierre Bourdon
bcf1f54c65
Optimized the Dolphin SEO process a bit
2012-12-31 02:31:55 +01:00
Matthew Parlane
21fa664c2d
Hopefully fix win32 build issues.
2012-12-31 03:51:34 +13:00
Matthew Parlane
5240d28776
Small fixes.
2012-12-31 01:50:16 +13:00
Matthew Parlane
200cabc4a5
Merge branch 'master' into wii-usb
2012-12-31 01:09:27 +13:00
Matthew Parlane
510e08370e
Now supports hotplugging.
...
Much more stable but slow.
Still missing proper cleanup of old handles.
2012-12-31 01:08:41 +13: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
Matthew Parlane
29f91eef97
Merge branch 'master' into wii-usb
2012-12-30 21:37:45 +13:00
Ryan Houdek
e5d5365bac
Fix the last few warnings in Dolphin on my system.
2012-12-30 02:34:14 -06:00
Matthew Parlane
35466fb54f
Remove saving of debug file.
2012-12-30 17:48:33 +13:00
Matthew Parlane
86acde92e0
Merge branch 'master' into wii-usb
2012-12-30 17:09:35 +13:00
Matthew Parlane
3b459fb500
Add better FindLibUsb support for MacOSX.
...
Make LibUSB optional, don't compile HID support if it doesn't exist.
A lot less hacky. Works quite well on Ubuntu now.
2012-12-30 16:57:37 +13: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
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
Matthew Parlane
13bd235c11
Merge branch 'master' into wii-usb
2012-12-29 17:47:52 +13:00
Matthew Parlane
de0798f4f7
More stable hackyness. :)
2012-12-29 17:46:44 +13: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
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
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
rog
2fd1c9e7c2
Allow setting cpu engine and whatever bHLE_BS2 is from game ini.
2012-12-27 09:42:20 -05:00
Matthew Parlane
bc385cbdd8
libusb 1.0 hacky working on linux.
2012-12-28 01:26:20 +13: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
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
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
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
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
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
degasus
78ff8a769c
Merge branch 'osx-savegame-fix'
2012-12-24 13:30:59 +01:00
Matthew Parlane
f6418bd093
Merge branch 'master' into wii-usb
2012-12-24 12:58:15 +13:00
Matthew Parlane
d9dd94ac8b
Add Libusb to cmake and HID files.
2012-12-24 12:58:11 +13:00
Matthew Parlane
c626d5aae3
Move to 1.0 libusb.
2012-12-24 08:31:50 +13: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
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
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
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
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
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
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
rog
1917f83244
Cleanup and misc movie fixes.
2012-11-25 19:26:37 -05:00
rog
0c6dad6a37
Clear unneeded variables upon stopping emulation.
2012-11-24 18:27:20 -05:00
rog
d26c7fea17
Remove old, unused code.
2012-11-24 01:40:34 -05:00
rog
f251704df2
The trick to multithreaded emulation is to include thread.h more than once.
...
Also, rewords some awkardly written messages.
2012-11-24 01:15:26 -05:00
rog
a374f9f049
Check md5 when recording from save state too.
2012-11-23 22:47:32 -05:00
rog
ca650d4435
Record md5 of game file to .dtm, and check it when playing back.
2012-11-23 22:23:58 -05:00
skidau
085c81da86
Mapped the addco and subfco PowerPC instructions. Fixes Frogger: Hyper Arcade Edition.
2012-11-24 00:04:28 +11:00
NeoBrainX
0fcb246b7e
Enable GFX debugger functionality in Release builds.
2012-11-20 17:54:48 +01:00
Pierre Bourdon
9d85052a66
Implement Wiimote audio output in AXWii. Not very useful yet as no sound is currently being mixed to the wiimote channels.
2012-11-20 11:34:49 +01:00
Pierre Bourdon
affdf08fd6
Real fix for the crashes on Windows with AXWii
2012-11-20 09:49:27 +01:00
Pierre Bourdon
e858835c7e
Fixing the hack fix (I can't multiply 32x32)
2012-11-20 04:26:07 +01:00
Pierre Bourdon
0d3c3f6339
Fix a crash in AXWii with SRC ratio > 4 (which I thought was impossible, but AXWii changed the SRC algorithm)
2012-11-20 04:18:48 +01:00
Pierre Bourdon
321e3a8421
Add global volume handling for AUX mixing and L/R output in AXWii
2012-11-20 03:32:29 +01:00
Pierre Bourdon
ae85159a94
Add surround sound support to GC AX HLE
2012-11-20 03:22:24 +01:00
Pierre Bourdon
954c55e35a
New AXWii now working properly in some games I tested
2012-11-20 03:13:55 +01:00
Pierre Bourdon
e750bed2a9
Rename NewAX -> AX and remove the old code. Time to work on AXWii.
2012-11-19 22:03:56 +01:00
NeoBrainX
4f652c4086
Partially revert "Check if BP and XF changes actually change values before flushing". Dolphin code sucks too much to get optimizations.
...
This reverts commit 5a77cae2e3
.
Fixes issue 5459.
Fixes issue 5606.
2012-11-19 21:09:31 +01:00
parlane
d7e65f03e4
Fix indentation [ using the web editor D: ]
2012-11-19 19:44:44 +00:00
Pierre Bourdon
4f88fee560
Added a small TODO list of things missing in NewAX
2012-11-19 20:25:57 +01:00
Pierre Bourdon
3541d33c25
Support both versions of the mixer_control bitfield. Fixes Skies of Arcadia music being muted (and sounds being mixed only on the left audio channel), this time without a hack.
2012-11-19 20:10:37 +01:00
NeoBrainX
4ff9e03509
Merge branch 'efb_scaling_fixes'.
2012-11-19 13:18:57 +01:00
NeoBrainX
b02bb7617f
Fix some fractional EFB scaling issues.
2012-11-19 13:10:32 +01:00
parlane
9345501388
Dolphin was crashing after attempting to use a NULL on macosx.
...
(turns out that passing NULL to string cmp funcs has "undefined behavior".)
Thanks to Grant Paul for this quickfix!
2012-11-19 03:19:51 +00:00
rog
69e8942dac
Fixes pausing movies for some 30 fps games, in some situations.
...
Thanks abahbob for testing.
2012-11-18 01:07:48 -05:00
XtraFear
d6697d50c7
Added option to toggle the display of On-Screen Display messages in the Interface tab.
2012-11-16 23:54:48 +01:00
NeoBrainX
a135512f9b
Build fix.
...
Fixes issue 5674.
2012-11-16 23:46:28 +01:00
rog
3a8e8af2d5
Merge movie-fixes.
2012-11-16 12:07:22 -05:00
rog
101de62c86
Remove an old TODO, and add a new one.
2012-11-16 12:03:51 -05:00
NeoBrainX
f88e7d3b73
Fix an off-by-one error.
2012-11-16 14:29:11 +01:00
NeoBrainX
a38bb488d2
Remove Renderer::xScale and Renderer::yScale.
2012-11-16 14:29:09 +01:00
NeoBrainX
78031c2d54
Move ComputeDrawRectangle() to Renderer::UpdateDrawRectangle().
2012-11-16 14:25:49 +01:00
Pierre Bourdon
c8b2ba1bc6
Implement the MORE command (0D) used to read more commands from the CPU
2012-11-16 07:51:19 +01:00
Braden
a024d04583
Patch by mwessel that fixes real wiimotes on OSX 10.8
2012-11-15 21:30:19 -06:00
X-tra Fear
5170d65711
Fixed last commit.
2012-11-15 14:47:51 -05:00
Pierre Bourdon
5a2d8661d7
Add comments explaining how the voice processing works
2012-11-15 16:57:33 +01:00
Pierre Bourdon
aa90f799b7
Re-implementation of the AX voice mixing algorithm. Now with 100% less WTF.
2012-11-15 16:30:05 +01:00
rog
25a1979b22
Merge https://code.google.com/r/xtrafear-dolphin-emu
2012-11-14 17:27:46 -05:00
rog
14aa7150d9
Add option for author name for movies. Also, minor cleanup for previous options i've added.
2012-11-14 16:23:20 -05:00
X-tra Fear
11fc13aea4
Fixed WiiMotes disconnecting when ES_LAUNCH is ran.
2012-11-14 16:12:25 -05:00
rog
f5a3379d71
Add config option for mac address. Fixes issue 5694.
2012-11-14 14:28:38 -05:00
Pierre Bourdon
531cc6aaf3
Fixed AUXB_NOWRITE command number and implemented UPLOAD_LRS command (06)
2012-11-14 18:08:29 +01:00
Pierre Bourdon
f84f15c5bf
Oops, forgot a memset which removed all AUX effects
2012-11-14 18:03:55 +01:00
Pierre Bourdon
a630357c9e
Add AUX mixing support as well as a send&return effect implementation
2012-11-14 17:55:16 +01:00
Matthew Parlane
b01489b2da
Merge branch 'master' into wii-usb
2012-11-15 01:19:02 +13:00
Matthew Parlane
d8b879a4ee
Movd back to libusb for full support on windows
2012-11-15 01:09:25 +13:00
Pierre Bourdon
61c1fab2c6
Fix Windows support again: std::thread can't take a member pointer with StdThread.h from Common
2012-11-14 12:13:19 +01:00
Pierre Bourdon
db46ccd175
More accurate mixing buffers initialization using parameters from command 00
2012-11-14 12:08:41 +01:00
Pierre Bourdon
24d430eba0
Add NewAX to the VC++ project files
2012-11-14 11:32:57 +01:00
Pierre Bourdon
6a1241c03e
Make a hack optional to fix 48KHz output mode with NewAX
2012-11-14 11:25:27 +01:00
Pierre Bourdon
0b275c20af
Added output support to NewAX. Now working fine with Tales of Symphonia.
2012-11-14 11:20:54 +01:00
Pierre Bourdon
18f3630af5
PBs processing is now done, just need the output to be able to test
2012-11-14 06:53:36 +01:00
Pierre Bourdon
7535c6d903
Parse the AX command list in the AX thread
2012-11-14 06:15:55 +01:00
Pierre Bourdon
9e813502ac
Create a new thread for AX and make it handle the command lists
2012-11-14 05:33:04 +01:00
Pierre Bourdon
3195916744
Basic infrastructure for the new AX HLE, currently not doing anything besides answering mails
2012-11-14 05:08:04 +01:00
Pierre Bourdon
e4d18e3a8b
Bound the iteration on the PB list when processing updates.
...
Fixes freezes introduced in 3.0-807 with DSPHLE on some AX games.
Apparently logic doesn't apply inside the HW/DSPHLE/UCodes directory.
2012-11-13 16:50:42 +01:00
Pierre Bourdon
16060290c2
Fix missing notes in musics with DSPHLE.
...
Tales of Symphonia and Skies of Arcadia Legends now have working musics with
DSPHLE. Some other games with the same symptoms (missing instruments) should
probably be fixed by that change too.
2012-11-13 09:37:44 +01:00
rog
8fe5aa4ee8
movie cleanup
2012-11-12 20:40:11 -05:00
rog
8eb6f9002e
Fixes interpreter when not recording or playing back a movie.
2012-11-12 20:20:34 -05:00
Matthew Parlane
586813b150
Basic HID works on windows! I had to customise HIDAPI.
2012-11-13 00:14:47 +13:00
Matthew Parlane
0caf693d1c
Merge branch 'master' into wii-usb
2012-11-12 19:19:05 +13:00
Matthew Parlane
d188233b13
Moving to libHID
2012-11-12 19:12:10 +13:00
rog
a5d210129d
Add an on screen lag counter.
2012-11-11 17:57:06 -05:00
rog
35e5a1e592
Add an option to pause on the last frame of a movie.
2012-11-10 21:57:31 -05:00
Rog
e8c0fea16e
Retain dsp JIT setting when switching to HLE. Fixes issue 5691.
2012-11-09 12:08:56 -05:00
Rog
ab48e1154b
Stop saving undo buffer (and associated .dtm, and .sav) when starting playing back a movie from save state. This is completely useless, and just wastes time copying save states around.
2012-11-08 23:25:55 -05:00
Pierre Bourdon
d13163380d
Bye mamario, you won't be missed
2012-11-02 02:48:55 +01:00
sulokuTDCmago
d032c40a58
- Added a new wilcard for importing savegames, which basically shows all saves (gci, gcs and sav). This is set as default (I really got frustrated of having to change the type every single time when making tests for GCMM, and I think it makes more sense at user level to just show all saves regardless the format)
...
- In icon retrieving I removed the "format check" as it shouldn't really matter to have mixed icon formats. Also removed the "Time splitters hack" as there's no reason for it since we are only checking the last 3 bits and I'm pretty sure having bits 1 and 2 set is the same as having them unset.
- Icon retrieving uses AnimSpeed as stop signal (every icon must have an speed set, the first speed that is 0 means there are no more icons)
- Also, in icon retrieving I added support for "blank frames"(Luigi's Mansion and Pikmin that I know of). With this the base for icon animation is complete.
- Fixed PSOIII savegame patch which was wrong before.
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-10-29 21:02:59 -07:00
Sonicadvance1
5dd49edaec
Badaboom. Add in Memory include to CDUtils.cpp
2012-10-30 02:45:42 +00:00
skidau
303b0f6b6d
Test the audio loop with aligned addresses. Fixes the high pitched squeal in Muramasa.
2012-10-29 14:03:28 +11:00
skidau
882d5161f8
Merge branch 'Capcom-Music-Loop'
...
* Capcom-Music-Loop:
Removed the fake DMA wait time as it is no longer needed after the aram-dma-fixes branch is merged. This fixes the Resident Evil 2/3 cutscene audio in DSP LLE mode. Fixes issue 2723.
Changed the loop end address detection to an exact match with the current address for ADPCM audio. Fixes the non-looping music in PN03.
2012-10-28 13:36:34 +11:00
rodolfoosvaldobogado
ee72852491
implement some code to reduce the amounts of calls to setup vertex format, in d3d9 it gives no noticeable speedup, in opengl it still does not work right.
...
thanks to neobrain for the idea
2012-10-26 23:18:09 -03:00
rog
95d55ed1c7
fixes for backing up wii saves when playing a movie
2012-10-26 20:04:06 -04:00
rog
8921fe0d09
move wii saves to a backup if playing a movie that starts with no save
2012-10-26 17:36:18 -04:00
rodolfoosvaldobogado
eaa1ea71c1
Implement the new buffer approach in opengl. sadly in my machine it gives my only 2 more fps and if your hardware does not support ARB_map_buffer_range is even slower than plain vertex arrays.
...
change naming in all the backends vertex managers to make more easy to continue with the merge an some future improvements.
please test this as i'm interested in knowing the performance in linux and windows with the different hardware platforms.
2012-10-26 11:34:02 -03:00
rog
0bc2021284
save if a wii game's save data exists when starting recording. Probably not the best way to do this, and could result in a false negative if banner.bin exists, but the actual save file doesn't, but this should work well enough.
2012-10-25 03:15:54 -04:00
rog
8dfb12da3e
stuff
2012-10-24 23:21:34 -04:00
rog
76a6917fdf
Check game ID against what is recorded to the .dtm
2012-10-24 19:42:04 -04:00
rog
7ee455ce3b
When beginning recording, check settings in Init() instead of just in BeginRecordingInput(), since it's called after bootmanager.cpp reads the game's config.
2012-10-24 18:44:26 -04:00
rog
7006cd1217
i'm still not using a branch to fix the name of a variable
2012-10-24 15:32:02 -04:00
rog
4358f8384f
readd memory card detection for movie code. I deleted this before, intending to move it elsewhere, but never did
2012-10-24 15:16:41 -04:00
rog
a1186d84df
update state version
2012-10-23 02:31:16 -04:00
rog
5133ac551b
merge relevant changes from bc61dbdf58a8 in otu0001-desync-fix clone
2012-10-23 02:10:49 -04:00
skidau
421a75493c
Removed the fake DMA wait time as it is no longer needed after the aram-dma-fixes branch is merged. This fixes the Resident Evil 2/3 cutscene audio in DSP LLE mode. Fixes issue 2723.
...
Removed the ADPCM format detection from the previous commit as it broke the audio looping in Knockout Kings 2003.
2012-10-23 00:30:01 +11:00
skidau
b2a01dc348
Changed the loop end address detection to an exact match with the current address for ADPCM audio. Fixes the non-looping music in PN03.
...
Fixes issue 3998.
2012-10-22 22:59:35 +11:00
NeoBrainX
f7edfc0118
FifoPlayer: Copy selected object commands to clipboard when pressing ctrl+c
2012-10-22 12:32:57 +02:00
rog
aece5310f3
more movie cleanup. Removes the remaining globals that didn't need to be global, rearranges some code to make more sense, and removes some redundant code.
2012-10-21 23:20:28 -04:00
rog
9070e7ff8c
misc movie cleanup and fixes
2012-10-20 22:26:40 -04:00
rog
92d2f5dee2
keeping padding right is so hard
2012-10-20 15:58:29 -04:00
NeoBrainX
069d949a57
[cleanup] TextureCache: Kill the autogen_mipmap parameter
2012-10-20 21:07:02 +02:00
NeoBrainX
ee3d6d66d7
[cleanup] [bugfix] TextureCacheBase: Cleanup and simplify mipmapping logic. Possibly fixes a bug or two.
2012-10-20 21:07:02 +02:00
NeoBrainX
c859aaae84
[optimization] TextureCacheBase: Slightly loosen the requirements for reusing mipmapped textures
2012-10-20 21:07:02 +02:00
rog
a6028b055b
Save disc changes to .dtm, and load the full movie header every time it's loaded.
2012-10-20 14:40:16 -04:00
rodolfoosvaldobogado@gmail.com
5230146c73
Hey, long time no commits :).
...
So to compensate lets bring back some speed to the emulation.
change a little the way the vertex are send to the gpu,
This first implementation changes dx9 a lot and dx11 a little to increase the parallelism between the cpu and gpu.
ogl: is my next step in ogl is a little more trickier so i have to take a little more time.
the original concept is Marcos idea, with my little touch to make it even more faster.
what to look for: SPEEEEEDDD :).
please test it a lot and let me know if you see any problem.
in dx9 the code is prepared to fall back to the previous implementation if your card does not support the amount of buffers needed.
So if you did not experience any speed gains you know where is the problem :).
for the ones with more experience and compression of the code please test changing the amount and size of the buffers to tune this for your specific machine.
The current values are the sweet spot for my machine.
All must Thanks Marcos, I hate him for giving good ideas when I'm full of work.
2012-10-20 10:22:15 -03:00
rog
0384f61af3
re-rearrange movie code so it actually works all of the time
2012-10-19 19:43:03 -04:00
rog
b1dee5fc23
small fix for undo load state while not recording
2012-10-18 04:40:56 -04:00
rog
79692a6c78
save settings necessary for syncing a movie to the .dtm, and load them upon playback
2012-10-18 04:18:40 -04:00
rog
783409c765
clear the save state loaded from a previous movie when starting emulation
2012-10-18 04:14:25 -04:00
rog
6b99b746c8
fix undo load state and load last overwritten state while recording
2012-10-18 04:11:14 -04:00
rog
7f624cda10
fix recording from save state
2012-10-18 04:03:12 -04:00
rog
a366521d13
Correct the hotkey labels for undo load state, and load last overwritten state buttons
2012-10-18 03:30:44 -04:00
Ryan Houdek
57426ee726
Forced commit
2012-10-13 13:00:04 -05:00
Ryan Houdek
3f0d7312fa
A couple missed lines on the rebase.
2012-10-13 12:43:00 -05:00
Ryan Houdek
10666a9b87
More 'stuff'
2012-10-09 23:56:00 -05:00
Ryan Houdek
eb7a0c485a
More "stuff" for SS, also a small fix in the program shader cache cache setup."
2012-10-09 23:56:00 -05:00
Ryan Houdek
71f6b1eec6
Change 'stuff'
2012-10-09 23:56:00 -05:00
Ryan Houdek
03b09bed5d
Get the program binary type correctly or else ATI makes massive (~400MB) shader caches. Also, don't need the line in the PixelShaderGen.
2012-10-09 23:56:00 -05:00
Ryan Houdek
2e15440896
Add support for Dual source blending to older ATI cards that don't support 420pack but do support GL_ARB_blend_func_extended. This is more proper as well anyways.
2012-10-09 23:56:00 -05:00
Ryan Houdek
e88d35d1c1
Had a few vec4 and float4(0) calls floating around.
2012-10-09 23:55:59 -05:00
Shawn Hoffman
31a8424bcc
fix formatting uglies introduced in glsl-master branch
2012-10-09 23:54:17 -05:00
Shawn Hoffman
4a4833e617
default to GLSL instead of Cg
2012-10-09 23:43:22 -05:00
Ryan Houdek
9996f27120
Give OSX users more of a chance of supporting Single pass DSB in the future.
2012-10-09 23:42:41 -05:00
Ryan Houdek
d012c75005
Implement Program shaders cache. Seems to reduce a small amount of stuttering when F-Zero starts. Did it because I can :|
2012-10-09 23:42:41 -05:00
Ryan Houdek
c76593f6a2
Looky, OSX found an issue for me.
2012-10-09 23:42:40 -05:00
Ryan Houdek
7aad45658e
Add a GUI option to use GLSL shaders. Also fix a small typo.
2012-10-09 23:42:39 -05:00
Ryan Houdek
7f12daa014
Looks like we make use of fmod, make a GLSL function for it!
2012-10-09 23:41:49 -05:00
Pierre Bourdon
3bcec51334
More coding style fixes because I suck at sed
2012-10-09 23:41:48 -05:00
Pierre Bourdon
3c6d0fc710
8 spaces indentation -> tabs
2012-10-09 23:41:48 -05:00
Ryan Houdek
5b06bbf87d
Use UBOs in every shader. I had missed a few. Only cache Uniform locations if we aren't using UBOs.
2012-10-09 23:41:06 -05:00
Ryan Houdek
5bcbf92f43
Make sure to support everything even if GPU doesn't.
2012-10-09 23:41:06 -05:00
Ryan Houdek
d4a80ca3ec
yay, UBOs work 100% now.
2012-10-09 23:41:05 -05:00
Ryan Houdek
1f75ee49bf
UBO works for Pixel Shaders if Binding for UBO is zero, otherwise fails. Probably why Vertex shader UBO is failing. Too tired to investigate right now.
2012-10-09 23:41:05 -05:00
Ryan Houdek
b105d70339
Firin ma lazer
2012-10-09 23:41:05 -05:00
Ryan Houdek
c82b92bfc2
Fix one error.
2012-10-09 23:41:05 -05:00
Ryan Houdek
2fbca145cb
Remove bSupportsGLSLLocation since it won't work how I expect it.
2012-10-09 23:41:05 -05:00
Ryan Houdek
4a84c6f742
Add in UBOs, doesn't work yet. Still debugging here.
2012-10-09 23:41:05 -05:00
Ryan Houdek
76e5766a1b
Put Vertex Uniforms in to the correct places to get ready for UBOs.
2012-10-09 23:41:04 -05:00
Ryan Houdek
d897491f94
Few compiler errors that got exposed once I got Dual Source Blending working. Seems it isn't working quite 100% either. Good chance I missed something anyway.
2012-10-09 23:41:04 -05:00
Ryan Houdek
d83ead5914
Support Dual Source Blending in OGL plugin with GLSL.
2012-10-09 23:39:16 -05:00
Ryan Houdek
eff019442f
Playing through SSBM story made me find this.
2012-10-09 23:37:52 -05:00
Ryan Houdek
b24990ca28
Bit of cleanup. Clean up my massive hack in the ShaderManagerFiles. Almost feature parity with Nvidia CG now I think. Just need to do Alpha test with Dual source blending now.
2012-10-09 23:37:52 -05:00
Ryan Houdek
cf68cc0c61
Add support for GL_ARB_shading_language_420pack so we don't have to binding sampler locations. Also add support for GL_ARB_separate_shader_objects which doesn't currently work for some reason....investigating.
2012-10-09 23:37:52 -05:00
Ryan Houdek
8058f2f32f
Missed one
2012-10-09 23:33:02 -05:00
Ryan Houdek
9064b76deb
Shader Compile fixes. Played SMS for two shines.
2012-10-09 23:33:02 -05:00
Ryan Houdek
7cec31dbf3
Almost there.
2012-10-09 23:33:02 -05:00
Ryan Houdek
8123b137aa
This is the terrible bit that can't be removed until we use UBOs in the GLSL shaders.
2012-10-09 23:31:31 -05:00
Ryan Houdek
0fc755c4df
More stuff
2012-10-09 23:31:31 -05:00
Ryan Houdek
66a5334158
moe
2012-10-09 23:30:48 -05:00
Ryan Houdek
3943840d5c
Now CG plays nice with this new stuff.
2012-10-09 23:27:59 -05:00
Ryan Houdek
a357c77257
Add in GLSL setting again.
...
PS and VS making. Untested and won't work for now.
Add in program shader cache files.
Readd NativeVertexFormat stuffs.
Add in PS and VS cache things.
SetShaders in places.
Fixed EFB cache index computations in OpenGL renderer.
The previous computation was very likely to go out of array bounds,
which could result in crashes on EFB access.
Also, the cache size was rounded down instead of up. This is a problem
since EFB_HEIGHT (528) is not a multiple of EFB_CACHE_RECT_SIZE (64).
2012-10-09 23:23:37 -05:00
Pierre Bourdon
3990002250
Optimize JitCache::InvalidateICache by maintaining a "valid blocks" bitset
...
Most of the InvalidateICache calls are for a 32 bytes block: this is the
number of bytes invalidated by PowerPC dcb*/icb* instructions. Profiling
shows that a lot of CPU time is spent checking if there are any JIT blocks
covered by these 32 bytes (using std::map::lower_bound).
This patch adds a bitset containing the state of every 32 bytes block in
RAM (JIT cached/not JIT cached). Using that, a 32 bytes InvalidateICache
can check in the bitset if any JIT block might be invalidated. A bitset
check is a lot faster than an std::map::lower_bound operation, improving
performance of JitCache::InvalidateICache by more than 100%.
Some practical numbers:
* Xenoblade Chronicles (PAL)
56.04FPS -> 59.28FPS (+5.78%)
* The Last Story (PAL)
30.9FPS -> 32.83FPS (+6.25%)
* Super Mario Galaxy (PAL)
59.76FPS -> 62.46FPS (+4.52%)
This function still takes more time than it should - more optimization in
this area might be possible (specializing for 32 bytes blocks to avoid
useless memcpy, for example).
2012-10-06 01:49:09 +02:00
Pierre Bourdon
8cefcaa94c
Implement a simple benchmarking mode which logs FPS to a file
...
Very useful to compare performance between two builds, check the impact of
a configuration option, etc. FPS log is stored in User/Logs/fps.txt and is
reset each time you launch a game. Only enabled if you check the "Log FPS
to file" option in your graphics settings.
Could be improved a bit: currently logs only every 1s (so you can't really
see small variations), maybe output more infos to the fps.txt like
average/stddev (but Excel/Libreoffice/Google Docs can compute that easily
too).
2012-10-04 05:41:02 +02:00
NeoBrainX
035840e7b5
Move last XFB size from Render to FramebufferManager.
2012-10-03 13:44:35 +02:00
NeoBrainX
6e4a61a991
Minor cleanups.
2012-10-03 13:44:04 +02:00
NeoBrainX
bb8b5936c0
Revert "Partially revert revision d511b506120c."
...
This reverts commit 08e06b2293
.
2012-09-27 18:15:44 +02:00
Sonicadvance1
8fed3b76c8
If setting videobackend back to null strings, Just set it to the front of the list. Fixes loading game specific INI files that don't load back the "default" video backend which is nothing.
2012-09-25 00:47:37 +00:00
Ryan Houdek
41266129ba
Should fix issue 5630.
2012-09-24 17:16:34 -05:00
Ryan Houdek
3229bf824c
Should actually load the backend when it changes via game INI
2012-09-23 17:54:23 -05:00
Ryan Houdek
f8f8aea577
Allow the user to set graphics backend from Game INI. Zero GUI option available for setting.
2012-09-23 16:02:11 -05:00
Ryan Houdek
b4ae200d0d
This changes a mmap in MemArena so you don't need 786MB of memory free to actually allocate the 1GB memory space in Linux 32bit. I was also running in to this issue in my development. Kudos to plbl4ster to actually taking the time to research this. Closes issue 5625.
2012-09-23 10:08:13 -05:00
sulokuTDCmago
1e174ad31a
F-Zero and Phantasy Star Online Memory Card Manager support. Thanks to Ralf from GS Central
...
Original information:
http://board.gscentral.org/retro-hacking/53093.htm
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-09-21 21:41:04 -07:00
Pierre Bourdon
760f777f5a
Simulate a small delay on GC Memcard operations
...
This was not needed for most games before because the external exception was
itself delayed. aram-dma-fixes changed that and made the external exception
happen a lot quicker, breaking games that relied on the memcard operations
delay.
Fixes issue 5583.
2012-09-07 01:24:10 +02:00
Pierre Bourdon
208d25c3f5
Revert merges of aram-dma-fixes and memcard-delay
...
These merges, while in theory improving emulation accuracy, cause issues
in other parts of the emulator based on invalid assumptions. memcard-delay
fixed some of these issues in the EXI memcard code, but several other
problems still exist and I don't have the time to debug that right now.
2012-09-07 01:11:38 +02:00
Scott Moreau
1ffb9ce47e
Fix broken build when using SDL from Externals.
...
The problem here was the logic that detects SDL in the main CMakeLists.txt
is not the same as it is in DolphinWX/CmakeLists.txt to set libraries. When
using SDL from Externals it failed at link time because -lSDL was never set.
This fixes the problem by using the same condition logic to set the libs
as used when detecting SDL in the first place.
2012-09-02 16:53:15 -06:00
Glenn Rice
d2e057d137
Update libav code to remove deprecation warnings.
2012-08-28 22:34:24 -05:00
Scott Moreau
6773261a85
Use correct linker flags for SDL.
2012-08-28 03:35:31 -06:00
NeoBrainX
1c1ae63b69
Windows build fix.
2012-08-26 20:26:10 +02:00
NeoBrainX
cf8744cf2c
OGL: Implement pixel metrics (untested)
2012-08-26 20:26:10 +02:00
NeoBrainX
4d8d86bd6a
D3D11: Implement some PE pixel performance metrics.
...
Super Mario Sunshine is using a cool trick: To determine how much goop has been cleaned in ep. 6 of Sirena Beach, it counts the number of pixels that are input to the blending stage. For that it's using the PE performance registers ;)
Fixes issue 1498.
2012-08-26 20:26:10 +02:00
Pierre Bourdon
90af798d3d
Partially revert be200074e9
for OS X systems
...
/dev/shm is not a tmpfs mountpoint on that operating system. Use /tmp but keep
the unlinking to avoid useless disk IO.
2012-08-25 03:30:37 +02:00
Pierre Bourdon
60aed4e5b0
Merge branch 'memcard-delay'
2012-08-24 12:45:45 +02:00
Ryan Houdek
be200074e9
[Linux] Change from using /tmp to /dev/shm in MemArena so we don't cause any disk IO, also unlink file while it is open to allow multiple instances running. This was discussed months ago, but was never implemented for whatever reason.
2012-08-22 23:39:50 -05:00
NeoBrainX
bab9b5d3ce
FifoPlayer: Fix fifo log playback in dual-core mode.
2012-08-22 01:04:09 +02:00
Pierre Bourdon
0b00c95b79
Simulate a small delay on GC Memcard operations
...
This was not needed for most games before because the external exception was
itself delayed. aram-dma-fixes changed that and made the external exception
happen a lot quicker, breaking games that relied on the memcard operations
delay.
Fixes issue 5583.
2012-08-20 13:49:12 +02:00
Pierre Bourdon
54fc4029dd
Use do { ... } while (0) for the *_LOG macros
...
Without this patch, such code would not compile:
if (cond)
WARN_LOG(FOO, "msg");
else
WARN_LOG(FOO, "msg2");
2012-08-20 13:12:49 +02:00
LPFaint99
603bd9982d
bugfix for memorycard manager. fixes exporting from page > 1 on slot b, thanks to suloku for reporting
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-08-19 20:45:43 -07:00
skidau
28bc5eca37
Added a check for out of bounds memory accesses. Fixes Avatar: The Last Airbender (GC).
2012-08-17 22:14:35 +10:00
NeoBrainX
08a9c66037
Revert the recent zcomploc changes including the Graphic_Fixes merge.
...
Reason:
- It's wrong, zcomploc can't be emulated perfectly in HW backends without severely impacting performance.
- It provides virtually no advantages over the previous hack while introducing lots of code.
- There is a better alternative: If people insist on having some sort of valid zcomploc emulation, I suggest rendering each primitive separately while using a _clean_ dual-pass approach to emulate zcomploc.
This reverts commit 0efd4e5c29
.
This reverts commit b4ec836aca
.
This reverts commit bb4c9e2205
.
This reverts commit 146b02615c
.
2012-08-10 20:12:02 +02:00
NeoBrainX
6e02ad55bc
Maintenance.
2012-08-07 18:57:53 +02:00
NeoBrainX
ec859009b7
Add a sanity check for viewports with zero width/height.
...
Fixes issue 5466.
2012-08-07 01:37:31 +02:00
Pierre Bourdon
a2b71f1ed7
Clean up WX style issues mentionned in previous commits comments
2012-08-06 14:21:49 +02:00
skidau
0efd4e5c29
Skipped the ZCompLoc pass if the result can be determined at compile time. Brings back the speed lost by r146b02615c07.
2012-08-06 09:29:01 +10:00
Pierre Bourdon
86a1899b9e
Fix a wrong data type in the WBFS Blob reader causing issues on x86 systems
...
Fixes issue 5489.
2012-08-05 19:35:49 +02:00
Pierre Bourdon
d7d2e5b9bf
Link explicitly DolphinWX with GTK2 libraries
...
Fixes issue 5555.
2012-08-05 20:51:42 +02:00
Pierre Bourdon
fe1501db9a
Check if WX recognized a key before testing if it's a hotkey
...
Fixes issue 5537.
2012-08-05 17:28:57 +02:00
Pierre Bourdon
b3c9f437db
Return early from DoOpen if the user cancelled the file picker box
...
Fixes issue 5551
2012-08-05 16:53:36 +02:00
Pierre Bourdon
80bf3c2c0b
Add VTune profiling support for Dolphin's JIT
2012-08-05 16:39:15 +02:00
Pierre Bourdon
228172d656
Fix a typo in the indexed color vertex loader
...
Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658
2012-08-05 04:24:16 +02:00
Pierre Bourdon
8597660855
Replace all of the opcode data read functions by their SSSE3 equivalent, not only the first one.
...
Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658
2012-08-05 04:24:08 +02:00
Pierre Bourdon
d44a3471be
Fix DSP LLE thread affinity being set to the wrong core
...
Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658
2012-08-05 04:24:00 +02:00
Pierre Bourdon
e42c6214d9
Fix a typo in GenQuantizedLoads causing issues with SSSE3 in x86 builds
...
Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658
2012-08-05 04:23:46 +02:00
skidau
00df727d2f
Optimised the JitCache struct size from 88 bytes to 80 bytes. Thanks to Lioncash for the patch.
2012-07-23 22:15:34 +10:00
Pierre Bourdon
174c1b00f8
Use the right modifier for hotkeys on Mac
...
Fixes issue 5324.
2012-07-22 19:22:50 +02:00
sktsqrl
c0060f9ef8
Merge branch 'bba'
...
OS X support not impl
2012-07-21 12:53:46 -07:00
sktsqrl
601b9fc03b
typo fix
2012-07-21 12:50:40 -07:00
sktsqrl
9442d334d8
bba: stub the os x impl
2012-07-21 12:21:55 -07:00
Scott Moreau
0e1348c839
Re-add hack to use SDL/SDL.h ifndef _WIN32.
...
The correct convention is to use #include SDL.h in all cases but we have to
do this so Externals/SDL builds, which isn't in the best shape.
2012-07-14 20:50:58 -06:00
Scott Moreau
d34418100b
Add periodic effects for haptic devices.
...
This adds support for drivers supporting sine, square and triangle
periodic haptic effects. This allows rumble to work on devices/drivers
supporting these effects, such as an xbox controller using the xpad
driver under Linux.
2012-07-12 19:47:17 -06:00
Scott Moreau
80c15f21b4
Add SDL2 support to build system.
...
Dolphin code already builds against SDL2 but the build system never
checks for SDL2, which is the what latest SDL is called now. SDL2
replaces SDL 1.3. This allows Dolphin to be build against SDL2, which
activates certain new features such as the haptic interface.
2012-07-12 19:47:17 -06:00
sktsqrl
8dd11bd1c0
fixes issue 5507
2012-07-11 20:54:50 -07:00
sktsqrl
1d44de53b5
reset samples_avail when stopping gc mic sampling. fixes Mario Party 7
2012-07-11 01:03:25 -07:00
sktsqrl
a02cbedb0f
bba: generate MAC if needed
2012-07-07 13:44:26 -07:00
Pierre Bourdon
dd48b246b2
Reduce logging verbosity in the Linux BBA code
2012-07-05 01:30:37 +02:00
Pierre Bourdon
5db70f452b
Remove the now unneeded recv sleep hack and fixes game exit by implementing a timeout on read(2) calls in the read thread.
2012-07-05 01:29:42 +02:00
sktsqrl
bb84043de0
bba: (windows) fix games which stop and restart recving, such as logging off of PSO and loggin on again without stopping dolphin
2012-07-04 16:17:47 -07:00
sktsqrl
6cccbb91ec
bba: implement recv buffer full interrupt
...
(windows) hopefully fix crashes from closing dolphin while recving
2012-07-04 16:02:05 -07:00
sktsqrl
9cff8316d2
code cleanup for win32/tap/eth
2012-07-04 16:02:04 -07:00
Pierre Bourdon
9a3dd778cb
Preliminary BBA support for Linux. Assumes that a TAP interface named 'Dolphin' exists and is preconfigured. Contains some dirty hacks.
2012-07-04 04:34:40 +02:00
skidau
c57640dfbd
Implemented proper timing in the "No audio output" back-end.
2012-07-01 17:07:58 +10:00
sktsqrl
3cb6e4a864
Redo BBA once again. Now it works on windows, if crappily.
...
To use, install OpenVPN's TAP device driver. Then create a network bridge between the TAP and your device connected to the internet.
TODO:
proper overlapped read - can look at qemu impl
non-windows impl
2012-06-29 17:33:56 -07:00
skidau
b4ec836aca
Removed the offset if the ZCompLoc GREATER or LESS function is used. Fixes the invisible player in THPS3.
2012-06-29 18:47:49 +10:00
Pierre Bourdon
b27d8ff0d6
Add a missing Invalidate() call in ~TextureCache(). Fixes a regression from 8bed27a3d1
causing textures to load improperly when a game is run two times in the same Dolphin instance
2012-06-27 20:20:28 +02:00
NeoBrainX
29e21026e9
Merge branch 'awesome-texcache-cleanups-and-fixes'
2012-06-21 22:21:34 +02:00
Pierre Bourdon
fa2ee1f4a0
Only call CheckExceptions in dcbz in interpreter mode, use FL_ENDBLOCK for Jit64. Now RS3 demo disc does ingame with Jit and block_size = 1
2012-06-20 18:33:23 +02:00
NeoBrainX
7dabba5095
Fix a small bug.
2012-06-20 18:18:20 +02:00
NeoBrainX
043a85f8a6
Minor cleanup.
2012-06-20 18:18:19 +02:00
NeoBrainX
8a5abbddc4
Enable texture format overlay on the fly.
2012-06-20 18:18:18 +02:00
NeoBrainX
8bed27a3d1
Enable hires textures even when texture dumping is enabled.
...
Remove some deprecated code.
2012-06-20 18:18:17 +02:00
NeoBrainX
8d30ac462a
Instead of invalidating texcache whenever the graphics configuration dialog gets opened, clean up textures on configuration changes.
2012-06-20 18:18:05 +02:00
Pierre Bourdon
30de244050
Check for DSI exceptions after a dcbz instruction. Fixes Rogue Squadron 3 in interpreter mode.
2012-06-20 12:15:22 +02:00
Pierre Bourdon
e550623b11
Added a button to dump the FakeVMEM from the memory debugger if the game uses it
2012-06-19 13:51:29 +02:00
Pierre Bourdon
988bd53b5f
Support ANSI color codes in the console logger for Linux/Mac
2012-06-19 12:11:15 +02:00
Pierre Bourdon
34606f34a9
Allow disassembly of FakeVMEM with the dolphin debugger
2012-06-19 11:57:57 +02:00
Pierre Bourdon
76a13604ef
Optimize mtmsr by going to an exception exit only if EE are enabled and some
...
exceptions are pending.
2012-06-19 06:35:30 +02:00
Pierre Bourdon
bfc797ede1
Removed an obsolete comment
2012-06-16 14:39:17 +02:00
Pierre Bourdon
e1ddbdd214
Use WriteExceptionExit and implement the change for JitIL
2012-06-16 14:38:48 +02:00
Pierre Bourdon
da4141aa9f
Simulate ARAM DMAState correctly and check for external exceptions after
...
MTMSR is executed.
This commits fixes issue 617. WWE Day of Reckoning 1 and 2 are now playable
with Dolphin.
The changes are not implemented for JitIL yet.
2012-06-16 14:38:44 +02:00
NeoBrainX
227580d1a5
Remove "Disable Textures".
2012-06-11 23:35:46 +02:00
NeoBrainX
1dd6b978c1
Remove "Disable Lighting".
2012-06-11 23:30:20 +02:00
skidau
1d9ac2f6e1
Removed the check for changed JIT blocks before invalidation. Fixes the slow speed in Zelda: Ocarina of Time Master Quest.
...
Fixes issue 5454.
2012-06-09 18:48:15 +10:00
NeoBrainX
b5ad382b07
Fast mipmaps deserves to die!!
2012-06-08 00:22:57 +02:00
NeoBrainX
0d577d886a
Remove some TODOs.
2012-06-02 19:23:20 +02:00
skidau
d74c50b942
OSX build fix for BPStructs. Thanks to pauldacheez for the fix.
2012-06-02 11:28:43 +10:00
skidau
bb4c9e2205
Fixed "Failed to compile pixel shader" error when Per-Pixel Lighting is enabled. Thanks to slmpika for the fix.
2012-06-02 11:25:44 +10:00
skidau
b0d271db3c
Changed MOVDDUP to use MOVSD on non-SSE3 CPU's.
...
Added DMA wait time under DSP HLE mode.
Fixes Knockout Kings 2003.
2012-06-02 10:06:47 +10:00
skidau
99b7c91df5
Checked if dcbst instructions are preceded by dcbt. If it is, the game is prefetching memory into the data cache, and not loading new code. In these cases, the JIT cache will no longer be flushed. Fixes the frequent "Clearing code cache" issue in games like "The Last Story".
2012-05-31 22:09:33 +10:00
NeoBrainX
372e00632d
Fix changing internal resolution via hotkeys (settings above 1.5x weren't accessible anymore before).
2012-05-29 13:11:28 +02:00
Pierre Bourdon
bfde41895f
Update the viewport when the scissor offset is changed
...
Fixes a bug with Another Code: R that was noticed when gx-optimization was
merged.
2012-05-27 08:03:26 +02:00
Glenn Rice
00f6b7b6ea
Fix core dump on start up on linux. Thanks to degasus.
2012-05-26 08:24:18 -05:00
Pierre Bourdon
1efabea9b4
Fix compilation errors with g++4.7
2012-05-26 08:09:50 +02:00
skidau
b79d8d9e10
Fixed the Cheat Search. Patch by nagosaki.
2012-05-26 15:45:58 +10:00
skidau
146b02615c
Merge rodolfoosvaldobogado's zcomploc code (Graphic_Fixes branch)
2012-05-26 13:47:07 +10:00
Braden
82cb14e49b
Actually fixes crashing on start up.
2012-05-26 13:21:30 +10:00
Braden
cbc84ecd72
set variables equal to zero or false correctly. Should fix crashes on 32bit version.
2012-05-26 13:21:30 +10:00
Braden
defb4c255d
Allows analog sticks to be used with the TAS Input Open.
2012-05-26 13:21:30 +10:00
unknown
873437d58a
Adds better support for the tas input.
2012-05-26 13:21:29 +10:00
nitsuja
9ea8d54343
remove some code that was made unused by rca287e7957c7
2012-05-26 13:19:57 +10:00
nitsuja
1f9586a8ba
compile fix for my merging of rca287e7957c7
2012-05-26 13:19:57 +10:00
nitsuja
99b202fd2e
savestate vertexmanager (base) since it affects VertexLoader::RunVertices which affects g_pVideoData
2012-05-26 13:18:08 +10:00
nitsuja
ae242e5675
added some missing VideoBackendHardware data to savestates. I think this makes savestates more stable (fewer "GFX FIFO: Unknown Opcode" errors) in dual core mode.
...
also added some extra verification markers around here, to potentially give better info on future version mismatches
2012-05-26 13:18:08 +10:00
nitsuja
2be579e8ba
fixed some graphics problems with loading savestates (for example, wrong colors on title screen of metroid prime 3)
2012-05-26 13:18:07 +10:00
nitsuja
19b0b02ad7
add some missing IPC HLE data to savestates
2012-05-26 13:14:15 +10:00
nitsuja
c9059c708e
save events in a safer way. the old way assumed that event type indices remain constant (they don't always), which could result in running arbitrary events or crashing upon loading.
2012-05-26 13:09:39 +10:00
nitsuja
a81631b58e
made savestates synchronous and immediate. this allows saving or loading while the emulator is paused, fixes issues where savestate hotkeys would get ignored if pressed too close together, might speed up savestates in some cases, and hopefully makes savestates more stable too.
...
the intent is to replace the haphazard scheduling and finger-crossing associated with saving/loading with the correct and minimal necessary wait for each thread to reach a known safe location before commencing the savestate operation, and for any already-paused components to not need to be resumed to do so.
2012-05-26 13:09:38 +10:00
nitsuja
108f69eaa9
to help movie sync, added some more wiimote data to savestates and disabled auto-reconnect. although I think this is basically just removing hacks and should be more correct, I don't know what side effects this could cause for normal players, so for now these changes ONLY take effect when an input movie is playing back or being recorded.
2012-05-26 12:59:08 +10:00
nitsuja
d19c389246
clean up some savestate code
2012-05-26 12:59:08 +10:00
nitsuja
8ef75dac67
add missing SI device state to saves
2012-05-26 12:59:07 +10:00
nitsuja
5423bca79c
add some more missing dsp ucode data to savestates
2012-05-26 12:59:07 +10:00
nitsuja
152351d96c
implement PointerWrap::Do(std::map<unsigned int, T>)
2012-05-26 12:59:07 +10:00
nitsuja
aa674a65f1
implement PointerWrap::DoLinkedList and use it to simplify saving CoreTiming events
2012-05-26 12:59:06 +10:00
skidau
a54e72640f
Merge branch 'misc-speedups'
...
* misc-speedups:
fixed and reenabled and slightly optimized the JIT version of fcmpo/fcmpu.
slightly more precise speed percent display (this is really minor)
a small thread synchronization speedup for dual core mode. it's most noticeable in games where the CPU is running behind compared to the GPU.
Conflicts:
Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp
The Fifo.cpp changes from rdaefb3b550e2 was not merged as there was no performance benefit.
2012-05-26 12:35:08 +10:00
Pierre Bourdon
cf69e7ca8a
Merge branch 'gx-optimization'
...
This branch reduces the number of useless state flushes in the video
emulation layer by checking whether a BP/XF change will have an effect
or not. Greatly reduces the number of GL calls per frame.
Thanks to degasus for his help!
2012-05-24 21:49:37 +02:00
NeoBrainX
4131ca8d38
Merge branch 'hires-tex-improvements'
2012-05-22 08:14:49 +02:00
Pierre Bourdon
fee2d83f68
Fix a data endianness problem introduced by r7cccb4baa724.
2012-05-20 22:16:21 +02:00
Pierre Bourdon
c95baf614d
Avoid changing video state on useless BP writes
...
When a game writes the same value that was already configured to a BP
register, Dolphin previously flushed the GPU pipeline and reconfigured
the internal video state (calling SetScissor/SetLineWidth/SetDepthMode).
Some of these useless writes still need to perform actions, for example
writes to the EFB copy trigger or the texture preload registers (which
need to reload the texture from memory).
2012-05-20 20:56:03 +02:00
Pierre Bourdon
7cccb4baa7
Check if data was modified in LoadIndexedXF too
2012-05-19 10:54:40 +02:00
Pierre Bourdon
b8d4d013f6
Compute the comparison size properly (transferSize is in u32, not in u8)
2012-05-18 23:27:02 +02:00
Pierre Bourdon
5a77cae2e3
Check if BP and XF changes actually change values before flushing
2012-05-18 23:13:53 +02:00
Matthew Parlane
1bc5f41e40
Fixes issue 5428. Thanks delroth.
2012-05-18 17:57:28 +12:00
Pierre Bourdon
fe1fdc5e7b
Fix a compilation error
2012-05-16 09:38:58 +02:00
Pierre Bourdon
fdff4cb1ff
Merge branch 'master' into wii-network
...
Conflicts:
Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp
Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp
Source/VSProps/Dolphin.Win32.props
Source/VSProps/Dolphin.x64.props
2012-05-16 09:27:37 +02:00
Pierre Bourdon
2b77acc705
EOL changes to ease the merge
2012-05-16 09:22:36 +02:00
skidau
5a8ad92302
Changed a JMP that needed to be a far JMP in JITIL.
2012-05-15 09:32:21 +10:00
NeoBrainX
54aeec7a8f
Dump the redundant "save textures" function. Use TextureCache's dumping feature instead.
2012-05-13 17:48:23 +02:00
NeoBrainX
72e83140f0
TextureCacheBase: Remove the texture size limit for custom textures. Only the GPU restrictions for maximum texture size remain.
2012-05-13 17:43:14 +02:00
NeoBrainX
41d37ab0a0
TextureCacheBase: Support loading custom mipmaps.
2012-05-13 17:42:22 +02:00
NeoBrainX
a5e68ab10e
TextureCacheBase: Support dumping individual mipmaps.
2012-05-13 17:41:04 +02:00
NeoBrainX
a8ad59ee3e
TextureCacheBase: Move texture dumping to a helper function.
2012-05-13 17:41:03 +02:00
NeoBrainX
3ecc5e879c
TextureCacheBase: Move custom texture loading to a helper function
2012-05-13 17:41:03 +02:00
skidau
b27f471488
Invalidated the JIT cache when the dcbst instruction is used.
2012-05-13 21:07:03 +10:00
skidau
48bf5c739d
Changed the block linker to work on physical addresses. Checked whether the code has changed before invalidating it. Fixes the cut-scenes in Tales of Graces.
...
Fixes issue 2933.
2012-05-12 21:43:39 +10:00
Pierre Bourdon
f567782b47
Implement a better heuristic to detect whether an ELF is for GC or Wii
2012-05-12 01:48:56 +02:00
Pierre Bourdon
04bde406d3
Fix DVD root path for Wii games. Now Wii games can be booted using extracted files instead of a disc image.
2012-05-11 22:19:57 +02:00
skidau
1587cb3738
Fixed texture encoding. Fixes the interaction with objects in Another Code R. Thanks to wordmanwords for the patch.
...
Fixes issue 5405.
2012-05-05 11:21:05 +10:00
Pierre Bourdon
77f47866df
Add Wii DVD integrity checking to Dolphin
...
This allows users to easily check whether their Wii dump is corrupted or not
using the Dolphin properties window. Right click on a game, Properties,
Filesystem tab, then right click on the game partition and select "Check
partition integrity".
This may have some false negatives due to the unused clusters heuristic (see
the comment in VolumeWiiCrypted.cpp). False positives are unlikely.
2012-05-04 16:27:42 +02:00
orphis
6254edcfbc
Add the missing *.wbfs extension to the file picker.
2012-05-03 22:27:06 +00:00
skidau
0e812cb187
JIT32 fix.
...
Added wbfs to the File Open list.
2012-05-04 07:00:30 +10:00
skidau
7885e63deb
Added wbfs support. Thanks to lordlyhobo for the patch. Fixes issue 859.
2012-05-04 00:09:01 +10:00
skidau
a1b3eaffb7
Reverted the ES changes from r0fc390b55226. Fixes the crash that occurred when loading a channel from the sysmenu.
2012-05-03 23:32:32 +10:00
skidau
e5d527340d
Optimised the JIT path.
2012-05-03 23:17:15 +10:00
skidau
d7f468a781
Applied the "Hide cursor" fix to the Pause button.
2012-05-03 20:57:22 +10:00
Glenn Rice
40640217f1
Fix hide mouse cursor on linux.
...
Fix emulator window position when rendering to main on linux.
Allow building against wxWidgets 2.9.3 on linux.
2012-05-02 14:40:40 -05:00
Billiard26
1974938c5a
Fix DirectInput D-Pad handling.
2012-05-02 06:31:38 +00:00
Pierre Bourdon
beb4204bbb
Include libavutil/mathematics.h explictly in AVIDump.cpp. Fixes issue #5266 .
2012-05-02 07:29:15 +02:00
Pierre Bourdon
5e2d692cec
Lock the DSP thread on its own core when using "Lock threads to cores" and "LLE on Thread". Greatly improves DSPLLE performance on Linux with >= 3 cores CPUs.
2012-05-02 07:19:14 +02:00
skidau
1b15cd0b60
Added preliminary support for ARAM memory map mode "4".
...
Fixes issue 3410.
2012-05-01 22:05:48 +10:00
skidau
2540fe0606
Fixed ARAM DMA overflow situations. Fixes issue 4952.
2012-05-01 21:31:21 +10:00
skidau
30d6d22816
Merge Conflicts:
...
Source/Core/Core/Src/PowerPC/PowerPC.cpp
2012-05-01 21:00:57 +10:00
skidau
d015f0926a
Fixed a typo and some far jumps in the JIT.
2012-05-01 20:52:35 +10:00
skidau
d557c913e8
Reset the performance counters at the start of the each block.
2012-05-01 20:42:01 +10:00
skidau
389823a749
Changed the performance monitor check to a compile time check instead of run-time.
2012-05-01 20:42:00 +10:00
skidau
cdace9d776
Added preliminary support for the Gekko CPU Performance Monitor. Fixes Harry Potter and the Prisoner of Azkaban.
2012-05-01 20:42:00 +10:00
skidau
75fbbcae40
Merge branch 'JIT-Exceptions'
...
* JIT-Exceptions:
JitIL code cleanup
Changed the JIT code to make the FPU exception timing more accurate. The exception is now triggered at the first FP instruction instead of the start of the block. Rearranged the JIT exception code for a tiny speed-up. Only external exceptions are checked at the end of the block. All other exceptions are checked at the time they occur.
Fixes issue 5382.
Conflicts:
Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp
2012-05-01 20:35:12 +10:00
skidau
05040379e9
JitIL code cleanup
2012-05-01 20:26:05 +10:00
skidau
15d3c45159
Reset the performance counters at the start of the each block.
2012-04-29 00:10:20 +10:00
skidau
853d12b42c
Changed the performance monitor check to a compile time check instead of run-time.
2012-04-28 22:47:55 +10:00
skidau
103e73030f
Added preliminary support for the Gekko CPU Performance Monitor. Fixes Harry Potter and the Prisoner of Azkaban.
2012-04-28 20:42:45 +10:00
skidau
330f63df80
Corrected the file offset within the FST of virtual disks (used by the DVD Root path function).
2012-04-28 11:21:55 +10:00
skidau
8878ae5fc3
Merge branch 'AudioStreaming'
...
* AudioStreaming:
Reset the stream playing flag on init.
force VolumeDirectory to align files to 32KB (only streaming audio files really need to be aligned...)
Removed the DTK Music option. It is now always enabled.
Added the response for audio streaming disc offset requests. Generate an AI interrupt at the end of the audio streaming loop. Fixes Pac-man Fever and the background music in Eternal Darkness.
Fixed the erroneous looping in audio streaming games like Eternal Darkness and Zoids: Battle Legends. Thanks for the tip, tueidj.
2012-04-23 22:40:58 +10:00
skidau
f0e1b4c1dd
Reset the stream playing flag on init.
2012-04-23 22:15:23 +10:00
Shawn Hoffman
26521aa66a
force VolumeDirectory to align files to 32KB (only streaming audio files really need to be aligned...)
2012-04-23 00:50:44 -07:00
skidau
5ceef0c513
Removed the DTK Music option. It is now always enabled.
2012-04-23 05:02:43 +10:00
skidau
f0a5214a3f
Added the response for audio streaming disc offset requests. Generate an AI interrupt at the end of the audio streaming loop. Fixes Pac-man Fever and the background music in Eternal Darkness.
2012-04-23 04:47:31 +10:00
skidau
8ff3954069
Added the memcheck for stXx.
2012-04-21 21:38:57 +10:00
skidau
7038a841bd
Fixed the erroneous looping in audio streaming games like Eternal Darkness and Zoids: Battle Legends. Thanks for the tip, tueidj.
...
Fixes issue 5378.
2012-04-21 15:50:07 +10:00
Matthew Parlane
0fc390b552
Modify state.dat before launching wads. Fixes Liight, maybe others. If in doubt, install the wad to the nand.
2012-04-21 16:21:13 +12:00
skidau
13b66df125
Changed the JIT code to make the FPU exception timing more accurate. The exception is now triggered at the first FP instruction instead of the start of the block.
...
Rearranged the JIT exception code for a tiny speed-up. Only external exceptions are checked at the end of the block. All other exceptions are checked at the time they occur.
2012-04-15 21:34:15 +10:00
Pierre Bourdon
c08510baa8
wxWindow::FindFocus() sometimes return NULL, check for that to avoid segfaulting
2012-04-15 02:24:41 +02:00
skidau
a488b2c0ca
Fixed the rerecord counter when using more than one save state. Patch by rdragoon.
2012-04-13 19:50:44 +10:00
Jordan Woyak
722480cb2e
Fix compilation with g++ 4.7 and some warnings. Fixes issue 5347.
2012-04-07 15:45:32 -05:00
skidau
5d9ac22d58
Added a "Keep window on top" option in the graphics options.
2012-04-08 10:29:49 +10:00
LPFaint99
87954dacad
Revert part of r6bfb8c9597dc so new memory card files will be created.
...
some how I neglected to remember that r+ requires the file to exist.
still should fix the issue with 0 byte memory cards.
This reverts commit 6bfb8c9597
.
2012-04-05 21:43:05 -07:00
Matthew Parlane
db6e981728
Added hidapi start. x64 doesn't work... not sure why.
2012-04-04 19:54:32 +12:00
Matthew Parlane
9bf67d4bb1
Implemented /dev/usb/hid as libusb, but this will not work on mac. Code started for using hidapi instead.
2012-04-04 19:53:05 +12:00
rodolfoosvaldobogado
5650b3b5f6
more fixes. take in account when depth textures are used and alpha test fails :)( i really forgot that).
2012-04-03 15:08:58 -03:00
rodolfoosvaldobogado
4fafbd0700
Fix for my last commit thanks to Lolaker for pointing the error
2012-04-03 09:56:11 -03:00
Shawn Hoffman
702905131b
follow-up for last commit: don't warn about the EUART init commands.
2012-04-03 03:54:17 -07:00
Shawn Hoffman
423cdb6398
fixes issue 5335
2012-04-03 03:26:06 -07:00
rodolfoosvaldobogado
6a446efd5f
Second Stage: re implement zcomplock and correct all the logic error in PixelShaderGen.cpp. i disable fastzcomlock for the moment to avoid confusions.
...
please test for regressions
2012-04-03 00:08:36 -03:00
rodolfoosvaldobogado
a0d60210fd
First Stage:
...
Fix depth related errors in dstalpha pass.
best place to test: water splash effect in super mario galaxy
2012-04-02 14:26:12 -03:00
skidau
f7ce27c91d
Fixed the audio streaming "blocks left" register by making it zero-based. Fixes DreamMix TV World Fighters (GameCube).
2012-04-02 22:14:11 +10:00
LPFaint99
6bfb8c9597
small fix to writing memorycards, open as r+b so the file is not cleared when opening. should eliminate the 0byte memory card files reported http://forums.dolphin-emulator.com/showthread.php?tid=21964 http://forums.dolphin-emulator.com/showthread.php?tid=22631 http://forums.dolphin-emulator.com/showthread.php?tid=22098
2012-03-31 14:03:19 -07:00
Matthew Parlane
5c27e27a4a
Oops how did that compile...
2012-03-31 16:26:41 +13:00
Matthew Parlane
763916a779
Comments about DVDLowAudioBufferConfig
2012-03-30 20:13:29 -07:00
Matthew Parlane
404a6b9ba8
Fixes issue 5330.
2012-03-30 20:10:48 -07:00
skidau
995a84e06a
Removed CGDisplayCapture from the OSX fullscreen mode code, fixing full-screen mode. Thanks to celgilles for the patch.
...
Fixes issue 5331.
2012-03-31 13:48:40 +11:00
NeoBrainX
460610ea0e
Revert Rodolfo's recent zcomploc commits until they actually work correctly.
...
This reverts commit 402006a83a
.
This reverts commit 48d8d71391
.
This reverts commit 450dcc9d2c
.
2012-03-30 01:57:53 +02:00
LPFaint99
f7c17c6351
Merge branch 'GCMemcardFixes'
2012-03-29 14:39:01 -07:00
rodolfoosvaldobogado
402006a83a
more fixes to zcomplock and opengl implementation
2012-03-29 18:26:58 -03:00
NeoBrainX
2356def0d4
Merge branch 'fifoplayer_updates'.
...
This adds an "Analyzer" tab to the fifoplayer dialog which allows to conveniently browse through all register pokes that are being sent by the game each frame.
There's also a search function, but it doesn't work all that well for anything but simple searches at the moment. However, I'm merging this anyway since I'm not sure if I'm going to finish this.
Note that due to recent fifo changes, it's not yet possible to run fifoplayer in dual-core mode.
2012-03-29 22:50:45 +02:00
NeoBrainX
04c2f2382f
FifoPlayerDlg: Don't use wxString::fromAscii()
2012-03-29 21:50:21 +02:00
Sacha
5f85815922
Remove inherited variable that was no longer used. Clean up.
2012-03-29 17:01:59 +10:00
Shawn Hoffman
2ee5e5cebc
Merge branch 'scons-removal'
2012-03-28 00:02:04 -07:00
rodolfoosvaldobogado
450dcc9d2c
As requested, this is my implementation of zcomploc using a multi-pass algorithm. My apologize to the others devs for committing in the main branch but is the only way to get this tested as soon as possible.
...
please test for regressions, speed and for other issues fixed, as a example, the black color in water splash in super mario galaxy are fixed with this rev.
please as soon as yo find a bug let me know.
2012-03-27 15:44:58 -03:00
Shawn Hoffman
48eb791a4e
Merge remote-tracking branch 'timowiren/master'
2012-03-25 13:21:25 -07:00
Shawn Hoffman
48bfca3c86
Merge remote-tracking branch 'adlr/macwiimote'
2012-03-25 13:15:38 -07:00
Shawn Hoffman
d15740daf1
Merge branch 'wxw3-update'
2012-03-25 12:27:38 -07:00
skidau
f30aebf8d7
Added a check for TMEM overflows while preloading textures. Thanks to NeoBrainX for the tip.
2012-03-25 21:35:57 +11:00
Timo Wiren
cb92805445
Spaces to tabs. Removed a comment.
2012-03-25 13:01:26 +03:00
skidau
fa2b4cd8fc
Quick fix for minimum number of cheat codes needed to activate Gecko.
2012-03-25 04:13:41 +00:00
rodolfoosvaldobogado
9ed83765e6
long time no commits :)
...
a little code cleaning to avoid duplicated execution of AlphaPreTest and a little correction to some comments from the previous commits.
this change must behave exactly like last revision, if something is broken please let me know
2012-03-25 00:01:47 -03:00
Pierre Bourdon
c662b8ee2f
Bump the shader cache version
2012-03-24 20:46:40 +01:00
Pierre Bourdon
b5ba2eb030
Merge branch 'master' into zcomploc-support
2012-03-24 18:41:51 +01:00
Timo Wiren
11959a3781
Matching new and delete.
2012-03-24 19:41:13 +02:00
NeoBrainX
7a1744575d
D3D9: Fix texel to pixel mapping when sampling textures properly.
2012-03-24 17:23:03 +01:00
NeoBrainX
fee98b426b
Revert r41bcf657f89d, r3a9fed0ba285, r9adc119e3c2f and re58692653afd (all of them are wrong).
2012-03-24 15:58:44 +01:00
skidau
33e20cf76d
Added a check for active Gecko codes before installing the Gecko code handler.
...
Fixes issue 5279.
2012-03-23 23:36:23 +11:00
skidau
41bcf657f8
Adjusted the DX9 offset of the Sampling address to more closely match what we are seeing in games.
...
Fixes issue 5305.
2012-03-23 23:20:19 +11:00
skidau
c4fbb6e377
Checked PRELOAD_MODE to determine if TMEMODD or TMEMEVEN should be used.
...
Fixes issue 5212.
2012-03-23 22:10:48 +11:00
Shawn Hoffman
fab037446c
Forward "raw" reads of GC discs to the normal read function, since they are not encrypted in the first place.
2012-03-22 23:04:45 -07:00
Andrew de los Reyes
d3361494ce
WiiremoteReal for Mac: Find Wiimotes by name.
...
The decided way to find Wii Remotes is by their bluetooth name, so
this patch introduces common code to identify if a given string is a
valid Wiimote name.
On Mac, when scanning bluetooth, consult the function with all found
bluetooth devices.
2012-03-22 20:55:41 -07:00
Andrew de los Reyes
93b78d7139
WiimoteReal for Mac: Send commands on interrupt channel.
...
There are two ways to send commands to Wii Remotes:
- On command channel, with a first byte of 0x52. This works on
Nintendo RVL-CNT-01, but not Nintendo RVL-CNT-01-TR wiimotes.
- On interrupt channel, with a first byte of 0xa2. This works on
Nintendo RVL-CNT-01 and Nintendo RVL-CNT-01-TR wiimotes.
This patch switches Mac from the former to the latter. Windows and
Linux remain unchanged.
2012-03-22 20:17:28 -07:00
Andrew de los Reyes
af8690a7d8
Revert "Add Support for Wii Motion Plus INSIDE Wii Remotes on Mac OS X."
...
This reverts commit c9dfcf8cf7
.
That commit attempted to support all Wii Remotes on Mac OS X, but the
logic was incorrect, and as a result the original (non-TR) Wii Remotes
were broken by that change.
Future patches will address this problem in a better way.
2012-03-22 20:06:52 -07:00
Shawn Hoffman
36f3962551
small fix for last commit - didn't notice that was an #elif instead of #if
2012-03-22 18:57:30 -07:00