Pierre Bourdon
1e558aedeb
Added an EFB peek cache to the GL video plugin
...
Most of the games using EFB peeks are suffering from major performance problems
when these peeks are not disabled in the graphics settings. This is an attempt
to fix this in the GL renderer by doing the glReadPixels in bulk: instead of
doing a lot of 1x1 pixel reads, read for 64x64 pixels at once and keep that in
a cache.
Deck menu in Baten Kaitos: 3FPS -> 54FPS
Character creation in Monster Hunter Tri: 7FPS -> 60FPS
2011-10-17 18:30:13 +02:00
Shawn Hoffman
3fc5d8d7cf
Merge branch 'gc-mic'
...
Added GameCube Microphone support. Uses your default audio recording device. The Microphone is selectable from the Slot A/Slot B pulldowns under the GameCube tab. The Microphone button can be set under GCPad configuration for pad 1 and 2. Thanks to MooglyGuy and skidau.
2011-10-17 03:21:11 -07:00
Shawn Hoffman
45eb9f0e7a
fix some logic errors in the mic code and decrease latency a bit. emulate the buffer_overflow bit.
2011-10-17 03:14:20 -07:00
Shawn Hoffman
c528978608
use callback model instead of blocking read/write.
...
fixes delay on linux.
currently not implementing the overflow bit, not sure it's needed since we manage our own buffer now.
2011-10-16 23:20:37 -07:00
Shawn Hoffman
1d6bd3248c
It is safe to call Pa_Initialize and Pa_Terminate more than once.
2011-10-16 13:29:10 -07:00
skidau
18d9a275e7
Invalidated a wider range in the JIT cache to force recompile updated code in the ICache. This fixes the crashes in Mario Power Tennis and the remaining games in Mario & Sonic at the Olympic Winter Games.
...
Fixes issue 2102.
Fixes issue 2751.
2011-10-16 23:23:17 +11:00
Shawn Hoffman
46afefb14f
Merge branch 'master' into gc-mic
2011-10-16 02:22:21 -07:00
Shawn Hoffman
676822891d
ups, exi slots are on whole different channels...
2011-10-16 02:08:51 -07:00
skidau
c0498ca831
Synchronised the JIT cache with the ICache by invalidating the JIT block when the ICache is updated. This fixes Mario & Sonic at the Olympic Winter Games. Thanks to DimitriPilot3 for the tip.
...
Fixes issue 1610.
2011-10-16 16:43:32 +11:00
skidau
da9bd95a68
Renamed the "Disable Wiimote Speaker" option to "Alternate Wiimote Timing".
2011-10-09 22:10:47 +11:00
skidau
0ceb3cba36
Adjusted the system timing as DKCR was still getting disconnects with DSP HLE.
2011-10-09 22:10:46 +11:00
skidau
58cbe9cbd9
Adjusted the System Timing of the IPC HLE period for Wiimotes when used with DSP HLE.
2011-10-09 22:10:45 +11:00
skidau
a09e859b3a
Adjusted IPC HLE period to allow for four emulated wiimotes.
2011-10-09 22:10:45 +11:00
Shawn Hoffman
3556069f9f
Also allow JitIL to update EXI exceptions much more frequently.
...
At this point, the mic branch is ready for testing by windows people at least. cmake/scons may work already, not sure.
2011-10-09 03:41:31 -07:00
Shawn Hoffman
41424d98e8
Make the mic button respect which slot it's plugged into.
...
*You need to open the Gamecube config page and reselect the devices in slot A and B after this commit*
Just jitil left...
2011-10-09 03:18:15 -07:00
Jordan Woyak
ceef98b882
Added mic button to gcpad 1 and 2 diags. Both mic slots use gcpad 1 currently. Totally untested.
2011-10-09 04:27:43 -05:00
Shawn Hoffman
3790a16ece
billliarrddd...here is how to set the button bit
2011-10-09 01:11:49 -07:00
Shawn Hoffman
ade9485aac
ok...just need to update the button...
2011-10-09 01:11:48 -07:00
Shawn Hoffman
a751b627fd
remove a now-unneeded comment
2011-10-09 01:11:44 -07:00
Shawn Hoffman
ad508ab8fb
Let's go ahead and throw this in here, should bring support of Intel IGP back in with DX9.... I can't actually test this for an obvious reason, but I figure while Windows is broken anyway, go ahead with it.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7707 8ced0084-cf51-0410-be5f-012b33b47a6e
That should fix the seg faults on IGP chipsets.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7715 8ced0084-cf51-0410-be5f-012b33b47a6e
Compile fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7716 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-10-08 15:29:04 -07:00
Pierre Bourdon
59072adc32
Align stack variables on a 16-bytes boundary in SSSE3 functions
...
Fixes issue 4450. Thanks to pholklore1 for his patch.
2011-10-08 17:36:01 +02:00
LPFaint99
03b65f3d89
Merge branch 'GCMemcardUpdates'
2011-10-04 13:18:22 -07:00
LPFaint99
5316c6d97b
Move GCMemcard from DolphinWX/Memorycards to Core/HW
2011-10-04 13:14:18 -07:00
LPFaint99
8d91f1e0c1
EXI_Memcard: HLE memcard Formatting, GCMemcard: Add static format function, cleanup checksums code
2011-10-04 13:14:17 -07:00
LPFaint99
86950e7cce
fix gcmemcard format broken by 5f9591cf9d
...
small cleanup to format, now works for slot a and b and any memcard size
2011-10-04 13:14:17 -07:00
Shawn Hoffman
5dc866bfc9
Fix gamecube microphone (button not implemented, yet :p).
...
Calls ExpansionInterface::UpdateInterrupts just before checking exceptions now.
2011-10-03 23:46:00 -07:00
Shawn Hoffman
856972f808
remove hacky old MicButton stuff
2011-10-03 23:46:00 -07:00
Shawn Hoffman
d8def74dd1
add portaudio headers and windows static libs to Externals, enable by default in windows build.
2011-10-03 23:45:59 -07:00
Shawn Hoffman
b4d751e43c
Merge branch 'fix-icc-unsafe-string'
2011-10-03 23:44:35 -07:00
Jordan Woyak
a65385d995
Merge branch 'fix-3rd-party-wiimote'
2011-10-04 01:36:10 -05:00
Pierre Bourdon
9dad9ebe89
Merge branch 'zcomploc-support'
...
zcomploc is a feature of the BP which switch depth test from before the alpha
test to after the alpha test. This way, transparent fragments are written to
the depth buffer too.
The current implementation is quite hacky and does not cover all cases but is
enough to fix problems in a lot of game. A complete implementation would
require a multipass rendering method and is attempted in the
zcomploc-experimental branch.
According to testers feedback, fixes bugs in the following games:
- Baten Kaitos
- Baten Kaitos Origins
- 007: Everything or Nothing
- Ty the Tasmanian Tiger
- Tony Hawk's Pro Skater 3
And probably other games too.
Conflicts (because of new-shadercache-uids):
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
2011-10-04 07:56:13 +02:00
Jordan Woyak
15d6c6e9fc
fix 3rd party wiimotes, patch by pholklore
2011-10-01 21:36:16 -05:00
Jordan Woyak
d3e639a397
fix build issue with intel compiler and fix some unsafe string usages, patch by FilthyMonkey
2011-10-01 21:31:43 -05:00
skidau
e76bc71efe
Fixed the controller config so that it lists DInput controllers with special characters (like the Registered (R) sign) in their name. UTF8 is used to match the encoding used by the Wx GUI.
2011-10-01 21:50:15 +10:00
Pierre Bourdon
266cafb82d
Add a call to VertexManager::Flush() when changing TC gen settings
...
In previous revisions of Dolphin, changing texture generation settings (via
GX_SetTexCoordGen for example) did not regenerate the vertex shader and flush
the vertices. Adding this flush should fix texture problems in a few game, for
example in Superman: Shadow of Apokolips:
Before: http://i.imgur.com/mHmfb.jpg
After: http://i.imgur.com/2ThES.png
2011-10-01 02:36:03 +02:00
NeoBrainX
7eb06430ed
Only sync shader caches to disk on stop.
2011-09-29 23:16:42 +02:00
NeoBrainX
0e1383b788
Bump disk cache version.
2011-09-29 22:55:28 +02:00
NeoBrainX
2b3b32872d
Fix Windows build.
2011-09-29 22:54:52 +02:00
NeoBrainX
81c614fa07
Clean up various things.
2011-09-29 23:32:39 +02:00
NeoBrainX
ddfe219293
Fixup line endings.
2011-09-29 23:32:39 +02:00
NeoBrainX
ca7e8a9e88
Fix pixel lighting.
2011-09-29 23:32:39 +02:00
NeoBrainX
cfba35f7e5
Only link against libav if it's available.
2011-09-29 23:32:38 +02:00
NeoBrainX
08af37509e
More buildfixes..
2011-09-29 23:32:38 +02:00
NeoBrainX
f041eee23b
Compile fix.
2011-09-29 23:32:38 +02:00
Glenn Rice
6ccfd85f42
Build fix for the linux libav build.
2011-09-29 23:32:38 +02:00
NeoBrainX
913bc6d15f
D3D11: Disable some redundant shader compilation errors.
2011-09-29 23:32:38 +02:00
NeoBrainX
6d8f641cc9
Fix D3D11 frame dumping.
2011-09-29 23:32:38 +02:00
NeoBrainX
c710ea33f9
Merge some frame dumping code to VideoCommon, fixes a memory leak in D3D9 and OpenGL if emulation is stopped while dumping frames.
...
Breaks D3D11 frame dumping for some weird reason (memory corruption or whatever?).
2011-09-29 23:32:38 +02:00
NeoBrainX
bd4a5b5ef6
Implement frame dumping in D3D11.
...
Fixes issue 4831.
2011-09-29 23:32:38 +02:00
NeoBrainX
5dcb212fc7
Fix Windows build.
2011-09-29 23:32:38 +02:00