Commit Graph

19436 Commits

Author SHA1 Message Date
Markus Wick
3e2ac3df43 Merge pull request #3292 from JosJuice/state-str
State: Don't use memcpy and memcmp with strings
2015-12-15 17:42:35 +01:00
Markus Wick
556371b2bc Merge pull request #3333 from ShadowsFriend/pausebutton_fix
DolphinWX: Fix label change for the play/pause button
2015-12-15 17:40:25 +01:00
Markus Wick
67557e1f91 Merge pull request #3330 from lioncash/alloc
EXI/SI: Get rid of explicit delete and new
2015-12-15 17:38:52 +01:00
Markus Wick
164e045123 Merge pull request #3317 from lioncash/null
NullSound: Minor changes
2015-12-15 17:38:37 +01:00
degasus
e26d9f7c35 MSAA: Store samples in ini files. 2015-12-15 09:41:01 +01:00
JosJuice
cbfab2a754 DiscIO: Improve DiscScrubber::ReadFromVolume error handling 2015-12-14 10:01:38 +01:00
JosJuice
bd67333da9 DiscIO: Improve CBlobBigEndianReader error handling 2015-12-14 09:56:44 +01:00
JosJuice
c01265db34 DiscIO: Unify CBlobBigEndianReader 2015-12-14 09:38:23 +01:00
JosJuice
c7e747d775 DiscIO: Improve IVolume::Read32 error handling
Callers can now check whether reads fail, either by checking the return
value or by setting the buffer to a known bad value and seeing if it stays
untouched. I've added error checks to FileSystemGCWii and Boot_BS2Emu,
but not to Boot since it doesn't check any of its other reads either.
2015-12-14 09:38:21 +01:00
Pierre Bourdon
2b60eb0e22 Merge pull request #3339 from delroth/nzhle-npc-pikmin-1
ZeldaHLE: Add support for New Play Control! Pikmin 1
2015-12-14 05:51:09 +01:00
Pierre Bourdon
2e5c94865b ZeldaHLE: Add support for New Play Control! Pikmin 1 2015-12-14 05:44:08 +01:00
Pierre Bourdon
2ab0bad137 Merge pull request #3252 from booto/vi-timing-adjust
VI: wait until start of ACV to sample XFB addr
2015-12-14 04:00:24 +01:00
booto
3899667c25 VI: wait until start of ACV to sample xfb addr 2015-12-14 10:44:54 +08:00
Markus Wick
fe2cbc49f1 Merge pull request #3017 from Armada651/convergence
VideoConfig: Change convergence setting to percentage value.
2015-12-14 00:14:42 +01:00
Jules Blok
3f7bf5ca93 VideoConfigDiag: Snap the convergence slider. 2015-12-13 22:58:38 +01:00
Jules Blok
ee657c04fe VideoConfig: Change convergence setting to percentage value. 2015-12-13 22:58:16 +01:00
Pierre Bourdon
e670d29dfe Merge pull request #3335 from ShadowsFriend/nopch_fix
Core: Fix build with portaudio enabled and pch disabled
2015-12-13 22:26:42 +01:00
Pierre Bourdon
513d4f77af Merge pull request #3334 from mbc07/GameINI_DKCR
[GameINI] Disable Fast Depth Calculation for Donkey Kong Country Returns
2015-12-13 22:11:49 +01:00
Pierre Bourdon
2dca38cc6d Merge pull request #3337 from Sonicadvance1/fix_wgl_leak
Fix minor memory leak in WGL interface.
2015-12-13 22:10:16 +01:00
Christian Widmer
5818d72af4 Core: Fix build with portaudio enabled and pch disabled
Includes cstring in EXI_DeviceMic.cpp to fix the undeclared function
errors for memset and memcpy when building with portaudio enabled and
pch disabled. Also adds the std:: prefix to those function calls
because there is no guarantee that they are put in the global namespace
when using cstring.

Thanks to David Brooke for noticing this!
2015-12-13 19:44:54 +01:00
Ryan Houdek
d9999bf30c Fix minor memory leak in WGL interface.
Would have a memory leak on game end
2015-12-13 11:42:18 -06:00
Ryan Houdek
78dda1cf79 [OGL] Update extension checks in Render.
This was relying on behaviour that GLExtensions was adding fake extensions to the supported list with ES.
This no longer happens so it needed to be changed.
2015-12-13 11:39:45 -06:00
Ryan Houdek
b620b26f8f [GLExtensions] Improve the extension loader.
This removes some nonsense in the extension loader where under an ES context we would still pull all function pointers and just continue onward if we
fail to pull one.
Now function pointers are only pulled if the version of GL or ES actually supports that function.
2015-12-13 11:37:07 -06:00
Ryan Houdek
6d2fd8ae37 [GLExtensions] Support ORing of extensions when checking for support.
Makes my life easier.
2015-12-13 11:35:55 -06:00
Mateus B. Cassiano
0c1c40b01b Update GameINI for Donkey Kong Country Returns 2015-12-12 19:29:16 -03:00
Christian Widmer
33487ab5f2 DolphinWX: Fix label change for the play/pause button
This fixes changing the play/pause button's label depending on the
emulation state. Before, wxToolBarToolBase's SetLabel() function was
used. This function, however, is not implemented in wxGTK which leads to
the label not changing on linux when the button is clicked. Although the preferred
method (according to the wxWidgets documentation) to change the properties
of a tool is to use the toolbar's setters, there is no such setter for
the label. Therefore, this implements a workaround where the
button is deleted and readded afterwards with the updated properties.

