Commit Graph

19061 Commits

Author SHA1 Message Date
Scott Mansell 02f476cd09 FifoRecorder: Fix bug with normal vertex arrays.
Detected by the previous commit. We had forgotten to make sure the
Vertex Loader's table of normal sizes is initilzied, resulting in
the wrong offsets/sizes being used for vertices with normals.
2015-11-23 23:02:42 +13:00
Scott Mansell 3a36bfbcbb FifoAnalyzer: Double check command size while recording.
Since we now return the value, might as well check it's correct.
2015-11-23 23:02:41 +13:00
Scott Mansell 17b7102b35 FifoAnalyzer: Remove layer of indirection. 2015-11-23 23:02:40 +13:00
Scott Mansell 9872f5b518 FifoAnalyzer: Remove old code that was meant to handle EFB copies
It wasn't working, I'm not really sure why.
Since #2997 we rely on video common to mark efb copies 'written'
during recording, and for old dffs we just ignore the bad texture
while playing back in the texture cache.
2015-11-23 23:02:39 +13:00
Scott Mansell 0367c3107d FifoAnalyzer: Unify DecodeOp/DecodeCommand
We actually discovered a bug while combining the two functions with
FifoRecordAnalzyer's vertex array loading code. If per-vertex
postion or texture matrices were enabled and vertex arrays in use
then the wrong data would be used to calculate the minimum/maxmium
indices, which would result in either too much or too little vertex
data being included in the dff.

So this commit also increments the dff version number, so we can
identify old broken dffs later.
2015-11-23 23:02:38 +13:00
Scott Mansell 1656b2788d FifoAnalyzer: Convert FifoPlaybackAnalyzer to namespace 2015-11-23 23:02:38 +13:00
Scott Mansell da7fb568de FifoAnalyzer: Convert FifoRecordAnalyzer to namespace.
And a few minor cleanups.
2015-11-23 23:02:37 +13:00
Scott Mansell 9b60fd2381 FifoAnalyzer: remove un-implemented header 2015-11-23 23:02:35 +13:00
Markus Wick 3df344ed38 Merge pull request #3258 from JosJuice/update-australia
Resources: Update flag for Australia
2015-11-15 09:41:55 +01:00
Dolphin Bot aad06e8f54 Merge pull request #3259 from jcowgill/reproducible
Remove uses of __DATE__ and __TIME__
2015-11-14 02:59:03 +01:00
James Cowgill 386159c74e Remove uses of __DATE__ and __TIME__ 2015-11-14 00:52:41 +00:00
JosJuice 18fc7931fb Resources: Update flag for Australia
The updated flag is by MaJoR, as usual. 93e46631 updated all other flags.
2015-11-13 22:15:31 +01:00
Scott Mansell 19e3fba59f Merge pull request #3255 from mickdermack/pr-hidrace
Fix a race condition on shutdown between Memory and CWII_IPC_HLE_Device_hid
2015-11-13 23:54:33 +13:00
Michael Ehrenreich 3cbed527c2 Shut down HW in reverse initialization order
Fixes a race condition between Memory and CWII_IPC_HLE_Device_hid
2015-11-13 10:43:59 +01:00
Markus Wick a498c684a2 Merge pull request #2304 from linkmauve/xdg-basedir
UICommon: Respect XDG Base Directory Specification on POSIX systems
2015-11-12 12:31:24 +01:00
Markus Wick 8924980b49 Merge pull request #3247 from lutris/master
Enable relocatable linux builds
2015-11-11 12:16:29 +01:00
Mathieu Comandon 3cecbae324 Make LINUX_LOCAL_DEV a CMake option 2015-11-10 14:15:08 -08:00
Emmanuel Gil Peyrot b61da5db54 FileUtil: Move ShaderCache to the Cache directory. 2015-11-10 21:53:30 +00:00
Emmanuel Gil Peyrot e20b08491c UICommon: Respect XDG Base Directory Specification on POSIX systems. 2015-11-10 21:53:29 +00:00
Mathieu Comandon f2ae1a2545 Implement relocatable builds on Linux
- Change the path of the Sys folder to the executable's location
- Add LINUX_LOCAL_DEV flag to use relocatable version on Linux
- Add CMake definition for relocatable build
2015-11-10 12:49:04 -08:00
flacs 22b943d083 Merge pull request #3246 from Tilka/discio
DiscIO: drop unused stuff
2015-11-10 17:16:59 +01:00
Tillmann Karras df79398445 DiscIO: drop unused stuff 2015-11-10 17:03:08 +01:00
Scott Mansell d6b2fcaa71 Merge pull request #3242 from phire/less-warnings
XFMem: Don't warn on writes of zero to unknown registers.
2015-11-10 00:20:02 +13:00
Scott Mansell 8b3c2c1ba7 Merge pull request #3241 from phire/nogui-assert
NoGui: Return no to yes/no panic alerts.
2015-11-08 21:51:21 +13:00
Scott Mansell 636bedb207 XFMem: Don't warn on writes of zero to unknown registers. 2015-11-08 14:59:55 +13:00
Scott Mansell 2d38a59044 NoGui: Return no to yes/no panic alerts.
Also, print to stderr instead of stdio.
2015-11-08 14:10:26 +13:00
Scott Mansell 973118511a Merge pull request #2742 from AdmiralCurtiss/display-savestate-stats
Display Savestate information in Overlay and Menu.
2015-11-08 02:20:56 +13:00
Scott Mansell bdbe8e3691 Merge pull request #3238 from phire/fifo_version_number_fixes
Fifoplayer: Load the Correct version number.
2015-11-08 01:50:26 +13:00
Scott Mansell e6274284b0 Fifoplayer: Load the Correct version number. 2015-11-08 01:24:08 +13:00
flacs 318a07dc10 Merge pull request #3236 from Tilka/cleanup2
VideoCommon: small cleanup
2015-11-06 15:49:38 +01:00
Tillmann Karras 2ad901b2da VideoCommon: drop unused variable/setter 2015-11-06 15:43:58 +01:00
Tillmann Karras 81d9cce70c VideoCommon: rename TextureCache to TextureCacheBase 2015-11-06 15:43:58 +01:00
shuffle2 f26b3708e7 Merge pull request #3217 from dolphin-emu/shuffle2-patch-1
Add patch for ucrtbase 10.0.10240.16390 (Win8)
2015-11-05 15:37:19 -08:00
flacs fd6b093a7e Merge pull request #3234 from JosJuice/createintegerlabel
DolphinWX: Remove FifoPlayerDlg::CreateIntegerLabel
2015-11-05 12:42:15 +01:00
JosJuice da603b7665 DolphinWX: Remove FifoPlayerDlg::CreateIntegerLabel
Being forced to have the number first and being forced to add the
same string for all pluralizations is terrible for localisation.
2015-11-05 11:35:13 +01:00
Scott Mansell 85144f5f77 Merge pull request #3233 from phire/remove-show-efb-copy-regions
[RFC] Remove the "Show EFB Copy Regions" debug option.
2015-11-05 21:04:34 +13:00
Scott Mansell 290466d57a Merge pull request #3231 from spxtr/Pipes
Fix some bugs in Pipe input parsing
2015-11-05 20:31:03 +13:00
Scott Mansell 51c984dde3 Remove the "Show EFB Copy Regions" debug option.
It was only implemented in OpenGL, though the option was visible in both
backends, leading to memory leaks if you enabled it in DirectX.

