Sean Maas
beff65854a
Android: Fix inverted EFB settings
2016-11-06 12:50:56 -05:00
Lioncash
5022c0dfb5
DolphinWX: Move common wxUpdateUIEvent functions to WxEventUtils
2016-11-06 09:02:59 -05:00
Mat M
136a10482f
Merge pull request #4427 from lioncash/config-update
...
DolphinWX: Enable/disable config UI options based on core state
2016-11-06 08:21:02 -05:00
Lioncash
c2d00d25fe
DolphinWX: Make the main config dialog modeless
2016-11-06 08:04:54 -05:00
Markus Wick
3924a99942
Merge pull request #4423 from degasus/framedump
...
Framedump: Use an object for the framedumping state.
2016-11-06 02:07:08 +01:00
Lioncash
bfa9cc2736
DolphinWX: Enable/disable config UI options based on core state
2016-11-05 11:14:37 -04:00
Mat M
0ad4e70fc5
Merge pull request #4422 from lioncash/codewindow-menu
...
CodeWindow: Migrate more menubar handling code to CFrame
2016-11-05 08:19:28 -04:00
Lioncash
b19842eec3
IPC_HLE: Move NWC24Config and WiiNetConfig to their own source files
...
Makes for a cleaner separation of functionality, as well as removing
multiple includes from the main header file. It also gets a bunch of
structs and enums out of the global namespace.
Coincidentally, this also gets rid of an indirect include cycle that
could have broken compilation of Core.cpp in the future, since it was
relying on IPC network includes to resolve functions in Common/NandPaths.h.
This makes it easier to separate out the individual net classes in a
follow-up. Separating these out would also make it less of a pain to
figure out what's going on, since you wouldn't need to sift through 1000+
lines of code.i
2016-11-05 03:12:07 -04:00
Lioncash
9543b9d20d
CodeWindow: Rename GetMenuBar() to GetParentMenuBar()
2016-11-04 22:02:36 -04:00
Lioncash
07e3835a49
GeneralConfigPane: rename cpu_cores to m_cpu_cores
2016-11-04 21:57:46 -04:00
degasus
3c65c5f2c5
AVIDump: Drop frames which are delayed over a savestate.
2016-11-04 18:39:50 +01:00
degasus
be29090aae
AVIDump: Add a struct for the state.
...
So AddFrame use no global state and can be threaded well.
2016-11-04 18:35:42 +01:00
degasus
dad5041737
AVIDump: Inline OSD error handling.
...
This fixes a review feedback in PR #4345 .
2016-11-04 18:03:14 +01:00
degasus
03d8efc270
AVIDump: Merge redundant variables.
...
They were always the same. We also don't scale at all.
2016-11-04 18:03:14 +01:00
degasus
112e18a5d1
AVIDump: Drop stored frame.
...
This used an invalid pointer, which was only valid within AddFrame.
This drops a feature which shall dump the last frame as it might was dropped before.
A good implementation however should "overwrite" the last frame if the time matches.
But this needs to delay every frame a bit.
2016-11-04 18:03:14 +01:00
JosJuice
d88295d5a1
Merge pull request #4421 from Pringo/wiimote-log
...
Change "Wiimote" to "Wii Remote" in Logs
2016-11-04 17:03:11 +01:00
Markus Wick
234691abf7
Merge pull request #4385 from leoetlino/disable-bt-check
...
Disable descriptor check for BT passthrough in some cases
2016-11-04 14:38:19 +01:00
Stenzek
ac2971b30e
Merge pull request #4374 from stenzek/vulkan-xfb
...
Vulkan: Cleanup and implement XFB support
2016-11-04 23:11:10 +10:00
Markus Wick
d2fdafa155
Merge pull request #4415 from degasus/arm
...
JitArm64: Also push/pop gpr.R(addr).
2016-11-04 09:33:53 +01:00
Lioncash
5d4c714662
CodeWindow: Hide GetMenuBar()
...
This eliminates public usage of the GetMenuBar() function in CodeWindow.
The benefit of this is it also gets rid of the need to perform direct
access across the config dialog and the main frame. It also gets rid of
the use of the main_frame global.
GetMenuBar() will be removed entirely from CodeWindow in a follow-up that
also removes any related remnants of code made obsolete with its removal.
2016-11-04 00:09:47 -04:00
Lioncash
5ae6c21c2e
CodeWindow: Eliminate explicit menu item updating from CodeWindow
...
Gets rid of more menu-related code from CodeWindow and puts it back in
CFrame where it belongs.
This turns the previous menu update function within CodeWindow into one
that simply updates the debugger font for its managed controls. It also
improves how the font is actually updated. Previously, fonts would change,
however this wouldn't actually reflect onto the respective controls until
a refresh or update event occurred. Since codeview, callstack, symbols,
callers, and calls windows are all managed by a wxAuiManager instance,
calling Update() on it after the font has been set will reflect font
changes immediately.
2016-11-04 00:01:45 -04:00
Pringo
93bdab64fa
Change "Wiimote" to "Wii Remote" in Logs
2016-11-03 17:58:28 -07:00
Stenzek
c880c37244
Vulkan: Rename screenshot buffer to frame dump buffer.
...
Name makes more sense given the methods it calls in the base class.
2016-11-03 22:38:48 +10:00
Stenzek
9aed27cdcf
Vulkan: Combine frame dumping and present into one command buffer.
...
Small optimization that should make things slightly more efficient when
frame dumping is enabled.
2016-11-03 22:38:48 +10:00
Stenzek
690a6deeb3
Vulkan: Fix swapped top/bottom images in TAB stereo mode
2016-11-03 22:33:24 +10:00
Stenzek
70eb904536
Vulkan: Fix incorrect geometry shader input/output usage
2016-11-03 22:33:24 +10:00
Stenzek
5250f3c6a4
Vulkan: Add missing call to ObjectCache::RecompileSharedShaders
...
This was causing issues when the stereo mode was changed at runtime.
2016-11-03 22:33:24 +10:00
Stenzek
d67877d27e
Vulkan: Fix fast clear path not being used in all cases
2016-11-03 22:33:24 +10:00
Stenzek
5182e6b549
Vulkan: Implement virtual/real XFB support
2016-11-03 22:33:24 +10:00
Stenzek
3593fa27ab
Vulkan: Move CopyRectangleFromTexture to TextureCache
2016-11-03 22:01:55 +10:00
Stenzek
01b3c0f036
Vulkan: Make TextureCache::TCacheEntry public
2016-11-03 22:01:54 +10:00
Stenzek
b066d51dfa
Vulkan: Remove parameters/members of single-instance classes
...
There's not a lot of point in passing these around or storing them
(texture cache/state tracker mainly) as there will only ever be a single
instance of the class.
Also adds downcast helpers such as Vulkan::Renderer::GetInstance().
2016-11-03 22:01:54 +10:00
shuffle2
ab9f539233
Merge pull request #4387 from aldelaro5/gpr1-and-gpr2-friendly-labels
...
Add precision about the names of r1, r2 and r13 for the register view
2016-11-03 02:29:40 -07:00
degasus
abe9c30d3d
JitArm64: Also push/pop gpr.R(addr).
...
This fixes slowmem load instruction with update.
2016-11-02 22:38:03 +01:00
JosJuice
25070d149e
Merge pull request #4412 from JosJuice/more-debug-text
...
More debug text fixes
2016-11-02 17:58:59 +01:00
JosJuice
3c6742f66f
More debug text fixes
...
Also a few small non-debug text changes.
2016-11-02 17:46:52 +01:00
Markus Wick
342c053bf5
Merge pull request #4368 from JosJuice/updatewantdeterminism-loadinput
...
Movie: Add missing calls to UpdateWantDeterminism
2016-11-02 16:26:48 +01:00
Markus Wick
9ce1cdde98
Merge pull request #4414 from linkmauve/single-newline
...
Remove double newlines at the end of *_LOG messages
2016-11-02 12:20:46 +01:00
aldelaro5
2f5d00450a
Add precision about the names of r1, r2 and r13 for the register view
...
In the code view, it would never say r1 or r2, but rather sp (stack pointer) and rtoc (register of the table of content) respectively. In the register view, all it says is the register number. This is an inconvenience considering it might not be obvious which register belongs to which of these terms.
Also make r13 named the "sda" for small data area with the same convention as above.
2016-11-02 01:13:00 -04:00
Emmanuel Gil Peyrot
c9e6b05ce9
Core: Remove double newlines at the end of *_LOG messages.
2016-11-02 02:09:33 +00:00
Markus Wick
24fa4c9e57
Merge pull request #4400 from degasus/master
...
JitArm64: Store the carry flag within the host flag.
2016-11-01 23:29:50 +01:00
Jules Blok
49ac577ac0
Merge pull request #4388 from ligfx/portaudio_static
...
CMake: build PortAudio as static library
2016-11-01 18:32:12 +01:00
degasus
5a8c52ce3a
JitArm64: Fix srawx.
2016-11-01 11:55:06 +01:00
degasus
0a3e5a0fe8
JitArm64: srawix cleanups.
2016-10-31 23:40:09 +01:00
degasus
c69903eb42
JitArm64: CR field cleanup.
2016-10-31 23:40:09 +01:00
degasus
3405f5ac1a
JitArm64: Optimize carry behavior of srawix.
2016-10-31 23:40:09 +01:00
degasus
0d78f5926f
JitArm64: Keep carry in the host flag for all integer instructions.
2016-10-31 23:40:08 +01:00
degasus
f449541e65
JitArm64: Implement derefered carry usage.
2016-10-31 23:40:08 +01:00
degasus
4d88f5410e
JitArm64: Store carry within the host carry flag.
2016-10-31 23:40:08 +01:00
Markus Wick
1c9ed79c6a
Merge pull request #4409 from sigmabeta/android-tv-screenshot-errors
...
[Android TV] Fix a screenshot glitch on game selector
2016-10-31 23:34:41 +01:00
shuffle2
41477c9ef5
Merge pull request #3080 from LAGonauta/openal-32bit-fixed-point-support
...
OpenAL 32-bit fixed point support
2016-10-31 13:07:35 -07:00
Jules Blok
2058a49465
PixelShaderGen: Remove unused global variable.
2016-10-31 15:02:08 +01:00
Jules Blok
086f839435
DriverDetails: Make the bug identifiers humanly readable.
2016-10-31 15:02:08 +01:00
JosJuice
479b909935
Merge pull request #4381 from JosJuice/small-debug-text
...
DolphinWX: Small debug text fixes
2016-10-31 13:13:51 +01:00
Markus Wick
b9e4f67d3a
Merge pull request #4405 from xrix4096/mac-unknown-joyaxis
...
Make analog triggers on PS3 controllers accessible on Mac
2016-10-31 13:01:47 +01:00
Markus Wick
2afa877119
Merge pull request #4376 from leoetlino/warning-fix
...
Warning fixes
2016-10-31 12:57:03 +01:00
Markus Wick
b9e4370023
Merge pull request #4383 from Sintendo/minor-text-fixes
...
Fix minor comment typos
2016-10-31 12:51:42 +01:00
Markus Wick
4f5d0cd450
Merge pull request #4391 from Pringo/wii-remote
...
Change "Wiimote" to "Wii Remote" in Interface
2016-10-31 12:49:16 +01:00
Markus Wick
4eb5892e1a
Merge pull request #4399 from JosJuice/unify-getgctime
...
EXI_DeviceIPL: Unify GetGCTime epoch handling
2016-10-31 12:47:06 +01:00
Markus Wick
d5ca153c26
Merge pull request #4401 from JosJuice/rename-getuniqueid
...
DiscIO/SConfig: Rename GetUniqueID to GetGameID
2016-10-31 12:39:27 +01:00
Markus Wick
22779473bc
Merge pull request #4402 from Armada651/dualsrc-bug
...
OGL: Fall back to the old dual-source blending behaviour.
2016-10-31 12:37:09 +01:00
sigmabeta
64cf56dda3
Clear screenshot in game grid before attempting to render on Android TV devices
2016-10-30 18:53:57 -04:00
JosJuice
d80086adf5
Add debug i18n comments and revise existing i18n comments
2016-10-30 16:37:29 +01:00
Chris Pritchard
9da9ba616b
Use the IOHIDElement cookie as a part of the axis name for unknown axis. Previously the 'usage' value was used to identify the axis by name, but this is not unique. For example on a PS3 controller *all* axis other than the well known ones return a usage of '1' so there are 30 or more axis all named "1". This stops things such as analog triggers being usable.
...
Using the element cookie uniquely identifies each axis and allows them to be assigned successfully as controls
2016-10-30 10:36:53 +00:00
Jules Blok
d0e60492cf
PixelShaderGen: Don't use a global variable.
2016-10-30 00:48:02 +02:00
Jules Blok
d778400133
DriverDetails: Add OS X to the dual-source blending bug.
2016-10-30 00:47:02 +02:00
JosJuice
9950209bbf
EXI_DeviceIPL: Unify GetGCTime epoch handling
2016-10-29 18:30:00 +02:00
Jules Blok
ce9f717045
OGL: Fall back to the old dual-source blending behaviour.
2016-10-29 18:00:22 +02:00
JosJuice
1081497cad
DiscIO/SConfig: Rename GetUniqueID to GetGameID
...
We call this "game ID" everywhere else, and it's not
actually completely unique.
2016-10-29 15:24:02 +02:00
Mat M
146ee6de91
Merge pull request #4398 from JosJuice/remove-volumecreator-logs
...
Remove VolumeCreator logs
2016-10-29 09:22:49 -04:00
Markus Wick
e7635a0089
Merge pull request #4395 from degasus/master
...
JitArm64: Implement 4 ppc instructions.
2016-10-29 14:50:18 +02:00
Mat M
1eed48974d
Merge pull request #4380 from lioncash/wx-toolbar
...
DolphinWX: Move toolbar creation to a wxToolBar subclass
2016-10-29 08:28:27 -04:00
degasus
041129fb34
JitArm64: Implement mcrxr.
2016-10-29 13:36:41 +02:00
degasus
293553f317
JitArm64: Implement subfzex.
2016-10-29 13:36:39 +02:00
degasus
f1a67bb1a2
JitArm64: Implement divwx
2016-10-29 13:35:23 +02:00
degasus
a8b1347ea9
JitArm64: Implement srawx.
2016-10-29 13:34:28 +02:00
JosJuice
8155a253c6
EXI_DeviceIPL: Remove old unused code
2016-10-29 13:14:18 +02:00
JosJuice
d6731d34ef
Remove VolumeCreator logs
...
These logs are very rarely useful and cause the issue
https://bugs.dolphin-emu.org/issues/9767
2016-10-29 13:08:24 +02:00
Anthony
41563c55cd
Merge pull request #4394 from aldelaro5/fix-focus-detection-linux
...
Fix window focus detection on Linux (rebase from #3843 )
2016-10-29 00:35:18 -05:00
Anthony
26902d89e8
Merge pull request #4377 from aldelaro5/fix-centerPc-on-toggleBreakpoint
...
Fix unnecessary Center PC calls in the CodeWindow
2016-10-29 00:16:09 -05:00
aldelaro5
63546b4f2e
Fix unnecessary Center PC calls in the CodeWindow
...
This not only fixes a regression where toggling a breakpoint using the CodeWindow would cause a Center PC, but it also removes several redundant JumpToAddress(PC) calls.
2016-10-29 01:08:27 -04:00
aldelaro5
ee201455a8
Move UiHasFocus into DolphinApp
...
Using a wxEVT_ACTIVATE_APP event.
2016-10-28 20:03:35 -04:00
RenaKunisaki
2005b4430f
Fix window focus detection on Linux
...
On Linux, the FindFocus method from wx simply doesn't work, it would on some environment report that dolphin has the focus while it doesn't have it. This is why an alternative method has to be used which is to set a focus flag whenever the render frame gets activated.
2016-10-28 18:47:08 -04:00
Léo Lam
e89ca79059
Disable Bluetooth descriptor check if adapter is forced
...
Some adapters don't have the correct interface class, so they are not
recognised as Bluetooth adapters. It seems that apart from hardcoding
VIDs/PIDs (which is how it's done in the Linux kernel, and which I'm
not very fond of), there is no other way to detect if a device is a
Bluetooth adapter or not.
This change makes Dolphin skip the descriptor check when trying to find
a usable adapter for Bluetooth Passthrough if the use of a specific
adapter was forced; it is assumed that the user knows what they are
doing if they hand-edited their config file.
This allows such adapters to be used.
2016-10-28 23:55:43 +02:00
Pringo
15a41a5d83
Change OSD Messages and PanicAlerts to Say "Wii Remote" Instead of "Wiimote"
2016-10-28 14:02:58 -07:00
Jules Blok
476cf3803d
Merge pull request #4393 from Armada651/amd-dual-src
...
DriverDetails: Disable dual-source blending on AMD OGL drivers.
2016-10-28 13:31:03 +02:00
JosJuice
a319f8777d
DolphinWX: Small debug text fixes
2016-10-28 12:18:32 +02:00
Lioncash
5e8ccb15ff
DolphinWX: Move toolbar creation to a wxToolBar subclass
2016-10-27 21:56:08 -04:00
LAGonauta
332e9bd378
Added 32-bit fixed point support to OpenAL backend.
...
Changed method to detect 32-bit floating point and
32-bit fixed point support.
2016-10-27 18:47:13 -02:00
Jules Blok
afe707bc18
DriverDetails: Disable dual-source blending on AMD OGL drivers.
2016-10-27 22:03:25 +02:00
degasus
332d51858a
JitArm64: Clean LSL 0.
...
This is a no-op in the instruction set.
2016-10-27 19:19:06 +02:00
degasus
8ad98d0046
ArmEmitter: Merge AddI2R helpers.
2016-10-27 19:19:06 +02:00
degasus
694e9b4132
JitArm64: ADDI2R optimizations 2.
2016-10-27 19:19:06 +02:00
degasus
1df694626d
JitArm64: Optimize addi2r & subi2r.
2016-10-26 21:54:13 +02:00
degasus
df250b84cc
JitArm64: Avoid MOVI2R is possible.
...
Just use all kind of ADDI2R, SUBI2R, ...
They have some optimizations internally.
2016-10-26 21:54:09 +02:00
Michael Maltese
04e262513c
CMake: build PortAudio as static library
...
Due to issues raised in #4255 .
2016-10-26 11:53:14 -07:00
Markus Wick
838b234317
Merge pull request #4389 from SeannyM/android-dir-restrict
...
Android: Allow accessing all folders
2016-10-26 08:49:27 +02:00
Markus Wick
3fe5e6dbce
Merge pull request #4390 from SeannyM/android-screenshot
...
Android: Fix screenshots on game list
2016-10-26 08:48:46 +02:00
Markus Wick
98389121e6
Merge pull request #4386 from degasus/master
...
JitArm64: Drop two DUP() usages.
2016-10-26 08:47:36 +02:00
Pringo
4bd5674b85
Change "Wiimote" to "Wii Remote" in Interface
...
The usage of "Wii Remote" and "Wiimote" in the interface is inconsistent. "Wiimote" is also not a real word nor is it an official product name. Therefore I have changed instances of "Wiimote" in the UI to instead say "Wii Remote". I also made a couple of minor grammatical changes as well.
This is mostly a resubmission of #4338 but there are some minor other changes as well.
2016-10-25 19:49:41 -07:00
Sean Maas
f257c3385b
Android: Fix screenshots on game list
2016-10-25 22:25:34 -04:00
Sean Maas
351825aa10
Android: Allow accessing all folders
2016-10-25 21:55:31 -04:00
degasus
1a8a25cc93
JitArm64: Drop two DUP() usages.
...
And replace them with the aarch64 feature FMUL.
This skips one instruction in rarely used PPC instructions.
thx @ HdkR for spotting it.
2016-10-25 22:26:54 +02:00
Sean Maas
9eb0ab936f
Android: Remove Japanese strings
...
These were very outdated and unmaintained.
2016-10-25 14:20:19 -04:00
Sean Maas
68affd37a1
Android: Remove unused stuff
2016-10-25 14:20:15 -04:00
Sean Maas
3b28fe11d6
Android: Cleanup formatting
2016-10-25 14:18:06 -04:00
Jules Blok
9e21ac8607
Merge pull request #4360 from VinDuv/fix-shader-compile
...
VideoCommon: Fix GetInterpolationQualifier calls
2016-10-25 11:53:20 +02:00
Sean Maas
12db4e4882
Android: Fix "up one level" button
2016-10-24 23:16:51 -04:00
Sintendo
f163bd1048
Fix various comment typos
2016-10-24 18:27:49 +02:00
Jules Blok
122ce96ed1
PixelShaderGen: Don't use dual source blend if unsupported.
2016-10-24 00:11:55 +02:00
Jules Blok
5c406b5ef0
PixelShaderGen: Fix implicit type conversions.
2016-10-23 19:54:28 +02:00
Léo Lam
1233697b2f
Fix unused function warnings
2016-10-23 00:43:08 +02:00
Léo Lam
68156a02ed
Fix -Wunused-result warnings
2016-10-23 00:43:08 +02:00
Léo Lam
df76f2910b
DVDInterface: Fix warnings (-Wformat)
2016-10-22 19:28:29 +02:00
aldelaro5
edd3177813
Fix a schedule event assert on ClearCacheThreadSafe
...
I didn't know that telling that you don't schedule from the CPU thread prevents an assert because it by default assumes you use the CPU thread, but in the case of ClearCacheThreadSafe, it's used from the GUI thread.
2016-10-21 20:25:11 -04:00
Jules Blok
2536e37ec5
Merge pull request #4194 from Armada651/efb-source-format
...
PixelShaderGen: Add support for RGBA6 EFB format truncation.
2016-10-21 21:45:29 +00:00
JosJuice
2fc2baf376
Merge pull request #4369 from lioncash/config
...
DolphinWX: Minor include changes to config panes/dialogs
2016-10-21 22:04:09 +02:00
JosJuice
a2644cd102
Merge pull request #4363 from lioncash/wx-menu
...
DolphinWX: Move main menu creation into a wxMenuBar subclass
2016-10-21 21:44:56 +02:00
Lioncash
855061682e
GameCubeConfigPane: Add forward declaration for TEXIDevices
2016-10-20 10:42:32 -04:00
Lioncash
934b32acfb
GeneralConfigPane: Add <vector> include
...
Ensures the class member is always resolved correctly.
2016-10-20 10:16:49 -04:00
Lioncash
2bd7f7f0d8
AdvancedConfigPane: Add necessary includes to header
...
time_t is defined in ctime, and u32 is defined in CommonTypes.
2016-10-20 10:14:26 -04:00
Lioncash
24cf46aa5a
GCAdapterConfigDiag: Cull includes in header file
...
Prevents dragging in unnecessary headers into other including files.
2016-10-20 10:09:19 -04:00
Lioncash
42e1dafd6d
Frame: Rename GetCmdForHotkey to GetMenuIDFromHotkey
...
This more accurately describes what it's actually doing. This can also be
a local function, since it's not needed anywhere else.
2016-10-20 09:54:39 -04:00
Lioncash
f871b2177e
DolphinWX: Move main menu creation into a wxMenuBar subclass
...
Keeps the actual GUI elements separate from the frame code.
2016-10-20 09:54:29 -04:00
JosJuice
c170f0b460
Movie: Add missing calls to UpdateWantDeterminism
...
Fixes https://bugs.dolphin-emu.org/issues/9681
2016-10-20 14:47:45 +02:00
JosJuice
ae2cf370e1
Movie: Add missing includes
2016-10-20 14:22:42 +02:00
shuffle2
43169d897f
Merge pull request #4354 from sepalani/bp_rmtmp_it
...
BreakPoints: ClearAllTemporary uses valid iterators
2016-10-17 14:14:10 -07:00
JosJuice
7876430a71
Merge pull request #4120 from JosJuice/dvdthread-queue
...
DVDThread queue
2016-10-16 14:48:06 +02:00
Vincent Duvert
8bb459aae5
VideoCommon: Fix GetInterpolationQualifier calls
...
Commit 4969415
modified calls to GetInterpolationQualifier, but mistakenly changed the order of some boolean parameters: GetInterpolationQualifier(true, false) was changed to GetInterpolationQualifier(…, false, true).
Should fix #9783 .
2016-10-16 12:48:32 +02:00
shuffle2
ad956559d5
Merge pull request #4336 from ligfx/smarteraudioconfigpane
...
AudioConfigPane/AudioCommon: various GUI cleanups
2016-10-15 22:56:05 -07:00
shuffle2
720cb34573
Merge pull request #4347 from SeannyM/android-wii-control
...
Android: On-screen classic controller + Wii controller select
2016-10-15 22:51:27 -07:00
shuffle2
e30d31aa66
Merge pull request #4334 from ligfx/fixcontrollerdialog
...
InputConfigDialog: use SelectObjectAsSource in UpdateBitmaps
2016-10-15 22:45:27 -07:00
shuffle2
d84f0c34e8
Merge pull request #4358 from SeannyM/android-aspect
...
Android: Fix some settings
2016-10-15 22:38:31 -07:00
shuffle2
472d5078e6
Merge pull request #4351 from leoetlino/no-idea-device
...
IPC_HLE: Remove unused _Unimplemented_Device_ device
2016-10-15 22:35:10 -07:00
shuffle2
1e9f052ea5
Merge pull request #4357 from ligfx/notresponsibleforhw
...
HW: Don't be responsible for g_controller_interface
2016-10-15 22:18:20 -07:00
shuffle2
ce5c8c28b2
Merge pull request #4302 from leoetlino/graceful-fixes
...
Minor fixes to graceful shutdown
2016-10-15 21:47:07 -07:00
Sean Maas
662cedfb78
Android: Fix some settings
2016-10-15 23:14:48 -04:00
shuffle2
d2d4edf964
Merge pull request #4352 from lioncash/fwd
...
NANDContentLoader: Add IOFile forward declaration
2016-10-15 16:38:58 -07:00
Michael Maltese
a082e9324f
HW: Don't be responsible for g_controller_interface
...
Currently, `g_controller_interface` is initialized and shut down by each
of `GCKeyboard`, `GCPad`, `Wiimote`, and `HotkeyManager`.
This 1) is weird conceptually, because it necessitates passing a pointer
to the native window to each of those classes, which don't need it, and
2) can cause issues when controller backends are initialized or shutdown
multiple times in succession.
2016-10-15 16:37:39 -07:00
Léo Lam
a0a246bf3e
Only attempt a graceful shutdown when there's a STM hook
...
For Wii graceful shutdown to work, the emulated software has to open
the STM event hook and install a hook. Without this, there is no way
to inform them about the shutdown, so trying to do a graceful shutdown
and requiring the use of the shutdown fallback (exiting a second time
to force) is pointless.
2016-10-15 22:28:07 +02:00
Léo Lam
48ff76d495
DolphinWX: Update GUI properly after unpausing
...
If an unpause was forced by the graceful shutdown code, the UI was
previously not updated.
2016-10-15 21:58:55 +02:00
Léo Lam
fa009ab6f6
DolphinWX: Exit after closing main window or on signal
...
Previously Dolphin would only exit if the main window is closed,
and Confirm on Stop is enabled.
This makes Dolphin's behaviour more consistent by always exiting
if the main window is closed or on shutdown signal.
2016-10-15 21:58:55 +02:00
Sepalani
771fa943dc
BreakPoints: ClearAllTemporary uses valid iterators
2016-10-15 19:21:41 +01:00
JosJuice
a6bb1b642a
DVDInterface: Better memory locality for DTK byteswapping
2016-10-15 15:28:23 +02:00
JosJuice
e1f6ab5592
DVDThread: Remove s_dvd_thread_done_working and fix race condition
...
s_dvd_thread_done_working makes the logic more complicated,
and degasus pointed out a race condition that can happen if
the CPU thread calls WaitForIdle right in between the DVD
thread executing done_working.Set() and done_working.Reset()
while there is work left to do. To avoid this, let's just get
rid of s_dvd_thread_done_working. It's a relic from the old
DVDThread design. Thanks to the last few commits, WaitUntilIdle
only gets called rarely (disc change and savestate), so it's
not a problem if WaitUntilIdle ends up being slower.
2016-10-15 15:28:15 +02:00
JosJuice
f1879cc356
DVDInterface: Reorder variables
...
Might as well do this while I'm already breaking
savestate compatibility.
2016-10-15 15:28:11 +02:00
JosJuice
98fb037dee
DVDInterface: Handle DTK beyond 4 GiB
...
Might as well do this while I'm already breaking
savestate compatibility.
2016-10-15 15:28:06 +02:00
JosJuice
a450e33fb3
DVDInterface: Read DTK data in DVDThread
2016-10-15 15:28:02 +02:00
JosJuice
28bfd52d3a
DVDInterface: Prepare for reading DTK data in DVDThread
2016-10-15 15:27:54 +02:00
JosJuice
aabb17b7c9
DVDThread: Use queues
...
This makes it possible to submit a read without waiting for
the previous read to finish.
2016-10-15 15:27:16 +02:00
degasus
1cc1876002
Revert "Merge pull request #4286 from shuffle2/Aestek-clean-osd"
...
This reverts commit 5c0fa4db4f
, reversing
changes made to b8731eb818
.
2016-10-15 12:44:37 +02:00
degasus
b8a1611f4a
Revert "Merge pull request #4287 from shuffle2/typo-fix"
...
This reverts commit 6bff97ea30
, reversing
changes made to 5c0fa4db4f
.
2016-10-15 12:33:27 +02:00
JosJuice
a2f352c422
DVDThread: Use structs for requests and results
...
This is a preparation for adding a queue to DVDThread.
Currently, s_read_request and s_read_result act somewhat like
queues that only can contain one object.
2016-10-15 11:32:11 +02:00
Lioncash
d9eb7c4e80
NANDContentLoader: Add IOFile forward declaration
...
This would previously fail to compile when included in files that do not
include FileUtil.h due to lack of a type declaration.
This moves the constructor and destructor into the cpp file in order to
satisfy the requirements of unique_ptr construction and deletion. That is,
unique_ptr requires a concrete type at the point of construction and
destruction. If the constructor or destructor is left in the header, then
at the point of construction or destruction, IOFile will still be
considered an incomplete type, as unique_ptr's deleter will still only be
able to see the forward declaration, which it can't use.
2016-10-14 20:27:22 -04:00
Léo Lam
8e78477631
IPC_HLE: Remove unused _Unimplemented_Device_ device
...
Unless I'm misreading the code, it doesn't look like this serves any
purpose, and is only polluting the logs.
_Unimplemented_Device_ looked like a device name that was picked to
be used somewhere else in Dolphin, but this doesn't seem to be the case
since 2012 (d95e31a
removed the only other usage of this fake device).
2016-10-14 23:27:55 +02:00
Markus Wick
183f3c3759
Merge pull request #4332 from leoetlino/sync-sysconf-on-exit
...
ConfigManager: Sync Dolphin settings to SYSCONF on exit
2016-10-14 09:57:10 +02:00
Sean Maas
f981098438
Android: On-screen classic controller + Wii controller select
...
It's now possible to switch between a horizontal or vertical Wiimote
with no extension, a Wiimote with a Nunchuk, a Classic Controller,
or a GameCube Controller when running a Wii game.
2016-10-13 21:31:36 -04:00
shuffle2
3a52885e7a
Merge pull request #4349 from container1234/bba
...
EXI: Fix incorrect byte order when writing 3-byte data to BBA_WRTXFIFOD
2016-10-13 15:59:31 -07:00
Mat M
14facbc438
Merge pull request #4339 from lioncash/wx-menu
...
DolphinWX: Move debugger menu item creation to CFrame
2016-10-13 15:45:20 -04:00
container1234
5716d2bc0e
Fix incorrect byte order when writing 3byte data to BBA_WRTXFIFOD
2016-10-13 23:33:17 +09:00
Markus Wick
5541237b74
Merge pull request #4346 from degasus/framedump_sw
...
VideoSW: Use VideoCommon frame dumping.
2016-10-13 16:05:08 +02:00
Sean Maas
126117cdf7
Android: Use the light theme for emulation
2016-10-12 22:45:03 -04:00
Mat M
b15bcc6aa0
Merge pull request #4341 from degasus/syncgpufix
...
SyncGPU: Fix savestate.
2016-10-12 07:23:38 -04:00
degasus
df5eff9ab7
VideoSW: Use VideoCommon frame dumping.
2016-10-11 22:32:06 +02:00
Markus Wick
7d5363ffa8
Merge pull request #4337 from degasus/framedump
...
AVIDump: Move CoreTiming into caller.
2016-10-11 22:25:28 +02:00
Rohit Nirmal
dc1b35fa4b
Fix building with PCH disabled.
2016-10-11 14:25:14 -05:00
degasus
22681ad975
SyncGPU: Fix savestate.
2016-10-11 18:29:53 +02:00
Lioncash
6a67b571cc
DolphinWX: Move creation of debugger menu items into CFrame
...
Unifies the creation of all the menus into the main frame class.
Now it isn't spread out across the main frame and the code window.
This doesn't alter the placement of the handling functions, as this would
involve unrelated changes, since it would require modifying where
window-related variables are placed. This will be amended in a follow up
changeset.
2016-10-10 19:53:33 -04:00
Lioncash
6420a1c715
Frame: Separate menu creation into individual functions
...
Keeps related menu items together based on top level menu. This will be
more convenient in the future when debugger menu bar item handling is
moved to CFrame, as it won't be a huge amount of code in one function.
This also makes it easier to locate menu bar code whenever it needs to be
changed.
2016-10-10 16:45:31 -04:00
Jules Blok
ab5054c34e
VideoBackends: Always enable dual-source blending if supported.
2016-10-10 17:32:51 +02:00
Jules Blok
93109df654
PixelShaderGen: Use dual source blending to do 8-bit blending.
2016-10-10 15:34:55 +02:00
Jules Blok
d61ae5a88a
PixelShaderGen: Only set dither uid bit if actually used.
2016-10-10 14:32:21 +02:00
Jules Blok
23d9d91411
VideoConfigDiag: True color means 24-bit, not hw color.
2016-10-10 14:32:21 +02:00
Jules Blok
e8cddae132
VideoConfig: Turn on ForceTrueColor by default.
2016-10-10 14:31:53 +02:00
Jules Blok
365e88e311
VideoConfig: Add an option to force RGB8 EFB format.
2016-10-10 14:31:53 +02:00
Jules Blok
31a4ee7bfc
PixelShaderGen: Always truncate the alpha channel to 6-bit.
2016-10-10 14:30:14 +02:00
Jules Blok
9bc466a443
PixelShaderGen: Add support for dithering.
2016-10-10 14:30:14 +02:00
Jules Blok
b958457e51
PixelShaderGen: Add support for RGBA6 EFB format truncation.
2016-10-10 14:27:30 +02:00
degasus
9f264c0872
AVIDump: Move CoreTiming into caller.
2016-10-10 12:03:18 +02:00
Markus Wick
a583d36c7f
Merge pull request #4326 from degasus/framedump
...
Framedump: Merge screenshot code with framedumping.
2016-10-10 11:48:57 +02:00
Michael Maltese
c253076564
AudioConfigPane: clang-format
2016-10-09 19:34:11 -07:00
Michael Maltese
78655e5fed
AudioConfigPane: gray-out extra text for disabled controls
2016-10-09 19:33:50 -07:00
Michael Maltese
a0ebafe9a9
AudioConfigPane: move DPL2 decoding into 'Backend Settings'
2016-10-09 19:22:18 -07:00
Michael Maltese
45903b7b4d
AudioCommon: SupportsDPL2Decoder, SupportsLatencyControl, SupportsVolumeChanges
2016-10-09 19:18:16 -07:00
Michael Maltese
4834a90e63
AudioConfigPane: dedupe code into ToggleBackendSpecificControls
2016-10-09 19:10:24 -07:00
Sean Maas
05f78a7707
Android: Add custom control scaling
...
Also put all touch control settings under a "Configure Controls" submenu
so the in-game menu isn't so cluttered.
2016-10-09 19:00:32 -04:00
Michael Maltese
6b2f6e3884
InputConfigDialog: use SelectObjectAsSource in UpdateBitmaps
...
Fixes issue [Configuring an Emulated Wiimote crashes the application on
OS X 10.12 Sierra][1]
[1]: https://bugs.dolphin-emu.org/issues/9832
2016-10-09 15:31:42 -07:00
Léo Lam
8a0b292f07
ConfigManager: Sync Dolphin settings to SYSCONF on exit
...
4319 made Dolphin not read/write directly to the SYSCONF and read
settings from the SYSCONF at boot, and only write Dolphin settings
to the SYSCONF at emulation startup.
However, this also made it a bit confusing, because if settings were
changed, then Dolphin was exited without starting a game in between,
the settings wouldn't actually get persisted. This is fixed by
syncing Dolphin settings with the SYSCONF when Dolphin exits.
2016-10-09 17:15:24 +02:00
shuffle2
c8cb1fa7d7
Merge pull request #4319 from leoetlino/sysconf
...
Don't read/store settings directly from/to SYSCONF (and fix config restore)
2016-10-09 02:34:52 -07:00
shuffle2
3ec91a4e33
Merge pull request #4330 from ligfx/no_vulkan_on_mac
...
Don't build Vulkan video backend on macOS
2016-10-08 20:58:18 -07:00
Helios747
7efb272629
[UI] Remove idle skipping from game properties
2016-10-08 18:16:15 -05:00
shuffle2
23b5a41e0e
Merge pull request #4313 from lioncash/u8
...
HW: Change u8 pad specifier params to int where applicable
2016-10-08 14:10:10 -07:00
Markus Wick
a86b2c15d8
Merge pull request #4322 from Helios747/I_hate_features
...
Remove Frameskip
2016-10-08 21:41:43 +02:00
degasus
64927a2f81
Renderer: Merge screenshot logic into VideoCommon.
2016-10-08 19:38:57 +02:00
anthony
b427ead0cc
Remove Frameskip
2016-10-08 11:49:51 -05:00
degasus
21e42c68c4
Renderer: Remove write-only variable.
...
Sorry, merge failure.
2016-10-08 18:26:43 +02:00
degasus
db0509560e
AVIDump: Hard code rgba.
2016-10-08 18:16:32 +02:00
degasus
0864ef4352
VideoCommon: Add custom stride for framedumping.
2016-10-08 15:44:54 +02:00
degasus
1ef5ba0c53
D3D: Skip redundant format convertions.
2016-10-08 15:40:49 +02:00
degasus
b5a91e1dfa
Framedumps: Add finish() function to limit memory lifetime.
2016-10-08 15:39:22 +02:00
degasus
ebc617882b
VideoCommon: Drop RepeatFrameDumpFrame helper.
...
This was needed with fixed framerate dumping. As we now synchronize the frames, the last one will just get padded.
2016-10-08 15:39:21 +02:00
sigmabeta
01b8a937ff
Fix games being invisible in the game list on non-TV devices
2016-10-08 08:57:32 -04:00
Léo Lam
afd2f58e29
Don't read/store settings directly from/to SYSCONF
...
Instead of directly reading/storing settings from/to the SYSCONF, we
now store Wii settings to Dolphin's own configuration, and apply them
on boot. This prevents issues with settings not being saved, being
overridden and lost (if the user opens a dialog that writes to the
SYSCONF while a game is running).
This also fixes restoring settings from the config cache after a
graceful shutdown; for some reason, settings were only restored
after a normal shutdown.
Fixes issue 9825 and 9826
2016-10-08 14:37:55 +02:00
Markus Wick
b0acf1bf8f
Merge pull request #4323 from degasus/png
...
ImageWriter: Don't use inplace alpha truncation.
2016-10-08 12:10:40 +02:00
degasus
d078309827
ImageWriter: Don't use inplace alpha truncation.
...
This may lead to errors in the D3D backend, as we overwrite read-only memory.
2016-10-08 12:02:49 +02:00
Markus Wick
6e8901de17
Merge pull request #4315 from stenzek/vulkan-aspect
...
Vulkan: Handle forced aspect ratio changes at runtime
2016-10-08 11:53:22 +02:00
Stenzek
176b00ded7
Vulkan: Handle forced aspect ratio changes at runtime
2016-10-08 18:59:46 +10:00
Markus Wick
0e5fc56bc9
Merge pull request #4316 from lioncash/debug
...
DebugInterface: Make GetRawMemoryString return a std::string
2016-10-08 10:48:45 +02:00
Markus Wick
1a2d71cb58
Merge pull request #4310 from lioncash/dsptable
...
DSPRegisterView: Minor changes
2016-10-08 10:40:14 +02:00
Markus Wick
4ba1100f31
Merge pull request #4269 from degasus/singlecore
...
Fifo: Fix SyncGPU on dual core mode.
2016-10-08 01:26:34 +02:00
Léo Lam
39fd6dcd5b
Fix missing includes
...
Aren't indirect includes great?
2016-10-07 23:46:41 +02:00
degasus
8c999f9ee8
VideoCommon: Mark framedump variables as private.
...
And rename them to the new naming scheme.
2016-10-07 23:17:21 +02:00
degasus
e82cf46436
Vulkan: Use VideoCommon framedump helpers.
2016-10-07 23:17:16 +02:00
degasus
6b08830a95
D3D12: Use VideoCommon framedump helpers.
2016-10-07 23:15:10 +02:00
degasus
64b648f6c8
D3D: Use VideoCommon framedumping helpers.
2016-10-07 23:10:36 +02:00
degasus
a530708bb1
OGL: Use VideoCommon framedump helpers.
2016-10-07 23:09:10 +02:00
degasus
f45ddddf1c
VideoCommon: Add shared framedumping code.
2016-10-07 23:07:40 +02:00
degasus
34d733d376
OGL/Render: Drop write-only variable.
2016-10-07 21:44:52 +02:00
Markus Wick
5e027a0817
Merge pull request #4314 from lioncash/dsp-interface
...
DSPEmulator: Move common variable into base class
2016-10-07 18:27:09 +02:00
Lioncash
ee71d70738
DebugInterface: Make GetRawMemoryString return a std::string
2016-10-07 10:26:26 -04:00
Lioncash
8b29b09f24
DSPLLE: in-class initialize variables
2016-10-07 09:13:56 -04:00
Lioncash
aaa1da5abc
DSPEmulator: Move common variable into base class
2016-10-07 08:55:54 -04:00
Lioncash
9cab4e414c
HW: Change u8 pad specifier params to int where applicable
...
Using u8 as indexers is kind of silly, since the rest of the public API
essentially uses int for this sort of thing. Changing these to int also
gets rid of quite a few implicit truncations.
This also allows for getting rid of similar silliness in the netplay API.
2016-10-07 08:14:12 -04:00
Michael Maltese
f301ebf780
Don't build Vulkan video backend on macOS
...
There's no official implementation of the Vulkan API,
and Dolphin currently isn't set-up to work with the
single, commercially-available third-party implementation.
2016-10-06 16:53:55 -07:00
Markus Wick
3245ca236a
Merge pull request #4307 from stenzek/vulkan-palette-srcformat
...
Vulkan: Use correct source format to determine palette size
2016-10-06 21:29:28 +02:00
Markus Wick
ff1d70d708
Merge pull request #4308 from aldelaro5/memcheck-gui-relabel
...
Label debugger memchecks as "Memory Breakpoints" in the GUI
2016-10-06 21:29:14 +02:00
Lioncash
2ba0d6eb77
DSPRegisterView: Get rid of magic numbers
2016-10-06 13:02:49 -04:00
Lioncash
5dedd0a85b
DSPRegisterView: Make DSPRegisterView's constructor explicit
2016-10-06 12:36:32 -04:00
Lioncash
2781ae5af1
DSPRegisterView: Mark classes as final
...
These aren't intended to be extended upon.
2016-10-06 12:35:31 -04:00
Lioncash
66fd347d2e
DSPRegisterView: Move private members below public API
2016-10-06 12:29:37 -04:00
Lioncash
f935485158
DSPRegisterView: Get rid of explicit memsets
2016-10-06 12:29:32 -04:00
Markus Wick
f028b7079e
Merge pull request #4252 from degasus/android
...
Android: Update the gradle file to use android studio 2.2 cmake.
2016-10-06 18:13:09 +02:00
aldelaro5
549060c5b4
Label debugger memchecks as "Memory Breakpoints" in the GUI
...
This is done to remove confusions among potential debugger users and to also make it more accurately tell what this feature is actually doing. Despite being true that it is using a memcheck (and it certianly checks that memory), the idea being to break on a memory access isn't really obvious especially considering that memchecks are also used in full MMU emulation to handle exceptions. It also doesn't help that memchecks are now supported in every builds.
It also changes the corresponding log because this log would be wanted by the user which means it should be more obvious that it was caused by the "memory breakpoint".
2016-10-06 10:51:43 -04:00
Stenzek
010514bd39
Vulkan: Use correct source format to determine palette size
...
Fixes blur in fortune street fifologs.
2016-10-06 21:55:27 +10:00
Markus Wick
3c822f2c55
Merge pull request #4304 from stenzek/pool-reuse
...
TextureCache: Don't re-use pooled textures within the same frame
2016-10-06 12:27:23 +02:00
Stenzek
b6d09c61ed
TextureCache: Don't re-use pooled textures within the same frame
...
This is an issue because a driver may have to maintain two copies of a
texture if it batches all uploads together at the start of a frame.
In the Vulkan backend, we do something similar to avoid breaking out of a
render pass to copy a texture from the streaming buffer to the destination
image.
This was causing issues in the sms-bubbles fifolog, where an EFB copy to
the same address of a previously-used texture caused the previous texture
to be re-used again for a different image later on in the frame, causing
the original contents to be discarded.
2016-10-06 20:23:37 +10:00
Markus Wick
062de51d70
Merge pull request #4305 from stenzek/vulkan-framedump-fix
...
Vulkan: Fix minor issues with frame dumping on Vulkan
2016-10-06 10:58:45 +02:00
degasus
05eff01229
Android: Update the gradle file to use android studio 2.2 cmake.
2016-10-05 23:44:10 +02:00
Sepalani
aa63253838
HLE: Logs nlPrintf calls
2016-10-05 19:15:26 +01:00
Stenzek
b39ac950eb
Vulkan: Don't save borders to screenshots/frame dumps
...
This matches the behavior on GL, making for easier comparisons.
2016-10-05 22:28:51 +10:00
Stenzek
400ba3c7e5
Vulkan: Stop dumping frames on shutdown if left enabled
2016-10-05 22:28:51 +10:00
Stenzek
c422fb7e82
Vulkan: Set alpha channel of swap chain buffers to 1.0.
...
Copying the alpha channel from the game causes issues with frame dumping,
since we're using a buffer directly from the GPU as a source for AVIDump.
2016-10-05 22:02:04 +10:00
Stenzek
abb5a64919
Merge pull request #4295 from stenzek/vulkan-dbz-bloom
...
Vulkan: Fix bug with palette converted EFB copies
2016-10-05 20:24:36 +10:00
Markus Wick
ef1bfc26b2
Merge pull request #4291 from degasus/shader_gen
...
PixelShaderGen: Fix UID issues.
2016-10-05 12:20:58 +02:00
shuffle2
22d9259926
Merge pull request #4180 from LAGonauta/oal-warning-fix
...
Fix for false error about unqueuing buffers (OpenAL)
2016-10-04 19:41:01 -07:00
shuffle2
f7e25483e6
Merge pull request #4293 from lioncash/pcast
...
CommonFuncs: Get rid of pointer casting
2016-10-04 19:10:34 -07:00
LAGonauta
d4759a55b6
Fix for false error about unqueuing buffers (OpenAL)
...
and hopefully added saner error reporting.
2016-10-04 21:57:36 -03:00
shuffle2
d1df222367
Merge pull request #4297 from sepalani/hle_patch
...
HLE: Remove duplicate in OSPatches
2016-10-04 17:39:50 -07:00
shuffle2
5d3853d854
Merge pull request #4288 from aldelaro5/reduce-logged-filename
...
Reduce the filepath of logs
2016-10-04 17:39:25 -07:00
shuffle2
71aa243333
Merge pull request #4298 from sepalani/hle_bp
...
HLE: Wrong array used in BP patching fixed
2016-10-04 17:38:06 -07:00