Markus Wick
aabcd441d9
Merge pull request #3381 from Armada651/revert-3076
...
Revert "Merge pull request #3076 from void-ghost/stereo3d_presets"
2015-12-28 10:18:32 +01:00
Markus Wick
281860eafa
Merge pull request #3400 from lioncash/shadergen
...
ShaderGen: Get rid of static buffers
2015-12-28 10:09:11 +01:00
Markus Wick
cec1a75976
Merge pull request #3296 from sepalani/r_menu
...
DebuggerViews: Fixed nullptr dereferences
2015-12-28 10:02:53 +01:00
Scott Mansell
790a836736
FifoAnalyzer: Fix a few warnings that visual studio missed.
2015-12-28 20:20:30 +13:00
Stenzek
5cb047f449
D3D: Fix compilation error on windows
2015-12-28 15:50:01 +10:00
Markus Wick
294bb75316
Merge pull request #3295 from stenzek/d3d-xfb-msaa
...
D3D: Fix multiple issues relating to MSAA
2015-12-28 01:13:42 +01:00
Scott Mansell
52d6a7505a
Merge pull request #3239 from phire/cleanup-fifo-analyzers
...
Cleanup fifo analyzers (and fix major bugs with fifo recording)
2015-12-28 11:14:09 +13:00
Sepalani
4d3f05ddf8
DebuggerViews: Fixed nullptr dereferences
2015-12-27 19:57:58 +04:00
Lioncash
c5f123a70b
ShaderGenCommon: Remove unnecessary static keywords
...
Functions defined in a header should be inline only, otherwise program
code is generated for every other file that calls said functions
2015-12-26 18:02:54 -05:00
Lioncash
c151fe582f
ShaderGenerators: Remove unnecessary inline keywords
...
Static by itself is sufficient
2015-12-26 17:57:32 -05:00
Lioncash
8ce3a4aa70
ShaderGeneration: Get rid of static buffers
2015-12-26 17:01:54 -05:00
rabbott99
5d61e067a0
CheatSearchTab: Use an enum for filter masks rather than ints
2015-12-26 16:51:06 -05:00
Scott Mansell
bed102ae89
Revert "ShaderGen: Toggle value of uninitialized color."
2015-12-27 02:28:29 +13:00
Scott Mansell
be8410dcad
Merge pull request #3383 from Sonicadvance1/compile_fixes
...
Compile fixes
2015-12-27 02:16:55 +13:00
skidau
5555822ca2
Catered for the case where ADPCM audio would loop before the end of the stream. Patch by hk.konpie.
2015-12-26 22:57:43 +11:00
Lioncash
a8ab156a29
Fifo: Convert define into constant
...
Also moves it to the cpp file where it's used.
2015-12-25 16:07:04 -05:00
Mateus B. Cassiano
7f1fe7a6cb
Always load system fonts from IPL dump, if available
2015-12-24 15:57:54 -03:00
Scott Mansell
0216879d3e
Revert "Config Hotfix: Prevent per-game settings (ie. GameINI) being stored to the global user configuration."
2015-12-24 18:25:22 +13:00
skidau
f96f90b334
Ignored the mouse position unless the cursor is over the Dolphin window.
...
Fixes issue 8673.
2015-12-24 09:44:26 +11:00
Rohit Nirmal
4163ab6a0e
Fix building with PCH disabled.
2015-12-23 09:54:33 -06:00
Stenzek
12ef4c8ae0
OGL: Fix for black framebuffer when resolution/msaa mode changes
2015-12-23 23:29:32 +10:00
Stenzek
4d48a7abfc
D3D: Fix crash on startup/resize
2015-12-23 23:07:31 +10:00
Lioncash
8371c428cd
VertexLoaderBase: Get rid of explicit delete and new
2015-12-22 20:09:54 -05:00
Mathew Maidment
3cf16f8573
Merge pull request #3382 from lioncash/render
...
Render: Get rid of explicit new and delete
2015-12-22 19:26:26 -05:00
Ryan Houdek
eb2d4935cd
Including missing headers required for non-pch builds and other architectures
2015-12-22 18:20:48 -06:00
Ryan Houdek
eaf21b3c80
Work around Google's trash NDK
2015-12-22 18:20:17 -06:00
Lioncash
da0e647346
Render: Get rid of explicit new and delete
2015-12-22 19:10:05 -05:00
Jules Blok
8bda12bcfd
Revert "Merge pull request #3076 from void-ghost/stereo3d_presets"
...
This reverts commit 81414b4fa2
, reversing
changes made to b926061f64
.
Conflicts:
Source/Core/DolphinWX/Frame.cpp
Source/Core/VideoCommon/VideoConfig.cpp
Source/Core/VideoCommon/VideoConfig.h
2015-12-23 00:35:19 +01:00
Markus Wick
a55af16131
Merge pull request #3350 from Armada651/video-stereoscopy
...
VideoConfig: Move all stereoscopy options to the stereoscopy section.
2015-12-23 00:20:37 +01:00
Lioncash
e422af9cce
FramebufferManager: Get rid of raw new and delete
2015-12-22 18:06:05 -05:00
Jules Blok
7b4c4bfc5e
VideoConfig: Fix stereoscopy preset settings.
...
PR #3076 looks to be pretty poor quality and should be reverted.
2015-12-22 23:24:05 +01:00
Jules Blok
fa207ef8a0
VideoConfig: Move all stereoscopy options to the stereoscopy section.
2015-12-22 23:16:27 +01:00
Jules Blok
9a1b2f68cc
ISOProperties: Replace the ConvergenceMinimum option by the Convergence option.
...
The ConvergenceMinimum was replaced by Convergence in the GameINI.
2015-12-22 23:16:27 +01:00
Jules Blok
c49bb57e09
VideoConfig: Move all GameINI stereoscopy options to the stereoscopy section.
2015-12-22 23:16:27 +01:00
JosJuice
ed8fa5ba77
DolphinWX: Add missing m_ListElfDol cases
2015-12-22 16:26:31 +01:00
Mathew Maidment
1b69743ba1
Merge pull request #3362 from lioncash/memory
...
NANDContentLoader/WiiWAD: Get rid of raw delete and new
2015-12-22 06:39:12 -05:00
spxtr
21032d76a8
Use const reference, explicit, final, and override in DQt2.
2015-12-21 19:46:03 -08:00
Scott Mansell
ce6de78854
Merge pull request #3250 from JosJuice/loadgameini-condition
...
BootManager: Remove unnecessary LoadGameIni condition
2015-12-22 13:24:09 +13:00
JosJuice
1b946c2ff3
BootManager: Remove unnecessary LoadGameIni condition
2015-12-22 00:54:54 +01:00
Scott Mansell
a691e1fb6d
Merge pull request #2621 from AdmiralCurtiss/config-cache-methods
...
BootManager: Slightly clean up the config_cache.
2015-12-22 12:52:16 +13:00
Scott Mansell
1ce9c33f6c
Merge pull request #3373 from JosJuice/temp-settings-ini-hotfix
...
Config Hotfix: Prevent per-game settings (ie. GameINI) being stored to the global user configuration.
2015-12-22 12:37:22 +13:00
Admiral H. Curtiss
4d2e9abba7
BootManager: Slightly clean up the config_cache stuff by pulling the save and restore into their own methods.
2015-12-22 00:30:25 +01:00
Admiral H. Curtiss
3149140052
Config: Hotfix to prevent per-game settings from ie. GameINIs being stored to the global user configuration.
2015-12-22 00:16:29 +01:00
Lioncash
f448c6e291
FramebufferManagerBase: Get rid of explicit delete and new
2015-12-21 15:57:48 -05:00
Pierre Bourdon
9039cc5860
Merge pull request #3371 from lioncash/streambuffer
...
StreamBuffer: Minor changes
2015-12-21 18:56:08 +01:00
Mathew Maidment
4c62a5c0a4
Merge pull request #3370 from rohit-n/warnings
...
Silence -Wshadow and -Wmaybe-uninitialized warnings.
2015-12-21 11:44:51 -05:00
Mathew Maidment
44a3578993
Merge pull request #3367 from spxtr/DQt2
...
DQt2: Use a separate INI file for UI settings
2015-12-21 11:33:56 -05:00
Rohit Nirmal
aaa89d4f73
Silence -Wshadow and -Wmaybe-uninitialized warnings.
2015-12-21 10:06:07 -06:00
Lioncash
d20ba76ab3
StreamBuffer: Make factory function return a std::unique_ptr
2015-12-21 10:21:38 -05:00
Lioncash
ec71452706
StreamBuffer: Correct function casing
2015-12-21 10:09:03 -05:00
Lioncash
1eea95a5be
StreamBuffer: Use std::array for fences
2015-12-21 10:07:56 -05:00
Lioncash
7b69fec8e7
StreamBuffer: Remove unnecessary inline specifiers
...
Methods defined directly in class bodies are inline by default
2015-12-21 10:04:14 -05:00
Lioncash
f295182833
VideoBackends: Simplify initialization and deinitialization of resources
...
Approximately three or four times now, the issue of pointers being
in an inconsistent state been an issue in the video backend renderers
with regards to tripping up other developers.
Global (ugh) resources are put into a unique_ptr and will always have a
well-defined state of being - null or not null
2015-12-20 22:40:37 -05:00
hdcmeta
50b9ab4541
Set g_vertex_manager to nullptr on DX11 backend shutdown.. OGL backend already does this
2015-12-20 17:02:36 -08:00
spxtr
3a4a60f937
Use a separate INI file for UI settings.
2015-12-20 15:36:39 -08:00
Pierre Bourdon
2842897d55
Merge pull request #3363 from lioncash/tmd
...
Volume: Make GetTMD return a vector
2015-12-20 09:54:24 +01:00
spxtr
f9f2b2fd36
Move the menu bar into its own file.
2015-12-19 21:24:48 -08:00
Stenzek
a61fc372bb
VideoCommon: Change PokeEFB to take a pointer rather than a vector
...
This saves allocating a vector for the pass-through path.
2015-12-20 14:42:14 +10:00
Lioncash
cbeb7034eb
Volume: Make GetTMD return a vector
2015-12-19 18:00:44 -05:00
Lioncash
c78c54c546
NANDContentLoader/WiiWAD: Get rid of raw delete and new
2015-12-19 17:37:09 -05:00
Stenzek
7b628c99ec
D3D: Implement vectored efb pokes, increase util vertex buffer size to 64KiB
2015-12-20 00:31:58 +10:00
degasus
5e9ab28ed1
VideoSW: Clear normal vertex data.
...
This data might not be initialized but used for lighting.
This matches our ShaderGen usage in VertexShaderGen.cpp:166.
2015-12-19 10:51:42 +01:00
Markus Wick
e638775bc7
Merge pull request #3351 from degasus/wip
...
Real Wiimote: Don't delay speaker data.
2015-12-18 15:30:49 +01:00
Pierre Bourdon
de21da5fb2
Merge pull request #3315 from degasus/test
...
ShaderGen: Toggle value of uninitialized color.
2015-12-18 14:21:37 +01:00
Scott Mansell
ebe3c49c5f
Merge pull request #3332 from degasus/master
...
MSAA: Store samples in ini files.
2015-12-19 01:37:10 +13:00
Mathew Maidment
7a78df2624
Merge pull request #3349 from JosJuice/am-baseboard
...
DolphinWX: Change "AM-Baseboard" string to "AM Baseboard"
2015-12-17 18:25:54 -05:00
Mathew Maidment
15580e6a3d
Merge pull request #3305 from spxtr/DQt
...
DQt2: Refactors.
2015-12-17 18:24:52 -05:00
degasus
94ae134bf4
Real Wiimote: Don't delay speaker data.
2015-12-17 23:48:43 +01:00
JosJuice
b4b1844fe8
DolphinWX: Change "AM-Baseboard" string to "AM Baseboard"
...
It's so that the string in ControllerConfigDiag will match the string
in GameCubeConfigPane. Right now, it unnecessarily appears twice in
the list of strings to translate.
2015-12-17 22:25:15 +01:00
JosJuice
03b4e16e0e
DolphinQt: Attempt at fixing issue 9170
2015-12-17 21:49:28 +01:00
JosJuice
9a0b70cc51
Fix encoding for savestate slots
...
StrToWxStr is needed, otherwise the string will not be read as UTF-8.
2015-12-17 11:25:14 +01:00
Tillmann Karras
659b42b614
JitArm64: simplify fcmpX
2015-12-16 21:17:36 +01:00
Tillmann Karras
94f0e2493c
JitArm64: fall back if FPSCR is used
2015-12-16 21:17:36 +01:00
Tillmann Karras
84b1e22246
PowerPC: rename fcmpx to fcmpX
...
lowercase: optional Rc bit
uppercase: generic placeholder
2015-12-16 21:17:36 +01:00
Tillmann Karras
d3dfdf7767
Interpreter: don't always set FPSCR.FX on NaNs
...
FPSCR.FX must only be set if an exception bit changes from 0 to 1.
SetFPException() already handles this correctly.
2015-12-16 21:17:36 +01:00
Markus Wick
cc6442734d
Merge pull request #3340 from ShadowsFriend/missing_icons_regression
...
DolphinWX: Fix items vanishing from toolbar
2015-12-16 17:50:51 +01:00
spxtr
f2e9321591
Repackage the unique_ptr in GameFile into a QSharedPointer.
2015-12-15 21:00:56 -08:00
Christian Widmer
9dd9a75dbe
DolphinWX: Fix items vanishing from toolbar
...
Commit 33487ab5f2
introduced a regression
where items would vanish from the toolbar. This adds a call to Realize()
after the reinsertions of the play/pause button as required per
documentation.
Thanks to Simonwayneee for noticing this!
2015-12-16 00:18:04 +01:00
Markus Wick
c310b3f0e6
Merge pull request #3309 from JosJuice/reload-banner-without-volume
...
Don't read from volume when reloading Wii banners
2015-12-15 18:48:49 +01:00
Markus Wick
2990df3f59
Merge pull request #3265 from JosJuice/volumedirectory-simplifications
...
DiscIO: Small VolumeDirectory simplifications
2015-12-15 18:36:49 +01:00
Markus Wick
e15b6e1a37
Merge pull request #3162 from lioncash/rast
...
Software: Minor changes to Rasterizer
2015-12-15 18:22:42 +01:00
Markus Wick
25a584626f
Merge pull request #3127 from JosJuice/read-return
...
DiscIO: Improve error handling for reading integers
2015-12-15 18:16:40 +01:00
Markus Wick
e4b83d17bf
Merge pull request #3270 from JosJuice/more-translations
...
Mark more strings for translation
2015-12-15 18:13:26 +01:00
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
2e5c94865b
ZeldaHLE: Add support for New Play Control! Pikmin 1
2015-12-14 05:44:08 +01:00
booto
3899667c25
VI: wait until start of ACV to sample xfb addr
2015-12-14 10:44:54 +08: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
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
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
degasus
814a7da102
ConfigManager: Add get/set for missing ini options.
2015-12-12 09:52:57 +01:00
degasus
b806792d6c
JitArm64: Fallback on FPRF usage.
2015-12-12 01:56:50 +01:00
degasus
cfe65e0e91
JitArm64: Fix single precision
2015-12-12 01:56:50 +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
Lioncash
392c1335b7
Interpreter: Get rid of some aliasing casts
2015-12-09 19:14:53 -05: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
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
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
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
Markus Wick
9719804cd2
Merge pull request #3320 from lioncash/factory
...
DiscIO: Make factory methods return unique_ptrs
2015-12-07 19:12:15 +01:00
Lioncash
edbbf493f8
DiscIO: Make factory methods return unique_ptrs
...
Rather than rely on the developer to do the right thing,
just make the default behavior safely deallocate resources.
If shared semantics are ever needed in the future, the
constructor that takes a unique_ptr for shared_ptr can
be used.
2015-12-07 05:57:37 -05:00
Lioncash
e7b98e27ab
EXI: Use std::array and std::unique_ptr for managing channels
2015-12-06 14:51:55 -05:00
Julian Löhr
e076098a95
Fix "-TR" Wiimotes on Windows 8/8.1/10, by using WriteFile for sending
...
"-TR" Wiimotes don't accept output reports via the Control Channel. HidP_SetOutputReports will send the data via the Control Channel, whereas WriteFile will send it via the Interrupt Channel. Therefore using WriteFile enables "-TR" Wiimotes on Windows. There are some issues to be aware of. First the Toshiba Bluetooth Stack needs the output report buffer to have the size of the largest output report supported by the device. This requirement is also enforced by the Windows 7 default stack. However the Toshiba Stack, will only send the actual report bytes to the device, whereas on Windows 7 the full resized buffer is sent, resulting in an error on the Wiimote. This issue renders WriteFile unusable on Windows 7 with the default stack. On Windows 8/8.1/10 this requirement is somehow not implemented and it is possible to send smaller buffers via WriteFile to the device, enabling "-TR" Wiimotes.
2015-12-06 20:17:58 +01:00
Julian Löhr
03fc048006
Add Methods to check for Toshiba Stack
...
Check is done by checking the driver provider property of the HID Class Driver. As the Toshiba Bluetooth Stack provides its own.
The initial enumerated device node is a empty hid interface node. Therefore first one node is moved up and then the provider property check is done.
2015-12-06 18:19:05 +01:00
Julian Löhr
2b39219367
Remove explicit Wait on Overlap Event
...
GetOverlappedResult also waits on the event internally (See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683209(v=vs.85).aspx ). So instead of explicitly waiting for it before, use its wait. To distinguish between cancel and complete, the status of the request is used, which is saved in the "Internal" member (See https://msdn.microsoft.com/en-us/library/windows/desktop/ms684342(v=vs.85).aspx ).
2015-12-06 18:16:08 +01:00
degasus
f511e539c2
VideoSW: Use Zero for undefined colors.
2015-12-06 12:39:18 +01:00
degasus
7b34319e53
ShaderGen: Toggle value of uninitialized color.
...
SMS seems to need 0, no regressions either.
2015-12-06 12:39:18 +01:00
Lioncash
7762d68c4b
Rasterizer: Mark some references as const
2015-12-06 02:51:36 -05:00
Lioncash
0608ed5130
Rasterizer: Specify internal linkage on Draw
...
It's not exposed in the header.
2015-12-06 02:51:34 -05:00
Lioncash
a0924b5e1b
Rasterizer: Convert BLOCK_SIZE into a constant variable
2015-12-06 02:51:33 -05:00
Lioncash
2793785e0c
Rasterizer: Get rid of a clamp macro
2015-12-06 02:51:28 -05:00
Lioncash
9b921c2e7c
Rasterizer: Get rid of a trivial pointer cast
2015-12-06 02:44:06 -05:00
Lioncash
0917db7fc0
NullSound: Use std::array for the buffer
2015-12-05 18:13:55 -05:00
Lioncash
0d4baa0744
NullSound: Replace header define with private constant
2015-12-05 18:13:49 -05:00
Lioncash
f6c247d10e
WII_IPC_HLE_Device_usb: const correctness for function parameters
...
The data passed in isn't modified in these functions
Also normalizes variables with prefixed underscores in the modified
functions (and normalizes outliers to our current coding style), as
single-underscore followed by any lowercased/uppercased character is
reserved for use in the global namespace (it's a common misconception this
is assumed to only be the case for underscores followed by a capital
character, but this is only the case in C, not C++).
2015-12-05 16:14:37 -05:00
Sepalani
e1e6d2ba2c
WSAPoll: Fixed - invalid argument was supplied
2015-12-05 19:39:17 +01:00
spxtr
a06b0d87a7
Refactor proxy models and toolbar.
...
Remove the ugly LARGE_ICON column hack from the table proxy and use a
list proxy. Move the toolbar into its own file.
2015-12-03 20:41:17 -08:00
Pringo
b6f16b3049
Remove Google Code Reference and Fix Grammar
2015-12-03 18:20:59 -08:00
JosJuice
a0cd753060
Don't read from volume when reloading Wii banners
...
Should make loading cached Wii games that lack banners slightly faster.
2015-12-03 17:29:59 +01:00
Markus Wick
297f6a097d
Merge pull request #3307 from Pringo/update-url
...
Update Issue Tracker URL in Comment
2015-12-03 17:27:43 +01:00
Lioncash
e0eef7bef4
WaveFile: Get rid of an explicit delete
2015-12-02 20:05:18 -05:00
Scott Mansell
a759883ae5
Merge pull request #3126 from phire/remove-logging-lock
...
Refactor logging code to get rid of a mutex.
2015-12-03 13:32:07 +13:00
Markus Wick
6425ddcbe7
Merge pull request #3253 from Phatcat/master
...
More wiimote controls (+extensions) for android
2015-12-02 22:50:29 +01:00
Phatcat
ca9c9b7135
Wiimote + Extensions for Android
2015-12-02 21:58:54 +01:00
degasus
f3b6afe1c5
ConfigManager: initialize m_revision
...
FifoPlayer don't set it, and don't need it. But it's used...
2015-12-02 21:37:12 +01:00
degasus
d28c9ae354
VideoSW: Wipe output vertices
...
They shall be overwritten afterwards.
2015-12-02 21:37:12 +01:00
Pringo
aaa67ca57e
Update Issue Tracker Link in Comment
2015-12-02 09:01:28 -08:00
JosJuice
f41990af38
Remove incorrect usage of _trans
...
It only marks a string for translation. It doesn't actually do anything
at runtime, so the message will always be displayed in English. Even if
we would've had a way to make the translation work, we shouldn't
translate this, because OSD doesn't support non-ASCII characters.
Caused by the recent merge 1c95cd5
.
2015-12-02 17:13:04 +01:00
Markus Wick
abbc25f662
Merge pull request #2788 from TurboK234/3d_hotkeys
...
Added hotkeys for toggling different stereoscopy modes
2015-12-02 15:24:59 +01:00
Markus Wick
3ed29cce0c
Merge pull request #2733 from AdmiralCurtiss/string-from-float
...
IniFile: Fix floating point number locale issues.
2015-12-02 15:22:42 +01:00
Markus Wick
1c95cd5ad5
Merge pull request #2745 from AdmiralCurtiss/wiimote-disconnect-message
...
Display a message on screen when the emulated software disconnects a Wiimote.
2015-12-02 15:13:29 +01:00
Markus Wick
a3433e162a
Merge pull request #3149 from ShadowsFriend/fname_column
...
DolphinWX: Add a filename column
2015-12-02 15:04:36 +01:00
Markus Wick
ec6a48ff76
Merge pull request #2876 from CastellaFactory/master
...
[Netplay] Add "Force Netplay Listen Port" feature that was in old netplay branch
2015-12-02 14:20:47 +01:00
Markus Wick
b0dbb6ef46
Merge pull request #3067 from JosJuice/cheat-manager-regression
...
Fix Cheat Manager not saving created codes
2015-12-02 14:08:32 +01:00
Markus Wick
4a40e7b405
Merge pull request #3111 from JosJuice/wx-banner-scaling
...
DolphinWX: Improve HBC banner scaling
2015-12-02 13:59:13 +01:00
Pringo
d8d6c0122e
Update Error Log to Remove Old Issue Tracker URL
2015-12-01 19:57:10 -08:00
Markus Wick
52204c7296
Merge pull request #3299 from phire/JJ_Abrams
...
Fix lens flares in Mario Kart Wii.
2015-12-01 09:07:09 +01:00
Andrew Wickham
d9f1523a7b
Make cast from int to float explicit in shader
...
This should fix this panic message I saw when playing Super Mario Strikers:
Failed to compile pixel shader [...]: error C7011: implicit cast from "int" to "float"
2015-11-30 13:35:46 -08:00
Scott Mansell
03461915a7
Fix lens flares in Mario Kart Wii.
2015-12-01 05:25:38 +13:00
Markus Wick
02d5981b22
Merge pull request #3290 from JosJuice/compression-condition
...
DolphinWX: Correct a compression condition
2015-11-30 13:53:50 +01:00
Ryan Houdek
21b708106c
Make sure not to use a GL texture buffer past the max size.
...
The spec says that vendors can set the max texture size to be 65KB and we want 1MB.
Check the maximum supported and drop to the max if it is less than 1MB
2015-11-30 01:18:03 -06:00
Brian Bowman
507b7920e9
Fix typo in anti-aliasing dropdown description
2015-11-29 14:28:26 -06:00
Scott Mansell
97231aa221
Merge pull request #3294 from spxtr/DQt2-GameProxyModel
...
DolphinQt2: Use a proxy model for the GameList
2015-11-30 07:48:54 +13:00
spxtr
59bdeb411c
Use a proxy model for the GameList.
...
This lets us sort by the underlying integers while only displaying the
icons. Currently, in both DolphinQt and DolphinQt2, we display both the
icon and the integer, but cut off the column width to not show the
integer. We also currently sort by the size's formatted string, not by
the size itself, which leads to "1 MB" sorting to less than "2 KB". This
commit fixes these issues.
In the future, we can use the filter methods here to allow for
searching for games.
2015-11-28 10:00:03 -08:00
Scott Mansell
97cd723492
Merge pull request #3286 from jloehr/Wiimote-Rumble-LED-Fix
...
Fix Prepare (Set LEDs and Rumble) on Connect and Refresh
2015-11-29 00:58:18 +13:00
Julian Löhr
31a4b2ed03
Fix Prepare (Set LEDs and Rumble) on Connect and Refresh
...
m_need_prepare needs to be set before the Device thread is started.
Otherwise the thread blocks on IORead and the LEDs and Rumble is executed
after the user presses a button on the Wiimote.
Also the Prepare-Call on Refresh doesn't need to reset the Index, because it is
set once on the initial Connect/Prepare. Therefore the index assignment
was refactored.
2015-11-28 12:38:19 +01:00
Stenzek
5e803c3db3
D3D: Fix EFB->XFB copies incorrectly scaling, match GL behavior
2015-11-28 20:04:36 +10:00
Scott Mansell
861bd98e3a
Merge pull request #3291 from JosJuice/memset-error-check
...
Memmap: More error checking for Memset
2015-11-28 22:38:24 +13:00
JosJuice
0d3c763126
State/Movie: Use char instead of u8 for game ID
...
Gets rid of casts.
2015-11-28 09:36:48 +01:00
JosJuice
0cb5c4637a
Memmap: Replace ValidCopyRange with GetPointerForRange
2015-11-28 09:26:48 +01:00
JosJuice
b5f32b9699
DolphinWX: Correct a compression condition
...
The volume type check didn't handle DOL/ELF files, and the blob type
check didn't handle formats like CISO and relied on filename extensions.
2015-11-28 09:24:15 +01:00
JosJuice
f9af58a388
DiscIO: Don't use PlainFileReader in VolumeDirectory
...
Blobs are not for regular file reading.
2015-11-28 09:18:22 +01:00
JosJuice
2e3735b772
Memmap: More error checking for Memset
...
It now uses the same error checking as CopyFromEmu and CopyToEmu.
2015-11-27 18:28:53 +01:00
JosJuice
2b0bdc361f
State: Don't use memcpy and memcmp with strings
2015-11-27 17:36:34 +01:00
Scott Mansell
5a1729877e
Merge pull request #3211 from JosJuice/themes-to-resources
...
Move nobanner and fileplatform from Themes to Resources
2015-11-27 23:47:44 +13:00
JosJuice
9b2fe62bc9
Move nobanner and fileplatform from Themes to Resources
...
fileplatform is moved so it's in the same place as the other platform
icons, and nobanner is moved just because it fits better in Resources.
Both of them were identical in all of Dolphin's themes.
2015-11-27 11:09:20 +01:00
JosJuice
4249d9ef77
ISOFile/GameFile: Simplify IsElfOrDol
2015-11-27 10:50:19 +01:00
spxtr
949f25175b
DolphinQt2
2015-11-27 00:33:07 -08:00
waddlesplash
4acd90d570
DolphinQt: Get rid of unneeded abbreviation macros.
2015-11-25 23:16:54 -05:00
degasus
0b02dc4f81
FramebufferManager: check for g_framebuffer_manager
2015-11-24 22:48:56 +01:00
degasus
0f26cdd31b
FramebufferManager: Allow CreateXFBSource to return nullptr
2015-11-24 22:48:55 +01:00
degasus
c9dc5fb376
TextureCache: Allow the backends to return nullptr for textures.
2015-11-24 22:48:55 +01:00
degasus
fc00598785
NativeVertexFormat: Inline Initialize in contructor
...
They were only called at once, so no need to seperate them.
This also removes the only dereference of the NativeVertexFormat in VideoCommon, so backends may just return nullptr.
2015-11-24 22:48:49 +01:00
degasus
df799dd124
VideoCommon: Create default implementation for state setters
...
It's fine to pull those within the backends, so there is no need to enforce them to implement this interface.
2015-11-24 22:39:10 +01:00
Markus Wick
f560e8e283
Merge pull request #3285 from jloehr/Wiimote-Index-LED-Fix
...
Fix Wiimote Index LED
2015-11-24 18:31:57 +01:00
Stenzek
d1b132731d
D3D: Remove redundant cast, move pitch calculation to caller
2015-11-24 21:54:19 +10:00
Stenzek
6be4608a0d
D3D: Fix crash on some drivers with small textures
2015-11-24 21:15:19 +10:00
Scott Mansell
211169e307
Merge pull request #3269 from JosJuice/purge-cache
...
Rename "Purge Cache" to "Purge Game List Cache"
2015-11-24 14:17:49 +13:00
Scott Mansell
83bda3be46
Merge pull request #1474 from phire/DSPHLE_cleanups
...
DSPHLE: Remove individual byteswaps and replace with generic function.
2015-11-24 13:33:59 +13:00
Julian Löhr
aace2f694f
Fix Wiimote Index LED
2015-11-23 23:24:49 +01:00
Matthew Parlane
f92a36d86c
Merge pull request #3283 from RisingFog/patch-1
...
Fix Frame Advance Hold Delay Changes
2015-11-24 10:44:52 +13:00
Ryan Houdek
d27dcdba48
We shouldn't be trying to enable the SSBO extension in ES.
2015-11-23 14:47:43 -06:00
Chris Burgener
1ea9b36e3b
Fix Frame Advance Hold Delay Changes
...
Fixes the issues of modifying the frame advance speed increase/decrease not actually doing anything
2015-11-23 13:53:14 -05:00
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