Commit Graph

19144 Commits

Author SHA1 Message Date
Tillmann Karras 7066689131 ShaderCaches: remove unneeded typedefs 2015-10-29 14:43:05 +01:00
flacs c1c311d132 Merge pull request #3208 from Tilka/small_cleanup
OGL/ProgramShaderCache: small cleanup
2015-10-29 14:03:15 +01:00
Tillmann Karras f9512ece77 OGL/ProgramShaderCache: small cleanup
Drop an unused function and privatize the cash, er, I mean cache.
2015-10-29 13:51:25 +01:00
Scott Mansell 9154347f5b Merge pull request #3187 from lioncash/accum
FifoAnalyzer: Replace loop with std::accumulate
2015-10-29 10:30:38 +13:00
Scott Mansell 1984416df4 Merge pull request #3186 from lioncash/dsp
DSPJitRegCache: Minor changes
2015-10-29 10:29:26 +13:00
JosJuice 6c25c63301 Limit size of loaded file systems
If a disc image is malformed in a specific way, Dolphin
will try to allocate a lot of memory, making it crash.
To avoid that, this change adds an artificial limit for
the size of file systems that Dolphin will try to load.
2015-10-28 21:47:19 +01:00
Lioncash e76b1f2d56 Merge pull request #3170 from spxtr/pipes
Implemented GC Controller inputs via named pipes.
2015-10-28 16:39:57 -04:00
Scott Mansell 09b27e854c Merge pull request #3201 from Tilka/swizzle
VertexLoaderX64: optimize more color swizzles
2015-10-29 09:39:09 +13:00
Scott Mansell 44a40642f3 Merge pull request #2704 from RisingFog/frameadvancehold
Add Frame Advance Hold Hotkey Functionality
2015-10-28 15:31:03 +13:00
Tillmann Karras b0d5b4483e VertexLoaderX64: optimize more color swizzles
Based on https://gist.github.com/rygorous/c5dba8c6c75bc83aa4ae, but with
a small tweak and a somewhat related change for the 565 case.
2015-10-25 14:51:07 +01:00
Scott Mansell bd20dd3962 Merge pull request #3188 from lioncash/texcache
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow
2015-10-25 17:46:43 +13:00
Lioncash 7a6ff8a95b DSPJitRegCache: Make the allocation array part of the DSPJitRegCache class 2015-10-24 23:36:18 -04:00
Lioncash 6b297ebcff DSPRegCache: Class access level formatting 2015-10-24 23:32:12 -04:00
spxtr d9d6cf8eda GC controller input using named pipes
Currently only works on unix, but can be extended to other systems. Can
also be extended to do wiimotes.