And it wasn't particularly useful as a debug feature as it only showed
where in the EFB the copies were taken from, not what format it was, or
what the copy was used for, or what content was in the EFB at that point
in time.

Also, it stretched the copy regions relative to the window, so the
on-screen regions don't even line up with the window unless the game used
the full EFB (some pal games) and you game image stretched to the full
window.
2015-11-05 18:15:46 +13:00
Dolphin i18n Bot 4826376f8c Automatic translation template update 2015-11-04 19:49:31 +00:00
Scott Mansell fc48ff9791 Merge pull request #3225 from phire/moredebug
BPStructs: add debug info for texture setup.
2015-11-05 00:30:10 +13:00
Scott Mansell ba7b7522be BPStructs: add debug info for texture setup. 2015-11-05 00:13:25 +13:00
Markus Wick 27320ec924 Merge pull request #3232 from phire/minor-cleanup
Just a minor cleanup. Totally not the cause of random FifoCi failures.
2015-11-04 11:56:50 +01:00
Scott Mansell 008386fc7f Just a minor cleanup. Totally not the cause of random FifoCi failures.
This 'absolutely not' a read of uninitialized memory is '100% not'
the cause of our non-deterministic behavior on the Intel NUC.

If there was a such an error, it would show up on all FifoCi
backends equally. This is 'probably' unrelated to the fact that
the Intel NUC is the only fifoci runner not running under virtualization.
2015-11-04 23:23:35 +13:00
spxtr 4faf958fee Fix some bugs in Pipe input parsing.
If there were two commands in the buffer at once, it would only run the
first because of an error in UpdateInput.

If you sent the command "SET C" it would segfault because of a logic
issue in ParseCommand.
2015-11-03 20:26:23 -08:00
Scott Mansell 05b06b7a21 Merge pull request #3227 from Tilka/sizeof
OGL: don't hardcode buffer sizes
2015-11-04 14:35:23 +13:00
Tillmann Karras 39313152ba OGL: use StringFromFormat where appropriate 2015-11-04 01:56:02 +01:00
Scott Mansell e161e714c7 Merge pull request #3226 from Tilka/shadergen
VideoCommon: return code/uid from shader gens
2015-11-04 13:42:49 +13:00
Lioncash 9cc4cffa1d Merge pull request #3228 from Tilka/typedef
GLExtensions: remove duplicate typedefs
2015-11-03 19:24:10 -05:00
Ryan Houdek d3fee2b9bd Merge pull request #3229 from Tilka/broken_info_log
DriverDetails: remove BUG_BROKENINFOLOG leftovers
2015-11-03 12:57:55 -05:00
Tillmann Karras bc38892db7 DriverDetails: remove BUG_BROKENINFOLOG leftovers
It was removed in 9618738278.
2015-11-03 18:50:44 +01:00