Thanks to linkmauve for noticing this!
2015-12-12 23:28:34 +01:00
Lioncash
cc75f2ea14 SI: Get rid of explicit delete and new 2015-12-12 14:41:45 -05:00
Lioncash
272054ec94 EXI_Device: Get rid of explicit delete and new 2015-12-12 14:39:40 -05:00
Pierre Bourdon
cc3dc05438 Merge pull request #3331 from degasus/master
ConfigManager: Add get/set for missing ini options.
2015-12-12 11:02:00 +01:00
degasus
814a7da102 ConfigManager: Add get/set for missing ini options. 2015-12-12 09:52:57 +01:00
Ryan Houdek
cb5be45f72 Merge pull request #3200 from degasus/master
Throttler + Mixer: Configureable variance
2015-12-11 07:04:56 -05:00
Pierre Bourdon
8acf8cf4d0 Merge pull request #3245 from jloehr/RealWiimote-Windows-Fix
[RFC]Real Wiimote Windows "-TR" Fix
2015-12-11 04:01:38 +01:00
flacs
849bfc51f6 Merge pull request #3329 from lioncash/cast
Interpreter: Get rid of some aliasing casts
2015-12-10 07:03:48 +01:00
Lioncash
392c1335b7 Interpreter: Get rid of some aliasing casts 2015-12-09 19:14:53 -05:00
Markus Wick
c829a01c89 Merge pull request #3328 from lioncash/frsp
Interpreter: Update CR when FRSP's record bit is set
2015-12-09 23:07:05 +01:00
Lioncash
f7977fdee5 Jit: Fall back to interpreter when frsp's record bit is set 2015-12-09 14:11:45 -05:00
Lioncash
3acf165787 Interpreter: Update CR when FRSP's record bit is set 2015-12-09 12:51:53 -05:00
Lioncash
a98bddc352 Interpreter: Remove underscore from frsp's parameter 2015-12-09 12:50:50 -05:00
Markus Wick
92ce365053 Merge pull request #3326 from rohit-n/build-pch
Fix building with PCH disabled.
2015-12-09 01:51:50 +01:00
Rohit Nirmal
5a7e0aba70 Fix building with PCH disabled. 2015-12-08 16:57:37 -06:00
Markus Wick
2e40c614c5 Merge pull request #3325 from stenzek/d3d-screenshot-crash-fix
D3D: Fix crash when taking screenshot with crop enabled
2015-12-08 21:18:01 +01:00
Stenzek
5dcd3cd4fd D3D: Fix crash when taking screenshot with crop enabled
This was due to specifying negative source coordinates for the texture copy, which must lie within the bounds of the source and destination textures.

The behavior now is to clamp the copy region to [0 <= size <= backbuffer size], resulting in a copy region that can be smaller than the backbuffer, but never larger.
2015-12-09 02:38:24 +10:00
Markus Wick
fc02ef46f6 Merge pull request #3321 from JosJuice/android-size-log
MainAndroid: Fix size logging
2015-12-08 16:16:13 +01:00
JosJuice
a27610ff17 MainAndroid: Fix size logging 2015-12-08 12:37:51 +01:00
Markus Wick
49cd777fce Merge pull request #3324 from lioncash/alloc
DiscIO: Get rid of a few explicit deletes
2015-12-08 12:03:54 +01:00
Stenzek
63264ac23f D3D: Fix EFB depth buffer copies, filtering on scaled EFB copies when MSAA is enabled, real XFB filtering
Since ResolveSubresource cannot be used with depth textures (and throws an error with the debug layer enabled), use a shader which selects the minimum depth value from all samples.

Changes the sampler by XFBEncoder to use a linear filter, rather than point, to match GL behavior.
2015-12-08 20:29:21 +10:00
Lioncash
6295297ab3 DiscIO: Get rid of a few explicit deletes 2015-12-08 04:35:56 -05:00
Markus Wick
3e3e6073f7 Merge pull request #3316 from sepalani/fix_poll
WSAPoll: Fixed - invalid argument was supplied
2015-12-08 09:01:52 +01:00
Scott Mansell
48760c9037 Merge pull request #3323 from Simek/minor-config-gui-tweaks
minor General Config GUI improvements
2015-12-08 14:37:30 +13:00
Bartosz Kaszubowski
4655cd01fa minor General Config GUI improvements
- theme and language selectors wrapped into one GridBagSizer for better
appearance
- missing left padding added to checkbox on Advanced Pane
2015-12-08 02:13:32 +01:00