Some stuff which was still lying around on my hard disk:
— Add a sanity check in CRenderFrame::MSWWindowProc. Possibly reduces the risk of a crash when starting a game and immediately closing the emulation window when using the DX9 plugin.
— DX11: Add the resource usage as a parameter to CreateQuadVertexBuffer, possibly to be used in the future.
— reduce the size of the EFB access buffers from 4×4 to 1×1 since they needn’t be bigger anymore
— some fixes to the recent hires commit.
DX11: Add texture dumping and hires texture loading support.
Not sure if hires textures are working perfectly, yet, so test this, please.
Fixed hires textures not scaling. Also increased max size of custom textures to 2048×2048.
Fixes issue 3295.
r6256 x86 – скачать, зеркало
r6256 x64 – скачать, зеркало
Add Turntable.cpp to SCons build.
Set native eol-style on recently added files.
Added support for PAL-R (Russia) ISO detection. Fixes issue 2575.
InputCommon(GCPad/WiimoteNew): Fixed issue when inifile didn’t exist, defaults were loaded, and input didn’t work. Fixed prob in DirectInput(hopefully doesn’t break any other gamepads): buffered data wasn’t ever being used. WiimoteNew: Hopefully made emulated swinging better(please comment). Added (completely untested) incomplete emulated turntable(DJ Hero) extension support :p. Deleted some files that I meant to delete in my last commit.
Merged identical VertexManager code from DX9/DX11/OGL plugins into VideoCommon. Still need to merge VertexManager::Flush (will be easier after TextureCache is merged). Purposely using a class/virtualfuncs rather than a namespace so multiple VertexManager can be in one plugin (VideoMergeNew? :p).
Core/Common: Automatically emit a MOV in ABI_CallFunction* when the function
pointer cannot be reached by 32bit displacement.
RAX is caller save and non-parameter in all 64 bit ABIs, so it should be safe
to clobber it on function call.
r6252 x86 – скачать, зеркало
r6252 x64 – скачать, зеркало
DX11: Clean up AccessEFB and fix a crash. Thanks to pico554 for hinting at the wrong part ;)
Should fix SMG for NVIDIA users. Slightly changes behavior of the AccessEFB function, so test this for regressions, please (esp. in HD resolutions).
I tried to apply the same changes to Video_DX9, but for some reason EFB access didn’t work anymore then. Might look into that later.
r6247 x86 – скачать, зеркало
r6247 x64 – скачать, зеркало
Fixed a bug in JIT/JITIL. The size_of_merged_addresses variable was being used before it was initialised in certain cases (Rogue Leader).
Core/DSPCore: Make JIT work on 64 bit hosts
This is the safe variant that does not assume other
functions use R11 for &g_dsp.r, which they actually do.
So there is a lot unnecessary reloading of the register
There are a few small changes exploiting pointers known
at emission time and making use of MComplex math.
Also renames m_LLEplaying to m_AIplaying in Core/AudioCommon.
r6246 x86 – скачать, зеркало
r6246 x64 – скачать, зеркало
Remove unnecessary shadow variables and signed/unsigned comparisons.
Fixed the glitches when an internal resolution other than Native was used in the OpenGL plug-in.
r6244 x86 – скачать, зеркало
r6244 x64 – скачать, зеркало
Apply u-ra’s patch to speed up CriticalSection on systems that use POSIX-threads (that is, not windows).
Undid the merges made to the OpenGL plug-in’s Init and Shutdown functions as these changes broke non-Windows builds.
r6242 x86 – скачать, зеркало
r6242 x64 – скачать, зеркало
Added EFB Scale option to the OpenGL plug-in.
Renamed EFB Scale to Internal Resolution.
Removed Auto Scale option (it is now always on).
Added on-the-fly changing of the Internal Resolution in the OpenGL and Direct3D9 plug-ins.
Further consolidated the code in the video plug-ins.
r6240 x86 – скачать, зеркало
r6240 x64 – скачать, зеркало
Core/AudioCommon: Feed bigger audio chunks to the output devices in case of underrun.
This should eliminate the crackling with alsa and pulseaudio backends and replace it
with much nicer pauses. This is only interesting for audio backends that do not
respect Mixer::GetNumSamples() and should not impact users able to run the DSPLLE at
The cost of this is an added LLE audio latency of about 0.06 s in the continuous
playback case. If that is too much, lower the low watermark.
Fixed r6235 for the Mac and Linux builds. Thanks, glennricster.
r6239 x86 – скачать, зеркало
r6239 x64 – скачать, зеркало
would help to have a vcproj for that.
add «asm» test to testsuite’s sln
Minor code formatting:
First step to bring a level of consistency between the video plug-ins — variable names, spacing, function names, function order, comments, file names. This will help us identify common code for VideoMerge.
r6237 x86 – скачать, зеркало
r6237 x64 – скачать, зеркало
Some more cleanup which should’ve been in r6232. Thanks Billiard.
Make the memcheck log INFO level.
Replace all bitfields which were only declared with «(un)signed» with their actual types. Let me know if I missed any. It would also be a good idea to test this commit in both x64 and x86.
Allow SI AM_Baseboard to be selected correctly in GUI.
Gecko code: Fixed the thread-safe problem reported in r6227.
Add an PanicAlert in case we try to do an >32 bit displacement
If you see this alert, dolphin will probably crash in a few moments.
Found in the course of fiddling with DSPLLEs JIT, which puts its data
structures and static code somewhere above 0x7fff00000000 on my machine, making
it unreachable via 32bit displacements from the created code at ~ 0x40000000.
Fixed all the offending places in DSPLLEs JIT to emit register indirect accesses,
only to find out that the generated code is slower than the interpreter and does
work just as good(or bad). Oh well, back to DSPHLE it is then.
r6234 x86 – скачать, зеркало
r6234 x64 – скачать, зеркало