degasus
ab44d2ec5c
VideoSW: Drop SetTevReg for colors.
2016-03-06 11:05:49 +01:00
degasus
7a154181b4
VideoSW: Drop SetScissor().
...
Just access the global state directly.
2016-03-06 10:24:28 +01:00
degasus
8b0fd623e5
VideoSW: Drop SetViewOffset.
...
Just use the global state.
2016-03-06 10:22:44 +01:00
Ryan Houdek
40931f5030
Merge pull request #3690 from aserna3/bikeshedding_bait
...
[Config UI] add "normal speed" to speed limit 100%
2016-03-05 11:55:06 -05:00
degasus
54a4d68c9a
JitArm64: implement dcbx
2016-03-05 00:29:38 +01:00
Ryan Houdek
8f75594de7
Merge pull request #3694 from degasus/arm
...
JitArm64: Small improvements.
2016-03-04 18:01:25 -05:00
Pierre Bourdon
3b6af8c7a5
Merge pull request #3691 from rukai/netplayWiiRemoval
...
Netplay Wii Remote Removal
2016-03-04 23:45:07 +01:00
degasus
9bf50fb93d
JitArm64: Fix mulli.
...
mulli has no inst.OE
2016-03-04 22:51:47 +01:00
degasus
9ed465f4ac
JitArm64: Implement mulhwx
2016-03-04 22:51:46 +01:00
degasus
889a0d396d
JitArm64: Align farcode entry points to 16 bytes
2016-03-04 22:49:02 +01:00
degasus
eaa0e275db
JitArm64: Use immediate WriteExceptionExit more often.
2016-03-04 22:49:01 +01:00
degasus
689205f0a4
JitArm64: small cleanup, no changes
2016-03-04 22:49:01 +01:00
degasus
7b017c6a65
JitArm64: Use a register as PC argument for the dispatcher.
2016-03-04 19:50:12 +01:00
degasus
050932ed23
JitArm64: Rename global registers.
2016-03-04 19:50:12 +01:00
degasus
57d76cefb0
JitArm64: Merge WriteExceptionExit.
2016-03-04 19:50:12 +01:00
degasus
55b9ce9b5b
JitArm64: Store memory pointer once, not per block.
2016-03-04 19:50:12 +01:00
degasus
56c8f65bc2
JitArm64: Precheck for exceptions before calling PowerPC::CheckExceptions.
2016-03-04 19:50:12 +01:00
degasus
aea48c4591
JitArm64: Drop unused WriteExceptionExit.
2016-03-04 19:50:11 +01:00
degasus
c5b0dc98c2
JitArm64: Fix LWZ idle skipping.
2016-03-04 19:50:11 +01:00
Pierre Bourdon
c24c278ce9
Merge pull request #3709 from Sonicadvance1/mesa_intel_geometry_shaders
...
Mark Mesa Intel Sandy Bridge geometry shaders not broken in Mesa 11.2
2016-03-04 18:02:26 +01:00
Ryan Houdek
ff0aac82b5
Mark Mesa Intel Sandy Bridge geometry shaders not broken in Mesa 11.2
2016-03-04 10:45:13 -06:00
İsmail Dönmez
20f8b471a8
Fix build with MINIUPNPC_API_VERSION >= 16
...
miniupnp commit c4991916e5c12a7754e935e71a5313e75af6aeb9 introduced a
4th statusCode parameter to miniwget function. This parameter is set
to a value returned by the UPnP device. We have to check if it's set
to 200 to make sure the result is a success. Also, we now have to check
if descXML is set in the error case and free it.
2016-03-04 10:59:57 +02:00
Ryan Houdek
e60f0b3cf0
Merge pull request #3551 from RisingFog/videodump_proper_delay
...
Properly Handle Video Dumping from Power On
2016-03-03 10:38:36 -05:00
Anthony Serna
8ba9839161
[Config UI] add "normal speed" to speed limit 100%
2016-03-02 19:51:05 -06:00
Pierre Bourdon
265c6408d6
Merge pull request #3686 from Armada651/revert-3578
...
Revert "Merge pull request #3578 from Armada651/forced-slow-depth"
2016-03-03 02:03:03 +01:00
Pierre Bourdon
f752c6e704
Merge pull request #3589 from mathieui/gcadapter-recording
...
Fix recording a movie with the GC Adapter
2016-03-03 02:02:29 +01:00
degasus
1544e4049d
CustomTextures: Fix loading of the last mipmaps.
...
Non-square textures still have mipmaps down to 1x1.
2016-03-02 23:25:04 +01:00
Mathew Maidment
a64dd3659a
Merge pull request #3634 from spxtr/DQt22
...
Stop parenting RenderWidget.
2016-03-02 16:51:37 -05:00
Mathew Maidment
c2802f96a6
Merge pull request #3655 from jcowgill/spelling-fixes
...
Fix some very minor spelling mistakes
2016-03-02 14:04:05 -05:00
Pierre Bourdon
643cf4553f
Merge pull request #3692 from EmptyChaos/d3d12-static
...
D3D12: Fix uninitialized variable in SetSamplerState
2016-03-02 15:52:44 +01:00
Rukai
1b65adcd56
Fully remove wii remote netplay UI code and remove reference to WiimoteReal in NetPlayClient.cpp
2016-03-02 21:02:15 +11:00
Mathew Maidment
3a47845226
Merge pull request #3675 from rohit-n/build-pch
...
Fix building with PCH disabled.
2016-03-01 18:22:53 -05:00
Dolphin Bot
ab50dd1926
Merge pull request #3667 from RisingFog/fix_savestates
...
Fix savestates if a device is changed after a savestate is made
2016-03-01 15:35:09 +01:00
Ryan Houdek
36b476ed76
Merge pull request #3683 from Sonicadvance1/aarch64_fix_fcmp
...
[AArch64] Fix fcmp.
2016-03-01 09:29:56 -05:00
Ryan Houdek
344a4ddc9b
Merge pull request #3685 from degasus/arm
...
JitArm64: Optimize addi
2016-03-01 09:29:42 -05:00
Chris Burgener
7991605ad9
Fix savestates if a device is changed after a savestate is made
2016-03-01 09:28:04 -05:00
EmptyChaos
cc36dec9b5
D3D12: Cleanup DX12::Renderer::SetSamplerState
...
Remove uninitialized non-static variable. Replace test to avoid unnecessary state changes with a simpler one.
2016-03-01 23:55:19 +11:00
degasus
64f9941595
EGL: Also check for higher GL versions.
...
Seems like NVidia just ignores the forward compatible flag.
Additionally, they neither enable any extension which was designed later...
So either compatible profile, or a huge list of core profiles....
2016-03-01 07:55:57 +01:00
Ryan Houdek
a8c37e5d6b
Remove two more asserts in VertexShaderGen.
...
As confirmed by a hardware test if we are using the texgen type of COLOR_STRGBC0/STRGBC1 then it sets the texture coordinates to those values
regardless of what the input form or source row is.
Thanks to Ornox for testing again
2016-02-29 16:45:51 -06:00
Ryan Houdek
92e9382e61
Confirm with hardware test that the high bit of the input form is ignored.
...
Thanks to Ornox for testing
2016-02-29 16:45:51 -06:00
Ryan Houdek
e1d36f91fc
Fix a few asserts in the VertexShaderGen.
...
Removes a couple asserts in the vertex shader gen when dealing with the input form.
Typically input form ABC1 is used, so it'll pull in the first three elements and always set the fourth to 1.0
The other input form available is AB11, which sets the last two components to 1.0 (Theoretically).
No titles actually use this input form that we know of except for Project M, but it can have some fairly drastic visual differences.
Confirmed correct by hardware test
2016-02-29 16:43:44 -06:00
Pierre Bourdon
392051bd69
Merge pull request #3679 from JosJuice/seek-log-sign
...
DVDInterface: Log seek offsets with a more intuitive sign
2016-02-29 16:49:39 +01:00
Pierre Bourdon
07ff8379ba
Merge pull request #3647 from stenzek/d3d12-fences
...
D3D12: Multiple fixes (texture cache, fences, MSAA, CPU EFB access)
2016-02-29 16:49:03 +01:00
Ryan Houdek
c82feb6c08
Merge pull request #3626 from Sonicadvance1/more_robust_gcadapter
...
Improve stability of the Wii U Gamecube Controller adapter under Android.
2016-02-29 09:54:01 -05:00
degasus
e2725792d4
JitArm64: Optimize addi
2016-02-29 08:39:24 +01:00
degasus
4478146c80
JitArm64: Split addi from arith_imm.
...
They ARM assembly has different immediate versions for logic and additions, so there is no use in merging those instructions.
2016-02-29 08:39:14 +01:00
Chris Burgener
b1c8198cec
Move SetData logic to within SysConf.cpp
2016-02-28 19:42:15 -05:00
Jules Blok
6d1628eda4
Revert "Merge pull request #3578 from Armada651/forced-slow-depth"
...
This reverts commit e2a1a085b6
, reversing
changes made to 2aea549eef
.
2016-02-29 00:55:51 +01:00
Pierre Bourdon
961901daae
Merge pull request #3355 from mimimi085181/partial-texture-updates-check-dimensions
...
Partial texture updates: Check the dimensions of the efb copy
2016-02-29 00:49:48 +01:00
Ryan Houdek
abaa8fc24d
[AArch64] Fix fcmp.
...
Fixes Luigi's head vanishing. Was due to a mishandling of nans.
Confirmed fixed by hardware test.
2016-02-28 13:15:47 -06:00
Stenzek
0a96e2f531
D3D11: Fix texture dumping, for both single and multi-mip textures
2016-02-28 17:24:47 +10:00
Stenzek
c793459b88
D3D12: Fixed issue where EFB copies could end up corrupted after reset
...
Also prevents previously-released textures from ending up in a descriptor
table.
2016-02-28 17:24:46 +10:00
Stenzek
74275bdfe3
D3D12: Don't keep screenshot/encoder buffers mapped
...
Readback heaps do not support persistent mapping. See D3D12 docs.
2016-02-28 17:24:09 +10:00
Stenzek
c4d79d6db3
D3D12: Add helper method for setting both viewport and scissor rect
...
Simplfies making changes, as well as keeping the two in sync.
2016-02-28 17:18:46 +10:00
Stenzek
13e143de38
D3D12: Optionally prevent StreamBuffer from executing command list
...
This applies to callers that do not have full knowledge of the command
list state, and thus, cannot restore it should allocations cause command
list execution. Instead we reallocate a new buffer. Should not happen
often enough for this to be a concern, as it's mainly for the utility
classes.
2016-02-28 17:18:46 +10:00
Stenzek
04257029e0
D3D12: Don't enumerate outputs, it's not used anywhere
...
The D3D12 backend does not support exclusive fullscreen.
2016-02-28 17:18:45 +10:00
Stenzek
9efe66509d
D3D12: Fix crash/errors when switching MSAA modes while running
2016-02-28 17:18:44 +10:00
Stenzek
1d909ec7a4
D3D12: Implement non-blocking EFB access when EFB has not been modified
2016-02-28 17:18:43 +10:00
Stenzek
6bbf836ea9
D3D12: Simplify and fix MSAA EFB depth copy path
2016-02-28 17:18:43 +10:00
Stenzek
649b94338e
D3D12: Cleanup/refactoring of teardown process
2016-02-28 17:18:42 +10:00
Stenzek
759b77474d
D3D12: Use std::thread for worker thread
...
Using CreateThread can create issues if any CRT calls are made, as
thread-specific data may not be initialized. Additionally, TerminateThread
is not a good idea for similar reasons, and may not free CRT resources.
2016-02-28 17:18:41 +10:00
Stenzek
ffe0e326d2
D3D12: Use stream buffer for CD3DFont
2016-02-28 17:18:40 +10:00
Stenzek
5c1a708977
D3D12: Clean up debug device creation path
2016-02-28 17:18:39 +10:00
Stenzek
efbb85da43
D3D12: Improve robustness of command allocator and fence tracking
2016-02-28 17:18:39 +10:00
Stenzek
2f7870b046
D3D12: Don't add fence tracking entries without buffer offset changes
2016-02-28 17:18:38 +10:00
Stenzek
31bc0cf2c3
D3D12: Don't clear texture SRV on destruction, as it may still be in use
2016-02-28 17:18:37 +10:00
degasus
68defb72a3
JitArm64: Don't generate the carry if it's not used any more.
2016-02-27 21:27:29 +01:00
JosJuice
9427d6efb9
DVDInterface: Log seek offsets with a more intuitive sign
2016-02-27 15:20:49 +01:00
Rohit Nirmal
14b0a9cf70
Fix building with PCH disabled.
2016-02-26 13:55:34 -06:00
Pierre Bourdon
1b37b39d64
Merge pull request #3673 from mmastrac/dvd_nobackwardsbuffer
...
[DVD] Ignore buffer when seeking backwards
2016-02-26 13:14:47 +01:00
Pierre Bourdon
1d07fee367
Merge pull request #3432 from stenzek/bba-tap-win
...
EXI: Refactor Windows BBA-TAP interface to a read thread, crash fixes, cleanups
2016-02-26 12:46:20 +01:00
mathieui
4fe2886c2c
[netplay] Use the device only if it’s a gc controller or similar
...
(bad things could happen if we wire up the gba with netplay)
2016-02-25 22:58:21 +01:00
mathieui
7b2c54ad93
[Movie] allow recording with any pad
...
(bongo/dancemat/adapter…)
2016-02-25 22:58:21 +01:00
mathieui
d61ef9a95a
[SI] add a way to check if the current controller is a gcpad
...
(or gcpad-compatible)
2016-02-25 22:58:17 +01:00
Matt Mastracci
f1a5d6c104
[DVD] Ignore buffer when seeking backwards
...
Unfortunately this fix re-breaks Arc Rise Fantasia, so we must restore its INI as well.
2016-02-25 12:09:25 -07:00
degasus
3286bbd9bd
JitArm64: Track single precision in ps_sel.
2016-02-25 19:47:07 +01:00
degasus
141e299161
JitArm64: Track single precision in fctiwzx.
2016-02-25 19:47:07 +01:00
degasus
e0793a274f
JitArm64: Track singles in fselx.
2016-02-25 19:47:07 +01:00
degasus
b4d0307b25
JitArm64: Remove LoadTo* helpers.
2016-02-25 19:47:07 +01:00
degasus
2112d8dfda
JitArm64: Replace REG_IS_LOADED with REG_LOWER_PAIR
2016-02-25 19:47:07 +01:00
degasus
c30a66b2d5
JitArm64: Track singles in fabs.
2016-02-25 19:47:07 +01:00
degasus
84395b65f6
JitArm64: Track singles in psq_st.
2016-02-25 19:47:06 +01:00
degasus
fe87462be8
JitArm64: Track singles in stfs.
2016-02-25 19:47:06 +01:00
degasus
5fad3d94a0
JitArm64: Track singles in fcmpX.
2016-02-25 19:47:06 +01:00
degasus
c8948ff8c7
JitArm64: Track single precision in ps_maddXX.
2016-02-25 19:47:06 +01:00
degasus
7fd68c8761
JitArm64: Track singles in ps_sumX.
2016-02-25 19:47:06 +01:00
degasus
ca091b9e92
JitArm64: Track single precision in ps_res.
2016-02-25 19:47:06 +01:00
degasus
d185d2f704
JitArm64: Track singles in ps_mulsX.
2016-02-25 19:47:06 +01:00
degasus
6572790d8b
JitArm64: Track singles in ps_mergeXX.
2016-02-25 19:47:06 +01:00
degasus
5506295123
JitArm64: Track singles in frspx.
2016-02-25 19:47:06 +01:00
degasus
0efdd5cacd
JitArm64: Track singles in paired fp_logic.
2016-02-25 19:47:06 +01:00
degasus
003288a886
JitArm64: Track singles in fp_arith.
2016-02-25 19:47:05 +01:00
degasus
ae1b5ff9e8
JitArm64: Track single precision in load/store.
2016-02-25 19:47:05 +01:00
degasus
1e59dc1025
JitArm64: Single precision tracking.
2016-02-25 19:47:05 +01:00
Chris Burgener
4aa6f6c812
Apply Wii Settings on Movie Recording/Playback
2016-02-24 21:22:37 -05:00
Ryan Houdek
0e7401f350
Merge pull request #3639 from ASSympt0te/toggle-frame-limit-changes-fixes
...
Reword "Toggle Frame Limit" to better explain function
2016-02-24 12:15:11 -05:00
Jules Blok
e2a1a085b6
Merge pull request #3578 from Armada651/forced-slow-depth
...
VideoConfig: Replace FastDepthCalc by ForcedSlowDepth.
2016-02-22 11:29:09 +01:00
Stenzek
1ce38a136d
TextureConversionShader: Invert depth for Z24 encoder with D3D
2016-02-22 00:09:07 +10:00
Mathew Maidment
bd148e911b
Merge pull request #3642 from lioncash/backend
...
VideoBackendBase: Store video backends as unique_ptr
2016-02-21 04:49:14 -05:00
Sintendo
00cc59e83a
VideoInterface: Fix comment typo
2016-02-21 09:39:01 +01:00
Lioncash
1d6ee140f0
VideoBackendBase: Store video backends as unique_ptr
2016-02-20 19:07:40 -05:00
Pierre Bourdon
5fd9604195
Merge pull request #3660 from aserna3/no_wagglesticks_allowed
...
[Netplay] Disable Wiimotes
2016-02-20 14:30:28 +01:00
Anthony Serna
28fbf6ae03
[Netplay] Disable Wiimotes
2016-02-19 22:15:52 -06:00
Chris Burgener
d39d193c0f
Properly Handle Video Dumping from Power On
2016-02-19 22:53:58 -05:00
Tillmann Karras
4ecd191a7e
VertexShaderGen: turn pseudo-mod into a simple and
...
The type of posmtx has changed over time: half -> float -> int.
I assume this is supposed to be a modulo.
2016-02-20 03:29:08 +00:00
Tillmann Karras
3b2e170f0b
Interpreter: simplify subtable handling
2016-02-20 02:20:41 +00:00
Tillmann Karras
b291b0a7c2
Interpreter: simplify mask helper
2016-02-20 01:03:46 +00:00
Tillmann Karras
af5ff9941a
Interpreter: deduplicate CR0 helper
2016-02-20 01:03:37 +00:00
James Cowgill
db8dbae131
Fix some very minor spelling mistakes
...
Found by Lintian https://lintian.debian.org/
2016-02-19 01:48:10 +00:00
rukai
6349b88fae
DolphinQt Builds on Visual Studio
2016-02-18 16:42:05 +11:00
Mathew Maidment
1f2b1caf42
Merge pull request #3633 from spxtr/DQt2
...
Replace TableProxyModel with TableDelegate.
2016-02-18 00:24:52 -05:00
rukai
704d9cbea5
Enter key opens selected game in the game list.
2016-02-18 16:16:24 +11:00
spxtr
dfb0db9d31
Replace TableProxyModel with TableDelegate.
2016-02-17 21:12:24 -08:00
Mathew Maidment
58b3552233
Merge pull request #3616 from rukai/dolphinQtGameContextMenu
...
DQT2: Add context menu to gamelist
2016-02-18 00:07:22 -05:00
Rukai
7cd1a233eb
DQT2: Added context menu to gamelist
2016-02-18 16:04:15 +11:00
Mathew Maidment
05e431d5b5
Merge pull request #3645 from lioncash/dxmem
...
D3D12: Get rid of most explicit delete and new usages
2016-02-16 22:54:04 -05:00
Mathew Maidment
96e48c3c9f
Merge pull request #3644 from lioncash/shadercache
...
ShaderCache: Minor changes
2016-02-16 22:52:39 -05:00
Chris Burgener
6fe3a3004d
Rename Direct3D to Direct3D 11
2016-02-16 22:43:21 -05:00
Mathew Maidment
2e35e79302
Merge pull request #3643 from lioncash/inclass
...
NativeVertexFormat: Minor changes
2016-02-16 21:47:38 -05:00
Pierre Bourdon
d4b67be288
Merge pull request #3640 from Sonicadvance1/glextensions_workaround_trash
...
Disable some OpenGL 4.5 functions until AMD fixes their trash driver.
2016-02-16 15:41:48 +01:00
Lioncash
6b08194728
D3D12: Get rid of safe deletion macros
...
Anything these macros provided can be obsoleted by using
the correct standard library types.
2016-02-16 02:09:06 -05:00
Lioncash
626fcf4c15
D3DStreamBuffer: Use size_t within the class interface
...
A few StreamBuffer instances take arguments that are actually size_t,
and this will cause truncation warnings during argument forwarding
with make_unique.
2016-02-16 02:08:52 -05:00
Lioncash
932dd14418
NativeVertexFormat: Add missing override specifier
2016-02-15 23:41:20 -05:00
Lioncash
69c82f32ff
NativeVertexFormat: Use in-class initialization
2016-02-15 23:40:34 -05:00
Lioncash
6c0db9fe3c
ShaderCache: Remove unnecessary template type specifications
...
These are already inferred through the passed in arguments.
2016-02-15 23:32:30 -05:00
Lioncash
53fe5a04ec
ShaderCache: Remove unnecessary null checks
...
We already bail out if the shader compilation fails.
Also, there would have already been a nullptr dereference in
InsertByteCode prior to reaching this point.
2016-02-15 23:29:30 -05:00
Lioncash
a22f2e1144
D3DBase: Fix missing return statement
2016-02-15 21:15:43 -05:00
Pierre Bourdon
05f5668bcc
Merge pull request #3591 from phire/VC_widescreen
...
Make all Virtual console games 4:3 (and cleanup GameInis)
2016-02-16 00:41:33 +01:00
hdcmeta
8cc686b360
D3D12: Initial commit for D3D12 backend implementation.
2016-02-15 09:48:25 -08:00
hdcmeta
a2e2e36745
D3D12: Additions to VideoCommon to support D3D12 backend.
2016-02-15 09:48:23 -08:00
hdcmeta
9f279f77fc
Add missing include, this was previously masked by PCH usage
2016-02-15 09:48:22 -08:00
Ryan Houdek
d4dfbbf214
Make sure to get the right function pointer for DSA+buffer_storage
2016-02-15 06:05:38 -06:00
Ryan Houdek
64cb57c5ee
Disable a few OpenGL 4.5 functions that AMD fails to expose.
2016-02-15 06:05:09 -06:00
blendmaster345
c61625cdd3
Relabel hotkey option for toggle frame limit to better reflect function
2016-02-15 04:11:21 -06:00
Pierre Bourdon
a89d48ad99
Merge pull request #3636 from Sonicadvance1/glextensions_improvements
...
Glextensions improvements
2016-02-15 10:30:44 +01:00
Pierre Bourdon
14cdf82a69
Merge pull request #3638 from lioncash/mmio
...
Memmap: Make the MMIO mapping a unique_ptr
2016-02-15 10:29:40 +01:00
Lioncash
b36b10fa78
Memmap: Make the MMIO mapping a unique_ptr
2016-02-15 00:02:00 -05:00
Ryan Houdek
2685ebaed1
Add support for GL 4.3
2016-02-14 20:35:38 -06:00
Ryan Houdek
e253fafe42
Add support for GL 4.4
2016-02-14 20:16:33 -06:00
Ryan Houdek
87afa2c277
Add support for GL 4.5
2016-02-14 20:15:40 -06:00
Ryan Houdek
23787f709c
Change GL 4.2 defines over to the proper naming convention.
2016-02-14 20:01:02 -06:00
spxtr
0d80c6c5f7
Stop parenting RenderWidget.
2016-02-14 17:04:16 -08:00
Matt Mastracci
4e6f58d82e
[DVD] Signedness fix in realistic timing path
2016-02-14 14:27:08 -07:00
mimimi085181
bb4d636f34
Copy all layers of textures with CopyRectangleFromTexture
2016-02-14 21:17:06 +01:00
mimimi085181
99555a35ca
For partial texture updates check the dimensions of the efb copy and the target texture, not just the binary size.
...
This should get Donkey Kong Country Returns characters to be as broken as they should be. They will be fixed in a later pr.
Expected result is:
efbtex: characters are always flickering or invisible, no matter what scaling or IR setting
efb2ram: characters are always working properly at 1xIR, no matter what scaling or IR setting
2016-02-14 17:13:51 +01:00
Ryan Houdek
cafc879b7c
Merge pull request #3617 from degasus/arm
...
JitArm64: Merge FP functions.
2016-02-13 18:57:01 -05:00
Tillmann Karras
797431dda4
MMIO: correct error message
2016-02-13 17:42:24 +00:00
Ryan Houdek
6cc40b1235
Improve stability of the Wii U Gamecube Controller adapter under Android.
...
Under failure conditions of the GC Adapter, When interface count is zero and we can't open the device.
Then there were race conditions on shutdown of the threads which could result in crashing.
Make adapter opening more robust like the Mayflash DolphinBar.
Make shutdown more robust by making the read thread control the write thread.
Make sure that there is actual data to be written when kicking the write thread. So it doesn't attempt a write a shutdown.
Make a toast on screen to tell the user that the adapter needs to be unplugged and plugged back in again for it to work.
2016-02-13 08:17:20 -06:00
Rukai
77efb2d134
About dialog displays version numbers and handy links
2016-02-13 14:28:38 +11:00
degasus
f259a8d6cf
JitArm64: Merge more stuff into ps_maddXX.
2016-02-12 23:26:47 +01:00
Mathew Maidment
5b795c4b20
Merge pull request #3347 from JosJuice/wii-compress-warning-once
...
DolphinWX: Fixes for compressing multiple games at once
2016-02-12 10:02:25 -05:00
Ryan Houdek
b2b0959f23
Geometry shader bug isn't fixed in 11.1.2 for Intel Sandy Bridge
2016-02-12 07:04:09 -06:00
degasus
8b32cd0738
JitArm64: Merge ps_sumX.
2016-02-12 10:09:57 +01:00
degasus
2d8e1bc34d
JitArm64: Merge PS stuff into fp_logic.
2016-02-12 10:09:57 +01:00
degasus
52f9912c46
ArmJit64: Merge FP two operant instructions.
2016-02-12 10:09:57 +01:00
degasus
157404fd1e
JitArm64: Merge ps_mulsX.
2016-02-12 10:09:57 +01:00
degasus
09af32c063
JitArm64: Merge ps_mergeXX.
2016-02-12 10:09:57 +01:00
degasus
1b6d9dfc4e
JitArm64: Merge ps_maddsX.
2016-02-12 10:09:57 +01:00
degasus
19713f7c14
JitArm64: Merge scalar 4-operant instructions.
2016-02-12 10:09:53 +01:00
Mathew Maidment
bbb67857d3
Merge pull request #3618 from rukai/dolphinQtBannerSize
...
DQt2: properly space row height of table gamelist
2016-02-11 21:05:56 -05:00
Ryan Houdek
cf6f9de350
Both Intel and Radeon Mesa geometry shader bugs are fixed in 11.1.2
2016-02-11 12:55:55 -06:00
Rukai
26637ed262
Gamelist viewed as a table has a properly spaced row height
2016-02-11 14:14:41 +11:00
Mathew Maidment
585761a456
Merge pull request #3605 from spxtr/DQt2
...
DQt2: Make paths dialog modeless.
2016-02-10 22:07:20 -05:00
degasus
9c048bbc36
JitArm64: Also merge 3 way FP-PS instructions.
2016-02-10 17:41:25 +01:00
degasus
83eb1d8c31
JitArm64: Merge 3 way FP instructions.
2016-02-10 17:41:25 +01:00
Rukai
0969581bab
DolphinQt2: No longer crashes when loading gameini without an EmulationStateId
2016-02-10 22:27:01 +11:00
spxtr
726d6c17af
Make paths dialog modeless.
2016-02-09 20:42:06 -08:00
Jens Nyberg
91772492dd
VideoCommon: Remove unused pow functions
2016-02-10 02:57:09 +01:00
Aestek
b92a80ba1b
Fix: segfault in NetPlayServer::GetInterfaceListInternal for ifa_addr-less interfaces
...
`NetPlayServer::GetInterfaceListInternal` was crashing dolphin with a segfault when encountering a
network interface without `ifa_addr`.
2016-02-08 21:21:27 +01:00
JosJuice
8a2e678ea7
DolphinWX: Don't include skipped items in the compression count
2016-02-08 15:26:25 +01:00
JosJuice
8cad70238c
DolphinWX: Don't store compression progress in member variables
...
Just some extra cleanup.
2016-02-08 15:26:11 +01:00
Jules Blok
9805f70913
VideoConfig: Replace FastDepthCalc by ForcedSlowDepth.
...
Fast depth is now more accurate than slow depth and should always be used.
The option will be kept in a different form as it is still used as a hack to fix some games.
Also, the slow depth code path will still be relied upon by cards that don't support GL_ARB_clip_control.
2016-02-08 12:26:55 +01:00
Mathew Maidment
08c9e3b7a4
Merge pull request #3602 from OatmealDome/coreaudio
...
CoreAudioSound: Minor clean up
2016-02-07 22:25:15 -05:00
Ryan Houdek
35d7c2bc78
Merge pull request #3593 from Sonicadvance1/Android_Mayflash_adapter
...
[Android] Implement support for real Wiimotes with the DolphinBar
2016-02-07 15:51:33 -05:00
Ryan Houdek
fe53461611
[Android] Implement support for real Wiimotes with the DolphinBar
...
This is the only way to get Wiimotes working under Android now.
This, just like the Wii U Gamecube Controller Adapter, completely goes around Android's limitations and talks with the device directly through USBManager.
Couple notes.
Continuous scanning must be enabled otherwise the Wiimotes won't be seen.
The UI doesn't expose support for this yet. One must change the Wiimote source and continuous scanning settings manually.
Testing up to two wiimotes in Taiko No Tatsujin, no reason to believe all four won't work.
2016-02-07 05:31:48 -06:00
Mathew Maidment
76d614eded
Merge pull request #3585 from lioncash/inc
...
VideoCommon: Convert some DataReader includes into forward declarations
2016-02-06 20:52:02 -05:00
Ryan Houdek
36af9981c7
Merge pull request #3595 from Sonicadvance1/Android_headless
...
[Android] Headless support
2016-02-06 20:08:58 -05:00
OatmealDome
36a20c3535
CoreAudioSound: Replace deprecated parameters
...
The kAudioUnitParameterFlag_* parameters don't exist on iOS.
2016-02-06 16:48:03 -05:00
OatmealDome
2e24996a9c
CoreAudioSound: Only include AudioUnit
2016-02-06 16:47:49 -05:00
Nick Tiberi
e7ad0fd600
normalize and check upper/lower bounds of hats input on OS X
2016-02-05 16:40:59 -05:00
Ryan Houdek
2f7e3ae58e
CMakeLists cleanup and enable Android headless building.
2016-02-05 11:24:11 -06:00
Ryan Houdek
6305f09467
Use cmake to determine if we are enabling the Android Controller Interface
2016-02-05 10:54:17 -06:00
Ryan Houdek
018625e54f
Rearrange GLInterface interface generation.
...
This will be important when we enable headless on Android
2016-02-05 10:53:32 -06:00
Ryan Houdek
38cb6ba6dc
Fix a bug in the Common CMakeLists file
...
We were overwriting the LIBS variable. Effectively dropping libiconv from the libs.
2016-02-05 10:51:56 -06:00
Ryan Houdek
19cd9ecf16
Fix a few missing includes
2016-02-05 10:50:08 -06:00
Scott Mansell
baad10593e
GameInis: Allow one ini to cover all VC games for a console
...
Since all Virtual console releases use the same emulator (though there
are multiple revisions some emulators) and generally need the same
setting, this commit allows the creation of INI files which cover all
Virtual Console games fow each system.
For example, F.ini can provide settings that all NES games have in common
and C.ini will provide settings for all Commadore 64 games.
If needed, a 3 letter ini can override settings for individual games.
2016-02-05 17:35:13 +13:00
Lioncash
1df1ba55bb
VideoCommon: Convert some DataReader includes into forward declarations
...
Gets rid of some indirect inclusions in cpp files.
Also this will reduce the amount of rebuilt files if
changes occur in the DataReader header.
2016-01-31 15:19:20 -05:00
Stenzek
a870253cd6
Common: Use C++ random generator for generating MAC addresses
2016-01-31 23:52:47 +10:00
Stenzek
98e5270b3c
EXI: Use unique_ptr in CEXIEthernet
2016-01-31 23:52:43 +10:00
Stenzek
e75d37ec36
EXI: Fix crash when loading save states with BBA activated
2016-01-31 23:52:40 +10:00
Stenzek
ccc70a98f3
EXI: Refactor BBA-TAP interface for Windows to use a read thread
...
This also has the added benefit of not crashing under most circumstances.
Includes a few other changes, including replacing the atomic<bool> with a
Flag, as well as adding a flag for indicating read thread shutdown.
2016-01-31 23:52:33 +10:00
Ryan Houdek
31523b7e80
Merge pull request #3572 from Sonicadvance1/egl_support_headless
...
Egl support headless
2016-01-30 11:15:07 -05:00
JosJuice
6a75212e7a
DolphinWX: Only show Wii compression warning once
...
When compressing multiple Wii games, the warning used to be showed
once for each game. Now it only appears once at the beginning.
2016-01-30 13:33:03 +01:00
JosJuice
bd326ace5c
DolphinWX: Replace GetSelectedISO hack for multiple selections
2016-01-30 13:32:57 +01:00
Pierre Bourdon
c2c1f839dd
Merge pull request #3574 from palxex/master
...
fix El Capitan WiimoteReal pairing problem and refresh crash problem
2016-01-30 13:17:08 +01:00
Pierre Bourdon
50221088a9
Merge pull request #3576 from lioncash/boot
...
BootManager: Minor changes
2016-01-30 13:14:52 +01:00
Pierre Bourdon
cf20ff48aa
Merge pull request #3480 from phire/memory_stride_too_small
...
Avoid the "Memory stride too small" assert
2016-01-30 13:11:07 +01:00
Pierre Bourdon
9da8593cf4
Merge pull request #3569 from mathieui/netplay-gcpad-position
...
[netplay] Fix a regression
2016-01-30 11:54:31 +01:00
Pierre Bourdon
ff5d6887d1
Merge pull request #3575 from mathieui/netplay-server-cleanup
...
Small netplay server cleanup & fix
2016-01-30 11:51:50 +01:00
Ryan Houdek
f1ca95eec7
Merge pull request #3553 from Sonicadvance1/more_android_gc_adapter
...
Implement requesting permission for using the GC Wii U Adapter.
2016-01-29 23:12:37 -05:00
Ryan Houdek
5edc7705fe
Merge pull request #3550 from Sonicadvance1/egl_support_core_profile
...
Support the OpenGL core profile in EGL.
2016-01-29 19:37:24 -05:00
Ryan Houdek
c50efb17e5
Merge pull request #3546 from Sonicadvance1/egl_shared_context
...
Implement shared contexts in the EGL context.
2016-01-29 19:33:52 -05:00
Ryan Houdek
ea3a457091
Merge pull request #3573 from degasus/fifoplayer
...
Fifoplayer: Fix dual core
2016-01-29 16:39:32 -05:00
Ryan Houdek
e086928806
Merge pull request #3579 from Sonicadvance1/GLExtesions_gl_4_2
...
Implement support for GL 4.2 in GLExtensions
2016-01-28 19:25:17 -05:00
Tillmann Karras
bf643c98aa
Fix warnings
2016-01-28 23:54:11 +00:00
Ryan Houdek
e1f21602fd
Merge pull request #3426 from Sonicadvance1/ES_fix_framedump
...
Add support for framedumping to OpenGL ES.
2016-01-28 18:24:32 -05:00
mathieui
c7750b287d
netplay: default the local pad to a gc controller
...
if the configured local pad is none, it will make dolphin behave
incorrectly (due to the game expecting inputs from the device while it
doesn’t exist).
2016-01-28 20:24:18 +01:00
Pal Lockheart
ea44e0e3ba
fix El Capitan WiimoteReal pairing problem and refresh crash problem
2016-01-28 14:29:44 +08:00
mathieui
4529930f91
gcadapter: fix an incorrect mapping for non-local devices
...
Remote devices would always enter an error path and get disconnected
from the gamecube, breaking netplay in the process.
Culprit is still InGamePadToLocalPad
2016-01-28 02:46:58 +01:00
mathieui
b9b4a0c530
gcadapter: set the konga setting properly
...
if it was used in netplay, it would read memory out of bounds
(due to the mapping method returning 4 if the device was remote) which
was 0 more often than not, causing the device in this position to be a konga.
(which may or not be the gcadapter due to the swap between local and
ingame controllers)
2016-01-28 02:39:55 +01:00
Mathew Maidment
437b3db88e
Merge pull request #3514 from lioncash/mixer
...
Mixer: Minor changes
2016-01-27 19:19:42 -05:00
Ryan Houdek
b846ec084e
Implement requesting permission for using the GC Wii U Adapter.
2016-01-27 15:08:45 -06:00
Ryan Houdek
628e9bad92
Support a headless EGL option.
...
This is a new option to support completely headless running of Dolphin without X11 on systems that can properly support it.
2016-01-27 15:04:14 -06:00
Ryan Houdek
184a7a3e0d
Include the EGL defines we need for KHR_create_context ourselves.
...
This is because Google decided it was in their best interest to update eglext.h for android-21/arch-arm only and completely neglect all the other
architectures.
Sucks to suck.
2016-01-27 14:54:44 -06:00
Ryan Houdek
34d0e7835b
Support the OpenGL core profile in EGL.
...
This should make our Mesa EGL users happy.
2016-01-27 14:54:32 -06:00
Ryan Houdek
921c7139c5
Implement support for GL 4.2 in GLExtensions
2016-01-27 13:58:34 -06:00
Ryan Houdek
aed693eded
Implement shared contexts in the EGL context.
...
This is being implemented here first under EGL since the infrastructure is already in place for this due to the Android code requiring some bits.
The rest of the interfaces will come in a little bit.
This will be required for threaded shader compiling in the near future.
2016-01-27 13:15:02 -06:00
degasus
231daa2da1
Thread: Limit thread name to 15 bytes on linux.
2016-01-27 07:23:17 +01:00
degasus
a4a2928905
FifoPlayer: Sleep while high watermark is set.
2016-01-27 07:23:17 +01:00
Lioncash
d7d0673900
BootManager: Vertically align where sensible to do so
2016-01-26 20:54:22 -05:00
Lioncash
0c920f175f
BootManager: Simplify SaveConfig
...
Also std::array-ifies C-array members of ConfigCache
2016-01-26 20:52:57 -05:00
mathieui
aaf2be2044
bootmanager: update the supposed-end-of-enum
...
fixes a bug where gcadapter would fuck up netplay
2016-01-27 01:43:38 +01:00
mathieui
24cb6487d4
[netplay] Fix a regression
...
Introduced in 6e13496d8
, pads would get assigned to their netplay
position, which breaks assumptions. With this behavior, the SI devices
should be mapped properly.
2016-01-27 01:43:31 +01:00
mathieui
8ce9191948
NetPlayServer: Make SendAsyncToClients use an unique_ptr
2016-01-27 01:34:03 +01:00
mathieui
34ae512d91
NetPlayServer: Make pad data unpacking nicer to read
2016-01-27 01:34:03 +01:00
mathieui
1c808a2835
NetPlayServer: Possible out-of-bounds access on invalid input
...
if a pad or wiimote number was outside bounds (e.g. 42353543232),
it would still have been read from the array, which could lead to
inappropriate consequences, like a segfault.
2016-01-27 01:33:50 +01:00
mathieui
8e1be37feb
NetPlayServer: in-class initialization
2016-01-27 01:20:44 +01:00
degasus
159d83c5a9
FifoPlayer: Use more enums.
2016-01-26 19:19:21 +01:00
Jeffrey Pfau
1f1b127b69
VideoBackend: Remove extraneous shifts from indirect texture lookups
2016-01-25 19:27:26 -08:00
Lioncash
488e7bd46a
Fifo: Get rid of undefined global
...
This declaration doesn't have a matching implementation
so it can be removed entirely.
2016-01-25 05:24:03 -05:00
Lioncash
32ce2be2bf
Fifo: Make g_use_deterministic_gpu_thread a TU-local variable
2016-01-25 05:24:03 -05:00
Lioncash
5ebd1e215b
Fifo: Make g_bSkipCurrentFrame a TU-local variable
...
This is only ever queried, making it a global isn't necessary.
2016-01-25 05:23:14 -05:00
Mathew Maidment
48e7e5b72e
Merge pull request #3567 from lioncash/netplay
...
NetPlayClient: Minor changes
2016-01-25 05:13:54 -05:00
Mathew Maidment
ee0fbdf087
Merge pull request #3558 from lioncash/dvd-global
...
DVDInterface: Reduce a global variable to translation unit scope
2016-01-25 05:13:08 -05:00
Lioncash
c434b5b3a9
NetPlayClient: Use std::array instead of C arrays for buffers
2016-01-25 04:57:21 -05:00
Lioncash
7304c863a6
NetPlayClient: Deduplicate code for player list retrieval
2016-01-25 04:57:20 -05:00
Lioncash
e6ad76fa70
NetPlayClient: Extract control mapping checking to its own function
2016-01-25 04:57:19 -05:00
Lioncash
8588c8fd31
NetPlayClient: Make SendAsync take a unique_ptr as a parameter
2016-01-25 04:57:18 -05:00
Lioncash
c2deb337aa
NetPlayClient: In-class initialize variables where possible
2016-01-25 04:57:17 -05:00
Lioncash
1d8ff504a5
NetPlayClient: Make m_state private
...
Also turns it into an enum class.
2016-01-25 04:57:16 -05:00
Lioncash
102672a797
NetPlayClient: Make is_connected private
...
This is only queried, there's no need to expose it for writing.
Even if it was written to, a data member shouldn't be part of
your public API unless its part of a dumb object or trivial struct.
2016-01-25 04:57:04 -05:00
Pierre Bourdon
0bd649248f
Merge pull request #3530 from degasus/syncgpufix
...
Fifo: Fix SyncGPU.
2016-01-25 10:46:08 +01:00
Pierre Bourdon
7b4e965465
Merge pull request #3555 from mathieui/gcadapter_payload
...
Fix a bug in GCAdapter
2016-01-25 10:42:28 +01:00
Lioncash
d9f87b8030
NetPlayClient: Remove unnecessary includes
...
Replace with needed ones
2016-01-24 21:46:49 -05:00
Lioncash
90f2f48ef6
DVDInterface: Use correct prefix for static local variables
2016-01-24 17:24:33 -05:00
Mathew Maidment
bad7242c63
Merge pull request #3559 from lioncash/tcache
...
TextureCacheBase: Simplify init/comparison of TCacheEntryConfig
2016-01-24 17:18:08 -05:00
Mathew Maidment
e9713e19d7
Merge pull request #3561 from lioncash/render
...
RenderBase: Get rid of an undefined global extern
2016-01-24 17:17:48 -05:00
Mathew Maidment
b451b722fb
Merge pull request #3562 from lioncash/cpmem
...
CPMemory: Remove unnecessary extern specifiers from functions
2016-01-24 17:17:31 -05:00
mathieui
07caff35ad
Fix a bug in GCAdapter
...
where the payload size would end up being crazy values on the other
thread. Mirroring the similar commit made for the android side:
2833685fbf
2016-01-24 21:55:20 +01:00
degasus
4295751662
Fifo: More comments for SyncGPU functions.
2016-01-24 11:06:01 +01:00
degasus
cf4478dc92
Fifo: Fix SyncGPU.
...
CBoot::BootUp() did call CoreTiming::Advance which itself blocks on the GPU,
but the GPU thread wasn't started already. This commit moves the SyncGPU
initialization into the Fifo.cpp file and call it after BootUp().
2016-01-24 11:06:01 +01:00
Lioncash
e187c55bdd
OpcodeDecoder: Add namespace
2016-01-24 01:31:36 -05:00
Lioncash
758cd796a7
CPMemory: Remove unnecessary extern specifiers from functions
...
These are defined in CPMemory.cpp, as expected. There's no need for
extern
2016-01-24 01:17:43 -05:00
Lioncash
508c521f10
RenderBase: Get rid of an undefined global extern
...
This doesn't have an implementation, so into
the trash it goes.
2016-01-24 01:07:24 -05:00
Lioncash
59d5935067
TextureCacheBase: Simplify init/comparison of TCacheEntryConfig
2016-01-23 22:57:05 -05:00
Lioncash
a2dc22f016
DVDInterface: Make a global a local variable
2016-01-23 18:40:55 -05:00
Ryan Houdek
6e13496d8d
Merge pull request #3554 from mathieui/netplay_devices
...
[netplay] Use the local type of each SI device
2016-01-23 16:03:25 -05:00
Ryan Houdek
1c3c36f285
Merge pull request #3533 from JosJuice/2x-resources
...
DolphinWX: Support 2x images for all resources
2016-01-23 12:52:05 -05:00
Ryan Houdek
a62a9b8161
Fix a bug in GCAdapter_Android where the payload size would end up being crazy values on the opposite thread
2016-01-23 11:40:33 -06:00
mathieui
5e709f3d72
[netplay] Use the local type of each SI device
...
Instead of using SI_GCcontroller which would make it not work with gc
adapters, bongos, and other stuff.
Trying to fix issue #9263
2016-01-23 17:29:07 +01:00
Mathew Maidment
3f5f52342a
Merge pull request #3424 from spxtr/DQt2
...
DQt2: Add a message if the game list is empty
2016-01-22 22:16:56 -05:00
Ryan Houdek
ae4c7661d6
Merge pull request #3212 from mickdermack/pr-recalc-flags
...
JIT x64: Recalculate flags after add/sub
2016-01-22 12:45:52 -05:00
Lioncash
fdf6fb47e0
VideoInterface: specify internal linkage on local variable
2016-01-21 19:25:21 -05:00
mathieui
4b06e92731
A few more asterisks, mostly casts
2016-01-21 22:20:22 +01:00
mathieui
f15ffda5a7
Correct ampersands as well
2016-01-21 21:27:56 +01:00
mathieui
3e283ea9f1
More asterisks
2016-01-21 21:16:51 +01:00
mathieui
78aa398e7c
Common: asterisks go against the type name
...
not the variable name
2016-01-21 20:46:25 +01:00
Ryan Houdek
7c3e4b34f3
Merge pull request #3541 from Sonicadvance1/fix_netplay_option_sending
...
Stops netplay clients from failing to send settings on game start
2016-01-21 08:51:11 -05:00
Ryan Houdek
1a20772ccd
Stops netplay clients from failing to send settings on game start
...
Clients have no need to send their configuration information on start and the server straight out ignores it.
Not to mention it shouldn't try sending a struct as a null terminated string.
Cleans up how the server sends the configuration slightly as well.
2016-01-21 07:20:21 -06:00
Pierre Bourdon
912555968d
Merge pull request #3538 from mathieui/pipes_locale
...
[Pipe input] Make the commands locale-unaware
2016-01-21 14:04:38 +01:00
Lioncash
82147f42af
VideoInterface: Correct namespace indentation
2016-01-21 00:40:01 -05:00
Lioncash
f45e1bff37
VideoInterface: Change a global into a translation-unit local variable
2016-01-21 00:39:24 -05:00
mathieui
64e2f93f38
[Pipe input] Make the commands locale-unaware
...
Setting axis values in an automated way should not be locale-aware as
strtod is.
2016-01-20 22:48:22 +01:00
Ryan Houdek
70aa012fef
Allow multiple GC adapters on one PC to be used with multiple Dolphin instances.
...
Previously we would iterate through every GC adapter plugged in to the PC and steal ownership of it.
This causes issues all over the place in the implementation if this happens.
Break on the first adapter we can get access to.
2016-01-20 15:20:17 -06:00
Pierre Bourdon
a14c07413f
Merge pull request #3515 from booto/wii-region
...
DiscIO: Use specified Wii region for discs
2016-01-20 19:58:58 +01:00
Pierre Bourdon
f98176f38a
Merge pull request #3528 from Shugyousha/codedframedeprecated
...
AVIDump: coded_frame is deprecated
2016-01-20 19:40:31 +01:00
Pierre Bourdon
be1a9e4231
Merge pull request #3518 from Sonicadvance1/blacklist_sandy
...
Blacklist Sandy Bridge on mesa from using geometry shaders.
2016-01-20 19:32:56 +01:00
Ryan Houdek
3dda36bc5b
Blacklist Sandy Bridge on mesa from using geometry shaders.
2016-01-20 12:13:21 -06:00
Pierre Bourdon
e455ca4d58
Merge pull request #3535 from RisingFog/cya_savestate_memleak
...
Properly clear JIT cache on save states
2016-01-20 18:02:25 +01:00
Chris Burgener
a7a744d33c
Properly clear JIT cache on save states
2016-01-20 11:20:15 -05:00
Lioncash
42e9927bca
VideoInterface: Fix code style/indentation
2016-01-19 20:16:18 -05:00
JosJuice
53acd063f9
DolphinWX: Support 2x images for all resources
2016-01-20 00:46:10 +01:00
Pierre Bourdon
991d3f6f96
Merge pull request #3525 from lioncash/ptr
...
DSPEmulator: Make CreateDSPEmulator return a unique_ptr
2016-01-19 23:54:58 +01:00
Silvan Jegen
59f72d3571
AVIDump: coded_frame is deprecated
...
Setting this is not required anymore as of commit 40cf1bbacc622 of
FFmpeg.
For users of older versions of the libavcodec library we guard the
change with an #if.
2016-01-19 20:38:21 +01:00
Ryan Houdek
abb4c64c8f
Fix the Exit hotkey.
...
We were constructing our wxCommandEvent incorrectly and using an ID as an event type instead of the ID.
Works properly now.
2016-01-19 02:04:45 -06:00
Ryan Houdek
7b9eeba168
Merge pull request #3479 from Sonicadvance1/fix_hotkeys
...
Fix hotkeys not reporting inputs.
2016-01-19 02:15:25 -05:00
Jules Blok
51a36f27e0
Merge pull request #3448 from Armada651/depth-epsilon
...
VertexShaderManager: Add an epsilon hack to the perspective projection.
2016-01-18 20:56:18 +01:00
Ryan Houdek
f73961663e
Fix a typo on the size passed in to the IPL descrambler.
...
Fixes issue #6081
2016-01-18 04:30:30 -06:00
Lioncash
2ff5923334
DSPEmulator: Make CreateDSPEmulator return a unique_ptr
2016-01-17 22:33:21 -05:00
Pierre Bourdon
24c228c6e9
Merge pull request #3523 from lioncash/video
...
VideoCommon: Header cleanup
2016-01-18 02:24:50 +01:00
Lioncash
d9fec92628
VideoCommon: Header cleanup
...
Also remedies places where the video backends and core rely on things
being indirectly included.
2016-01-17 20:11:45 -05:00
Mathew Maidment
a7f35eeb42
Merge pull request #3520 from Sonicadvance1/debugger_address_minsize
...
Fix debugger address lookup search control.
2016-01-16 11:34:24 -05:00
Ryan Houdek
6754326c6b
Fix debugger address lookup search control.
...
The dumb wxAUI stuff isn't fully implemented for GTK. So the wxAuiToolBar doesn't properly deduce the size it needs to be when it contains a
wxSearchCtrl object.
Force the manager to set its minimum size to something reasonable.
2016-01-16 08:05:24 -06:00
Pierre Bourdon
ea2765e010
Merge pull request #3509 from stenzek/negative-indirect
...
PixelShaderGen: Manually wrap negative indirect texture coordinates
2016-01-16 09:10:33 +01:00
shuffle2
799fce0b03
Merge pull request #3512 from jloehr/Fix-SCMRevGen
...
Fix SCMRevGen by running system native CScript
2016-01-15 23:56:31 -08:00
Lioncash
c70487163f
Mixer: Convert defines into concrete variables
...
Gets defines out of global scope.
2016-01-15 23:41:53 -05:00
Stenzek
edebadc093
PixelShaderGen: Use bitwise AND for wrapping indirect texture coordinates
...
(x % y) is not defined in GLSL when sign(x) != sign(y).
This also has the added benefit of behaving the same as sampler wrapping modes, in regards to negative inputs.
2016-01-15 19:46:38 +10:00
booto
92278886b9
DiscIO: Use specified Wii region for discs
2016-01-15 03:35:10 +08:00
Lioncash
fc6a2f490f
Mixer: Directly initialize class members
2016-01-14 01:32:31 -05:00
Lioncash
531a3ed09a
Mixer: Devirtualize
...
Nothing in the codebase inherits from this class
2016-01-14 01:32:24 -05:00
Mathew Maidment
87464d432b
Merge pull request #3501 from rohit-n/build-pch
...
Fix building with PCH disabled.
2016-01-13 21:07:51 -05:00
Jules Blok
48b60649af
Merge pull request #3495 from Armada651/d3d-float
...
D3D: Use a 32-bit floating point depth buffer.
2016-01-14 00:39:23 +01:00
Julian Löhr
bb5cb7e365
Run system native CScript
...
Build Events are run in an 32 bit environment, therefore both program files environment strings resolve to the x86 program files folder on 64 Bit systems. If Git is 64 bit and installed into the x64 program files it can't be found by the script.
2016-01-14 00:37:11 +01:00
Jules Blok
d54291f2e8
Merge pull request #3506 from stenzek/odd-mips
...
TextureCacheBase: Change CalculateLevelSize to match D3D/OGL sizes
2016-01-13 23:10:18 +01:00
Jules Blok
55cb6675cc
IniFile: Initialize with default value if key does not exist.
2016-01-13 22:51:53 +01:00
Pierre Bourdon
8ee93fc4fa
Merge pull request #3507 from lioncash/header
...
HW: Header cleanup
2016-01-13 14:09:35 +01:00
Jules Blok
a307883069
Merge pull request #3505 from Armada651/invert-conversion
...
TextureConversionShader: Also invert color encoders if they're used to encode depth.
2016-01-13 12:58:44 +01:00
Lioncash
f2038b9e90
HW: Remove unnecessary header inclusions
2016-01-13 02:47:32 -05:00
Stenzek
1f3b90d70a
TextureCacheBase: Change CalculateLevelSize to match D3D/OGL sizes
...
This was causing crashes/driver resets when odd-dimension textures were
being loaded, due to the size we were uploading being larger than the size
of the higher-level texture calculated by the runtime.
2016-01-13 12:54:38 +10:00
Pierre Bourdon
8f8134f5f4
Merge pull request #3504 from degasus/master
...
VideoBackend: Cleanup API a bit.
2016-01-13 01:27:24 +01:00
Jules Blok
daabd88d69
TextureConversionShader: Also invert color encoders if they're used to encode depth.
2016-01-13 01:08:27 +01:00
degasus
aa430c10d5
VideoState: Simplify dummy wrapper.
2016-01-12 23:28:26 +01:00
degasus
5f244abf28
Fifo: Create a "Fifo" namespace.
2016-01-12 23:28:26 +01:00
degasus
c3481a576b
VideoBackend: Remove simple wrapper functions.
2016-01-12 23:28:26 +01:00
degasus
0c92603fd5
Merge VideoBackendHardware into VideoBackend.
...
And rename it to VideoBackendBase because of conflicts within the backends itself.
2016-01-12 23:18:58 +01:00
Lioncash
f8fcceb99e
Jit: Get rid of indirect includes
2016-01-12 00:12:36 -05:00
Jules Blok
8158d291aa
D3D: Use the full depth range for Z pokes.
2016-01-11 22:27:41 +01:00
Jules Blok
129975233f
D3D: Use a 32-bit floating point depth buffer.
2016-01-11 22:27:40 +01:00
Rohit Nirmal
f9837d4447
Fix building with PCH disabled.
2016-01-11 13:20:47 -06:00
Pierre Bourdon
68094171f8
Merge pull request #3489 from lioncash/interp
...
Interpreter: Remove unnecessary includes from Interpreter.h
2016-01-11 12:43:25 +01:00
Pierre Bourdon
84c4f75aeb
Merge pull request #3498 from lioncash/global
...
MemTools: Get rid of a global variable
2016-01-11 12:43:01 +01:00
Pierre Bourdon
7c6fe11348
Merge pull request #3499 from lioncash/hle
...
HLE: Move static variable out of header
2016-01-11 12:42:48 +01:00
Pierre Bourdon
6b25e52f57
Merge pull request #3500 from lioncash/arm
...
ARM Jit: Use std::tie for SlowmemHandler comparison
2016-01-11 12:42:24 +01:00
Lioncash
984fc7fb39
ARM Jit: Use std::tie for SlowmemHandler comparison
2016-01-11 04:28:16 -05:00
Lioncash
846c904624
HLE: Move static variable out of header
...
It's only ever used in the implementation file.
2016-01-11 04:11:12 -05:00
Lioncash
b688a62143
MemTools: Get rid of a global variable
2016-01-11 03:24:03 -05:00
Lioncash
d9a16f7c9c
Interpreter: Remove unnecessary includes from Interpreter.h
...
Previously the JIT code relied on indirect inclusion from this header,
this gets rid of that.
2016-01-10 18:51:12 -05:00
Ryan Houdek
5a549ef663
[Android] Add support for rotation and minimizing the application
2016-01-10 13:00:32 -06:00
Ryan Houdek
6448e5e5ee
Add support to EGL to on the fly destroy the resulting surface
2016-01-10 12:28:05 -06:00
Pierre Bourdon
e7fbd1fd50
Merge pull request #3439 from Armada651/depth-range
...
Render: Clamp the z range to the full range.
2016-01-10 19:09:57 +01:00
Pierre Bourdon
20718305db
Merge pull request #3484 from Sonicadvance1/mesa_disable_geometry_shaders
...
Disable geometry shaders on mesa AMD/ATI drivers.
2016-01-10 02:38:33 +01:00
Mathew Maidment
ff0e1c3624
Merge pull request #3485 from booto/minor-comment-change
...
Comment change to reflect what code does
2016-01-09 17:18:59 -05:00
Mathew Maidment
9925d8a947
Merge pull request #3478 from mmastrac/ui_resize_fix
...
DolphinWX: fixes the window growing slightly on every re-launch
2016-01-09 17:15:35 -05:00
Matt Mastracci
560769ad5d
DolphinWX: Fix window growing on every relaunch
...
Fixes part of #8993 -- the window would grow slightly on every re-launch
because the size was set before the UI was fully initialized.
2016-01-09 14:29:15 -07:00
Pierre Bourdon
98106b717a
Merge pull request #3487 from Sonicadvance1/fix_typo
...
Fix typo in GLExtensions
2016-01-09 22:17:05 +01:00
Ryan Houdek
b4eb5d8e3f
Disable geometry shaders on mesa AMD/ATI drivers.
...
Causes misrenderings in games that uses them.
2016-01-09 15:09:37 -06:00
Ryan Houdek
8c37498230
Fix typo in GLExtensions
...
I had changed a variable name and forgot to update it everywhere.
Should fix Adreno devices.
2016-01-09 15:06:36 -06:00
Lioncash
986108715d
JitInterface: Get rid of a global variable
2016-01-09 14:57:50 -05:00
booto
b89c79b9f2
Comment change to reflect what code does
2016-01-10 02:42:56 +08:00
Ryan Houdek
54e4d90b6d
Fix assert on reset button hit.
...
Fixes issue 9225.
2016-01-09 11:23:22 -06:00
Pierre Bourdon
5db10d83f7
Merge pull request #3477 from mmastrac/memorywatcher_crash
...
MemoryWatcher: Initialize m_running
2016-01-09 16:11:42 +01:00
Tillmann Karras
98ea1f773a
VideoSW: fix some warnings
2016-01-09 10:38:07 +01:00
Ryan Houdek
3f15aa4b57
Add support for framedumping to OpenGL ES.
2016-01-09 00:21:20 -06:00
Scott Mansell
74b772c3be
Avoid the "Memory stride too small" assert
...
EFB2Tex still has no idea what to do with these weird textures so we
simply disable EFB2Tex when one is encountered.
2016-01-09 18:30:29 +13:00
Ryan Houdek
6862d7c7b2
Fix hotkeys not reporting inputs.
2016-01-08 23:25:36 -06:00
Pierre Bourdon
dbe7e6634d
Merge pull request #3412 from skidau/CheatSearch-Prev-Value
...
Added the ability to search on previous value in the Cheat Search.
2016-01-09 06:06:02 +01:00
Pierre Bourdon
39971ec039
Merge pull request #3472 from phire/TVs_dont_have_pixels
...
Rework the aspect ratio calculation (Fixes 240p mode)
2016-01-09 04:27:16 +01:00
Scott Mansell
c49a82bf0a
Rework aspect ratio calculations.
...
They are now based on signal timings rather than pixels, as it
didn't make a lot of sense to do things with pixels.
Now handles all 240i/240p/480i/480p modes without any special
casing.
Despite the diffrent equaions, this should result in the exact same aspect
ratio as the previous code.
2016-01-09 14:30:46 +13:00
Pierre Bourdon
bf1c53a6e8
Merge pull request #3451 from RisingFog/libav
...
Use ffmpeg for Windows Video Dumping instead of VFW
2016-01-09 01:01:05 +01:00
Matt Mastracci
a60b24c937
MemoryWatcher: Initialize m_running to false to prevent crashes on OSX in the dtor when it picks up the wrong initial value
2016-01-08 12:20:35 -07:00
Chris Burgener
66595b0ac9
Force XVID FourCC for MPEG4 output
2016-01-08 10:22:19 -05:00
Scott Mansell
9c0dae47ca
Normalize aspect ratio calculations to 4:3
...
Video Interface simply isn't aware about widescreen.
Instead, the render class can multiply by 1.3333333 to get
the 16:9 aspect ratio.
2016-01-08 13:31:48 +13:00
Chris Burgener
c34fb3edf0
Use ffmpeg for Windows Video Dumping instead of VFW
2016-01-07 18:37:58 -05:00
Jules Blok
db551c55a2
FrameBufferManager: Fix typo in stereoscopic MSAA shader.
2016-01-07 20:05:12 +01:00
Pierre Bourdon
89bb4b1288
Merge pull request #3460 from JosJuice/platform-icon-padding
...
Adjust the size of the Wii platform icon and padding of all platform icons
2016-01-07 00:50:06 +01:00
Pierre Bourdon
bff79df363
Merge pull request #3429 from sepalani/debug_vector_fix
...
Debug Builds: Fixed vector assertion
2016-01-07 00:48:40 +01:00
Pierre Bourdon
e668fd7a02
Merge pull request #3465 from Sonicadvance1/Android_move_jni
...
Move Android JNI bits from DolphinWX to the Android folder.
2016-01-07 00:47:39 +01:00
Pierre Bourdon
7c91dbe239
Merge pull request #3467 from mathieui/netplay_version_commit_hash
...
Use the current commit hash in the netplay version
2016-01-07 00:45:11 +01:00
Pierre Bourdon
22555312de
Merge pull request #3464 from Armada651/stereo-warnings
...
VideoConfig: Don't give warnings for per-game stereoscopy parameters.
2016-01-07 00:35:14 +01:00
Pierre Bourdon
4553f723ff
Merge pull request #3466 from JosJuice/game-list-empty-condition
...
DolphinWX: Unify the condition for the game list being empty
2016-01-07 00:33:32 +01:00
mathieui
40c7a2fb7d
Use the current commit hash in the netplay version
...
So that it contains the current commit and not an arbitrary date that
may or may not be up-to-date. This will cause tears as people will not
be able to use netplay with one diverging commit that does not touch
anything related. On the other hand, users can’t be trusted.
2016-01-07 00:17:05 +01:00
JosJuice
85ab84935a
Use the English name for DK Bongos in the English version of Dolphin
...
Tarukonga is Japanese. People who don't speak Japanese are unlikely to
understand it.
2016-01-07 00:12:25 +01:00
Ryan Houdek
74478addeb
Move Android JNI bits from DolphinWX to the Android folder.
2016-01-06 15:36:44 -06:00
JosJuice
dcde91cdd8
DolphinWX: Unify the condition for the game list being empty
...
When there are no games to display in the game list, DolphinWX shows a
message instead. Clicking the message will perform an action. If the game
list truly is empty, the message and action are for opening a browse
dialog, but if the user has hidden some games, they are instead for
unhiding all games. However, the condition for checking which message to
display lacked some parts that are in the condition for checking which
action to use, so the two could be different in rare cases. This PR fixes
that by breaking out the two conditions to a new unified function.
2016-01-06 22:25:30 +01:00
Jules Blok
1e111421e9
VideoConfig: Don't give warnings for per-game stereoscopy parameters.
2016-01-06 22:21:12 +01:00
degasus
efbe5bc4b6
VideoSW: Use more VideoCommon
...
Now we require lots of empty functions, but this removes by far more duplicated code.
2016-01-06 22:10:29 +01:00
Ryan Houdek
7fcb5a803b
Merge pull request #3359 from degasus/ini
...
VideoConfig: Use "GFX.ini" for both D3D and OGL.
2016-01-06 16:02:23 -05:00
Markus Wick
05fdf0398b
Merge pull request #3313 from degasus/videosw
...
VideoSW: Clear Vertex data before usage
2016-01-06 21:56:02 +01:00
degasus
ad1f7576ad
VideoConfig: Use "GFX.ini" for both D3D and OGL.
...
They share the same format, so there is no need to separate their configs.
2016-01-06 21:43:11 +01:00
Ryan Houdek
0a42a0ab1b
Merge pull request #3428 from Sonicadvance1/proper_glextensions
...
Make GLExtensions no longer require slghtly modified GL headers
2016-01-06 15:24:47 -05:00
Ryan Houdek
342496563d
Merge pull request #3455 from Sonicadvance1/GC_adapter_android
...
[Android] Add support for the Wii U Gamecube adapter under Android.
2016-01-06 15:07:09 -05:00
JosJuice
e6cee3a130
DolphinWX: Re-add some padding for platform icons
...
The padding on the right was changed from 3px to 0px by fd2d505
. 1px is
needed for counteracting the white 1px line to the left of the game list.
2016-01-06 21:06:36 +01:00
Mathew Maidment
87e753b104
Merge pull request #3459 from JosJuice/custom-texture-all-regions-2
...
HiresTextures: Refactor getting directory
2016-01-06 14:19:33 -05:00
Ryan Houdek
b49683b2e8
Merge pull request #3357 from JosJuice/no-xpm
...
DolphinWX: Stop using XPM images
2016-01-06 13:37:03 -05:00
JosJuice
03091ce180
HiresTextures: Refactor getting directory
2016-01-06 19:35:16 +01:00
Ryan Houdek
adffa5fbec
Merge pull request #3457 from booto/si-sampling
...
[RFC] SI: Base SI sampling on VSync & horiz lines
2016-01-06 13:02:38 -05:00
booto
a1db1a2082
SI: Base SI sampling on VSync & horiz lines
2016-01-06 23:47:20 +08:00
JosJuice
42237dc511
Merge pull request #3456 from JosJuice/custom-texture-all-regions
...
HiresTextures: Also look for directories with 3-character IDs
2016-01-06 14:43:49 +01:00
JosJuice
a2b45a4b82
HiresTextures: Also look for directories with 3-character IDs
...
People who make texture packs usually release them using a specific ID
(for instance SX4E01). Users who have a different version of the game
(like the PAL version SX4P01) then need to rename the custom texture
folder to match. This is a lot simpler than renaming every texture file,
as was required with the old texture format, but it's still something
that users can forget to do. To make that unnecessary, this change makes
it possible to use three-character region-free IDs for custom texture
folders, similarly to how game INIs can use three-character IDs. Once
most people have updated to Dolphin versions that include this change,
those who make texture packs will be able to name them with
three-character IDs, removing the need for users to rename anything.
2016-01-06 14:33:36 +01:00
Markus Wick
86b0e7e4f2
Merge pull request #3356 from degasus/master
...
Throttler: Rename "framelimiter" to "emulation speed".
2016-01-06 14:21:55 +01:00
Ryan Houdek
e62503c873
[Android] Add support for the Wii U Gamecube adapter under Android.
...
No way to properly enable it from an end user perspective yet.
Doesn't require root.
This same sort of system can be used for the Dolphinbar in the future for real wiimote support.
2016-01-06 01:10:54 -06:00
Ryan Houdek
6e503bebc4
Add a stubbed GCAdapter namespace.
...
This cleans up a bunch of #ifdef checks in places.
2016-01-06 00:57:08 -06:00
Ryan Houdek
af6a5ddafe
Fixup typo in GCAdapter
2016-01-06 00:41:00 -06:00
Ryan Houdek
1dcc199a63
Fix GCPad recalibration shortcut.
...
Dolphin has supported the recalibration shortcut (X+Y+Start) for quite a long while. So if someont's axises are terrible, you could easily
recalibrate.
Games even get the initial calibration upon boot(Most of the time).
While changing over the GCAdapter code, I was testing to make sure the reset and calibration shortcuts still worked, turns out they didn't work at
all.
Looking in to the problem, we capture the combination properly, and we wait three seconds until we actually fire that off recalibration.
The problem is for Nintendo's SDK to properly handle recalibrating, we need to send back data saying that it needs to recalibrate.
On hardware this is done as part of the 64bits of data the controller sends back to us.
On holding of the controller, bit 61 of the return value is set, which the Nintendo SDK catches, and then signals immediately afterwards a CMD_ORIGIN
command in order to recalibrate the controller.
We were outright ignoring this bit, so the library wasn't ever recalibrating. I suspect in the past the class itself used to use the calibration data
to to offset the data, but somewhere along the lines it got munged out of existence.
The Gamecube adapter does this shortcut in a bit of a unique way, instead of sending the command and having the library support it and what have you.
Once holding the shortcut for the amount of time, the adapter reports back that the controller has actually been disconnected. Then when you let go of
the combination, the adapter states that a new device has been connected to that port, and the recalibration happens because a new device is
"connected."
This fixes controller calibration for both emulated GC controllers and also the Wii Gamecube Adapter.
2016-01-06 00:41:00 -06:00
Anthony Serna
2ee84a20fe
[UI] Remove DolphinQt
2016-01-05 19:42:02 -06:00
degasus
3ff4ec275a
Throttler: Rename "framelimiter" to "emulation speed".
...
We don't throttle by frames, we throttle by coretiming speed.
So looking up VI for calculating the speed was just very wrong.
The new ini option is a float, 1.0f for fullspeed.
In the GUI, percentual values are used.
2016-01-05 23:39:05 +01:00
Ryan Houdek
49410576e9
Make the Wii U Gamecube adapter work with less magic.
...
The Wii U Gamecube controller adapter setup has always been a bit weird. It tries to be as automatic as possible to make the user experience as easy
as possible.
The problem with this approach is that it brings a large disconnect in the user experience because you have the Gamecube controller setup with regular
gamepads and then for some reason below that you have a "direct connect" option which will cause the Gamecube Adapter to overwrite the regular inputs
if something was connected.
While this works and allows the user to only click one checkbox to get the device working, it breaks the user's experience because they don't really
know what "direct connect" means and won't look it up to figure out what it is. Just expecting the device to work (At least one occurence of this in
the IRC channel in the last week).
This way around also had the terrible nature of making the code more filthy than it needed to be. The GCAdapter namespace was parasitic and hooked in
to the regular GC Controller SI class to overwrite the data that it was getting from the default configuration.
Now instead we have a specific SIDevice class for the Wii U Gamecube adapter. This class is fairly simple and is a child of the regular SI Gamecube
Pad device and only reimplements what it needs to.
This also gives the ability to configure controllers individually, which allows the user to configure rumble individually per pad input.
Overall the code is cleaner, and it fits more in line with how the rest of Dolphin works.
2016-01-05 13:44:37 -06:00
Ryan Houdek
6e932af831
Add two missing values that can fit in GCPadStatus
2016-01-05 13:44:37 -06:00
Ryan Houdek
371e9f4fae
Move SI_GCAdapter over to InputCommon
2016-01-05 13:44:37 -06:00
JosJuice
fd2d50535f
DolphinWX: Minor adjustments to the widths of images
2016-01-05 19:19:36 +01:00
JosJuice
81466d7fa3
DolphinWX: Stop using XPM images
...
Using the XPM format for images has become a maintenance problem because
people don't know how to create them. This commit removes all XPM images
and all C files that contain PNG images. DolphinWX now uses the PNGs
in the Resources folder instead, just like DolphinQt and DolphinQt2 do.
2016-01-05 19:11:58 +01:00
Ryan Houdek
14e6720f22
Fix warning in VideoInterface
2016-01-05 11:54:04 -06:00
JosJuice
ea7d686811
Remove padding from platform icons and rating icons
2016-01-05 16:57:31 +01:00
Markus Wick
0da8bd0f61
Merge pull request #3444 from RisingFog/avidumpfixes
...
AVIDump Clean Up and Fixes
2016-01-05 10:38:07 +01:00
Ryan Houdek
e8e0ad3e52
Merge pull request #3408 from Tilka/fcmp
...
JitArm64: fix fcmpo/fcmpu
2016-01-04 22:19:32 -05:00
Ryan Houdek
b00bb300e5
Merge pull request #3447 from degasus/arm
...
JITArm64: Single precision + FPRF
2016-01-04 22:09:44 -05:00
Jules Blok
358e458a93
VertexShaderManager: Add an epsilon hack to the perspective projection.
2016-01-05 01:24:54 +01:00
Mathew Maidment
0509292f86
Merge pull request #3431 from stenzek/shadercache
...
ShaderGen: Remove virtual methods and string from ShaderGeneratorInterface.
2016-01-04 19:11:14 -05:00
Markus Wick
8b3bf1557f
Merge pull request #3445 from jake8/add-crop-hotkey
...
Added Hotkey for toggling the Crop Setting
2016-01-04 16:24:22 +01:00
jake8
cc8aeec58c
Added hotkey for toggling the crop setting
2016-01-04 10:10:49 -05:00
Markus Wick
f3c1cc95fc
Merge pull request #3311 from Phatcat/analog_input_android
...
[Android] More analog input configurations + misc
2016-01-04 14:57:43 +01:00
Markus Wick
d29b406292
Merge pull request #3433 from lioncash/gl
...
GLInterface: Minor changes
2016-01-04 13:49:40 +01:00
Markus Wick
ca7160f714
Merge pull request #3434 from lioncash/enum
...
OnScreenDisplay: Make CallbackType an enum class
2016-01-04 13:47:22 +01:00
Markus Wick
3045e08daf
Merge pull request #3430 from lioncash/compare
...
ProgramShaderCache: Simplify SHADERUID comparison operators
2016-01-04 13:42:39 +01:00
Phatcat
f62054e467
Android: More analog input configurations
...
Lets the user set the following in intervals of 10 between 10 and 100;
- Stick/Radius (default 100,000000)
- Triggers/Threshold (default 90,000000)
- Tilt/Modifier/Range (default 50,000000) + mapped Tilt/Modifier button
to the configurations for wiimotes & nunchuks
2016-01-04 13:35:04 +01:00
Phatcat
158f0e8102
Android: Added categories to input controls
...
- Seperates input configurations into categories
- Reworked input configurations to reuse more strings
2016-01-04 13:19:44 +01:00
Phatcat
cfe8400cdd
Android: Revision of PR 3253 (Wiimote controls)
...
- Fix small error in NativeLibrary (line 141)
- Fix faulty indentment in arrays.xml
- Rework numbering system to be more accessible.
2016-01-04 13:19:42 +01:00
Chris Burgener
fe4e99d6bf
AVIDump Clean Up and Fixes
2016-01-03 18:39:52 -05:00
Ryan Houdek
465ef93beb
Merge pull request #3441 from Sonicadvance1/opensles_audio_delay
...
[OpenSLES] Fix a delay in audio processing.
2016-01-03 18:34:20 -05:00
Lioncash
1bcfae5fd7
OGL: Correct unique_ptr types
...
By default unique_ptr will call delete on the given type if an array
qualifier isn't present, not delete[]. It's important to explicitly
specify an array is being handled.
2016-01-03 16:00:16 -05:00
Ryan Houdek
a898aa1585
Merge pull request #3436 from endrift/fix-libusb
...
HW: Fix libusb support for older libusb APIs
2016-01-03 12:35:08 -05:00
Ryan Houdek
1db01a8c56
[OpenSLES] Fix a delay in audio processing.
...
A failure on my part. I was updating the two buffers in the wrong order, so we were always a buffer behind in sending audio out to OpenSLES.
2016-01-03 11:33:38 -06:00
Jules Blok
8c3108b354
Render: Clamp the z range to the full range.
2016-01-03 15:39:34 +01:00
Sepalani
ba794272f5
Debug Builds: Fixed vector assertion
2016-01-03 13:17:26 +01:00
Ganael Laplanche
fb3b1e4eb0
Add missing header for sprintf()
2016-01-03 01:30:39 -08:00
Jeffrey Pfau
d4e2c9fa98
HW: Fix libusb support for older libusb APIs
2016-01-03 00:53:31 -08:00
Lioncash
01f99a04a2
VideoBackend: Get rid of a boolean global
...
Also gets rid of global headers
2016-01-02 18:03:28 -05:00
Lioncash
edda018d54
OnScreenDisplay: Make CallbackType an enum class
2016-01-02 14:57:55 -05:00
Lioncash
f3c05d39b9
GLInterface: Make GLInterfaceMode an enum class
2016-01-02 14:26:43 -05:00
Lioncash
df9c9ad706
GLInterfaceBase: In-class initialize protected members
...
Gives the class a well-defined initial state
2016-01-02 14:26:42 -05:00
Lioncash
11a7defdba
WGL: Make class member private
2016-01-02 14:26:41 -05:00
Lioncash
df2f6089be
GLInterface: Add missing override specifiers
2016-01-02 14:26:36 -05:00
Ryan Houdek
37525f3fcf
Make GLExtensions no longer require slghtly modified GL headers.
...
In fact, removes the need for external headers at all.
2016-01-02 10:34:13 -06:00
Stenzek
617f9d9532
ShaderGen: Remove virtual methods from ShaderGeneratorInterface, move string buffer to ShaderCode
...
This fixes the crashes occuring at startup with a non-empty shader cache.
Because LinearDiskCache reads/writes to the storage of ShaderUid, ShaderUid must be trivially copyable.
Additionally, adds a static assert to LinearDiskCache to ensure this doesn't happen in the future.
The initialization of ShaderUid data has been moved to the code generation functions, so the above condition holds true.
2016-01-02 17:35:06 +10:00
Lioncash
6093d1f72a
ProgramShaderCache: Simplify SHADERUID comparison operators
2016-01-01 22:28:42 -05:00
skidau
066af14272
Merge pull request #3409 from sepalani/r_menu_code
...
RegisterView: View code menu added
2016-01-02 11:40:02 +11:00
skidau
96d8ea5537
Merge pull request #3415 from rabbott99/movie-end-pause
...
Movie: Fix "Pause at End of Movie" for wii games
2016-01-02 09:08:06 +11:00
Mathew Maidment
988f62dfb1
Merge pull request #3427 from rohit-n/build-pch
...
Fix building with PCH disabled.
2016-01-01 15:36:48 -05:00
Ryan Houdek
b4e9bbb551
Merge pull request #3336 from Sonicadvance1/improve_glextensions
...
[GLExtensions] Improve the extension loader.
2016-01-01 13:01:51 -05:00
Rohit Nirmal
76333b388f
Fix building with PCH disabled.
2016-01-01 10:26:15 -06:00
spxtr
48d1adb96f
DQt2: Add a message if the game list is empty.
2016-01-01 02:29:39 -08:00
Ryan Houdek
f836e5937f
Merge pull request #3422 from Sonicadvance1/Linux_bba_bridge
...
Support multiple bridge interfaces in Linux.
2016-01-01 04:23:06 -05:00
Ryan Houdek
454ebb7150
Merge pull request #3417 from aserna3/remove_salt_button
...
[Netplay] Disabled loading savestates
2016-01-01 04:02:43 -05:00
Ryan Houdek
4e22bab71d
Support multiple bridge interfaces in Linux.
...
This allows you to run multiple instances of Dolphin that touch the BBA (Up to a 32 interface limit)
2016-01-01 02:51:31 -06:00
Scott Mansell
552ea58bf5
Merge pull request #3419 from Sonicadvance1/QC_driverdetails
...
Add a comment to DriverDetails about Qualcomm failing our alpha tests.
2016-01-01 21:50:22 +13:00
Scott Mansell
d2e9688ab0
Merge pull request #3388 from spxtr/DQt2
...
DQt2: Implement Paths config dialog
2016-01-01 21:48:05 +13:00
Scott Mansell
5cd4619a1d
Merge pull request #3413 from spxtr/follow-pointers
...
Allow MemoryWatcher to follow pointers
2016-01-01 21:45:44 +13:00
Rohit Nirmal
a551e8adbb
Fix building with PCH disabled.
2016-01-01 02:32:53 -06:00
Anthony Serna
42c38cbbd3
Blocked netplay users from desyncing by messing with savestates.
2015-12-31 18:50:45 -06:00
Ryan Houdek
721d319c7b
Add a comment to DriverDetails about Qualcomm failing our alpha tests.
2015-12-31 10:14:14 -06:00
rabbott99
d2ef903d1a
Movie: Fix "Pause at End of Movie" for wii games.
...
InputUpdate() is never called during wii playback, so the pause never
executed.
2015-12-30 23:11:40 -05:00
spxtr
525fc4fe8a
Allow MemoryWatcher to follow pointers
2015-12-30 19:10:31 -08:00
spxtr
5b2a76458d
DQt2: Implement Paths config dialog
2015-12-30 19:03:13 -08:00
booto
d9e921cc2c
VI: set the JP bit of VI's DTV reg when needed
...
The "Force NTSC-J" option was broken by 480dbb22f2
(i.e. field-timing). A side effect of this was that it exposed a bug
where the JP region bit of VI's DTV reg was not automatically set for wads
from the JP region.
2015-12-31 05:36:29 +08:00
Markus Wick
330329254c
Merge pull request #3361 from stenzek/d3d-vectored-efb-pokes
...
D3D: Implement vectored efb pokes
2015-12-30 15:27:24 +01:00
Scott Mansell
afde6ae72c
Merge pull request #3403 from spxtr/reporter
...
Add support for sending game memory changes to outside processes
2015-12-30 15:17:47 +13:00
spxtr
2f50560602
Add support for sending game memory changes to outside processes
2015-12-29 17:59:16 -08:00
skidau
c055b40d3b
Added the ability to search on previous value in the Cheat Search.
...
Fixed a bug where old values were being updated automatically by the display refresh.
Fixes issue 9212.
2015-12-30 11:51:36 +11:00
Markus Wick
8cf078a1a0
Merge pull request #3407 from phire/fix_assert
...
TextureCache, fix an incorrect assert.
2015-12-29 20:58:24 +01:00
Markus Wick
f8d7becba9
Merge pull request #3410 from lioncash/hires
...
HiresTextures: Minor changes
2015-12-29 20:44:58 +01:00
Lioncash
4bc7c0c5a8
DSPCore: Prefix globals with g_
2015-12-29 10:40:44 -05:00
Lioncash
78565fabbc
DSPCore: Make the DSP emitter global a unique_ptr
2015-12-29 10:29:02 -05:00
Lioncash
e082ebad1a
HiresTextures: Remove the need to explicitly free SOIL allocated data
2015-12-29 08:40:17 -05:00
Lioncash
1d01fbd217
HiresTextures: Make Load return a unique_ptr
2015-12-29 08:40:15 -05:00
Lioncash
6a9e4511b5
HiresTextures: Remove unnecessary header includes
2015-12-29 08:40:07 -05:00
Scott Mansell
d8e5d8659e
TextureCache, fix an incorrect assert.
2015-12-29 14:25:31 +13:00
skidau
c16c2d9356
Merge pull request #3393 from rabbott99/desync-fix
...
Movie: Reset wiimotes at at start of recording/playback to fix desync issues
2015-12-29 11:58:03 +11:00
rabbott99
9e54cf80c2
Movie: Reset wiimotes at at start of recording/playback,
...
to prevent desync issues which occur when the a game has been opened beforehand
2015-12-28 19:44:42 -05:00
skidau
5fefc1fd79
Merge pull request #3375 from mbc07/IPLfonts
...
Always load system fonts from IPL dump, if available
2015-12-29 11:21:03 +11:00
skidau
88c2900e9e
Merge pull request #3399 from rabbott99/cheat-search
...
CheatSearchTab: Use an enum for filter masks rather than ints
2015-12-29 11:13:35 +11:00
skidau
c80dede49f
Merge pull request #3377 from JosJuice/elfdol-case
...
DolphinWX: Add missing m_ListElfDol cases
2015-12-29 11:03:43 +11:00
skidau
08bf808d49
Merge pull request #3343 from JosJuice/getstringt-encoding
...
Fix encoding for savestate slots
2015-12-29 10:54:54 +11:00
skidau
fb55544021
Merge pull request #3406 from skidau/soundtouch-192
...
Updated SoundTouch library to 1.9.2
2015-12-29 10:21:58 +11:00
skidau
fc86a9e626
Merge pull request #3387 from skidau/Mouse-In-Separate-Window-By-ProcessId
...
Ignored the mouse position unless the cursor is over the Dolphin window.
2015-12-29 10:21:28 +11:00
skidau
d3d0aa69ce
Merge pull request #3397 from skidau/dsp-acc-loop-end
...
Catered for the case where ADPCM audio would loop before the end of the stream
2015-12-29 10:21:12 +11:00
degasus
5d63a08a50
VideoSW: Clear Vertex data before usage
...
This must have no effect, everything else is usage of uninitialized memory.
2015-12-28 20:37:25 +01:00
Sepalani
a6967358b2
RegisterView: View code menu added
2015-12-28 22:41:24 +04:00
skidau
cfa925fbbe
Updated SoundTouch library to 1.9.2
2015-12-28 23:08:55 +11:00
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