Searches the Pipes folder for readable named pipes and creates a dolphin
input device out of them. Send controller inputs to the game by writing
to the file. Commands are described in Pipes.h.
2015-10-24 20:20:03 -07:00
Lioncash fe10a20be1 Merge pull request #3195 from lioncash/android
Arm64Emitter: Minor changes
2015-10-24 12:06:53 -04:00
Lioncash 382a2f390c Merge pull request #3199 from sepalani/debug_mem_range
MemoryCheckDlg: Fix close/cancel buttons
2015-10-23 14:56:03 -04:00
Sepalani 6b662280a9 MemoryCheckDlg: Fix event buttons 2015-10-23 20:37:29 +02:00
Markus Wick bdfe889eac Merge pull request #3196 from phire/remove-special-case
VertexShader: Remove 'special case' that has been disabled forever.
2015-10-23 10:05:40 +02:00
Scott Mansell 4c5c33c514 VertexShader: Remove 'special case' that has been disabled forever. 2015-10-23 19:02:51 +13:00
flacs ece2e91446 Merge pull request #3193 from Tilka/swizzle
VertexLoaderX64: optimize 4444 color conversion
2015-10-23 07:51:40 +02:00
Lioncash 2630752ffe Arm64Emitter: Get rid of a pointer cast 2015-10-22 15:32:11 -04:00
Lioncash 018c85c248 Arm64Emitter: Mark trivial functions as constexpr 2015-10-22 15:22:38 -04:00
Tillmann Karras 33784456a5 VertexLoaderTester: drop superfluous newlines 2015-10-22 16:31:02 +02:00
Tillmann Karras 2a58802c00 VertexLoaderManager: symbolize magic constant 2015-10-22 16:31:02 +02:00
Tillmann Karras d80124ab59 VertexLoaderX64: optimize 4444 color conversion
https://gist.github.com/rygorous/75133a50c60f9243366e
2015-10-22 16:30:56 +02:00
Lioncash c28e3affc5 TextureCacheBase: Change CacheLinesPerRow to BytesPerRow 2015-10-22 08:14:43 -04:00
Scott Mansell 5228758383 Merge pull request #3192 from lioncash/typedef
WII_IPC_HLE: Remove unused typedef
2015-10-22 21:09:41 +13:00
Lioncash f696b323c0 WII_IPC_HLE: Remove unused typedef 2015-10-21 13:43:22 -04:00
Lioncash 10c1fd7f38 MathUtil: Make Rectangle constructors and equality operator constexpr 2015-10-20 20:30:36 -04:00
Lioncash 09641ec313 MathUtil: Default initialize Rectangle class data members
Puts Rectangles into a valid state upon creation
2015-10-20 20:30:16 -04:00
Lioncash 695ffefef7 FifoAnalyzer: Replace loop with std::accumulate 2015-10-19 10:29:00 -04:00
Markus Wick dddc834c14 Merge pull request #3184 from mimimi085181/check-hash-on-partial-texture-updates
Check the hash before applying efb copies as partial texture updates
2015-10-19 09:44:24 +02:00
Scott Mansell 1ba600b688 Merge pull request #3145 from catzilla4/master
FreeBSD Compilation fix
2015-10-19 17:29:34 +13:00
mimimi085181 ff709247e2 Check the hashes of efb copies before applying them as partial texture updates 2015-10-18 16:36:38 +02:00
flacs 018a05b77e Merge pull request #3182 from JosJuice/readfromvolume-length
Remove length parameter from DiscScrubber::ReadFromVolume
2015-10-18 15:04:32 +02:00
JosJuice 4d77d12f01 Remove length parameter from DiscScrubber::ReadFromVolume
The function only makes sense when the length is 4. All current callers
use the length 4, so this change doesn't affect any behavior.
2015-10-18 09:24:31 +02:00
Scott Mansell 2be909849b Merge pull request #3180 from phire/fix-gles
Make sure FORCE_EARLY_Z is defined for GLES
2015-10-18 14:58:22 +13:00
flacs 15131575c1 Merge pull request #3183 from JosJuice/discscrubber-getdolsize
Remove DiscScrubber::GetDOLSize in favor of IFileSystem::GetBootDOLSize
2015-10-18 01:05:09 +02:00
JosJuice 618ccf6109 Remove DiscScrubber::GetDOLSize in favor of IFileSystem::GetBootDOLSize
IFileSystem::GetBootDOLSize acts the same. The only difference is that it
reads the DOL offset on its own, but this change makes that optional.
2015-10-17 20:52:26 +02:00
JosJuice 1ec9c6393a Don't reserve space for directories when scrubbing
The offset in a directory FileInfo is an FST offset, not a disc offset.
Treating it as a disc offset doesn't make sense. Directories don't take
up space outside of the FST, so they don't need to be marked as used. The
old behavior may have prevented some scrubbable areas from being scrubbed.
2015-10-17 17:30:23 +02:00
Scott Mansell 9ee610830c Make sure FORCE_EARLY_Z is defined for GLES 2015-10-18 02:37:14 +13:00
Scott Mansell 8b1138943d Merge pull request #3179 from phire/mesa-early-z
Support Conservative Depth as a fallback for Early Z (Mesa support for ZCompLoc)
2015-10-18 02:14:52 +13:00
Scott Mansell e7b2a22225 Support Conservative Depth as a fallback for EarlyZ
Allows Mesa based drivers to support ZCompLoc
2015-10-18 01:46:54 +13:00
shuffle2 34d46d6910 Merge pull request #3178 from shuffle2/ucrt-fread-workaround
patch win7 ucrtbase, and note versions
2015-10-17 05:02:18 -07:00
shuffle2 0acac35d77 patch win7 ucrtbase, and note versions 2015-10-17 04:24:20 -07:00
Markus Wick 4d3d947efc Merge pull request #3157 from degasus/videosw3
VideoSW: Wipe alpha on bypass EFB
2015-10-17 12:02:55 +02:00
Scott Mansell ac8976689b Merge pull request #3177 from Tilka/fix_warnings
PixelShaderGen: silence -Wformat-security warnings
2015-10-17 17:44:29 +13:00
flacs e289cb87e5 Merge pull request #3161 from shuffle2/ucrt-fread-workaround
exchange XSaveWorkaround for ucrtFreadWorkaround
2015-10-17 05:41:40 +02:00
Shawn Hoffman ca31c62c01 exchange XSaveWorkaround (which was fixed in VS2015) for ucrtFreadWorkaround (which was broken in VS2015). 2015-10-16 20:26:34 -07:00
flacs 63b08618c2 Merge pull request #3174 from ShadowsFriend/generic_build_fix
VideoCommon: Add includes for generic build
2015-10-17 05:08:30 +02:00