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
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
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
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
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
shuffle2
44323c5c23
Merge pull request #4301 from sepalani/hle_log
...
HLE: Another DebugPrint case added
2016-10-04 17:35:24 -07:00
shuffle2
50fef592d7
Merge pull request #4296 from RisingFog/fix_frame_dump
...
Fix frame dumps on file close in certain situations
2016-10-04 17:25:40 -07:00
shuffle2
9be6f38988
Merge pull request #4292 from shuffle2/fix-saving-log-settings
...
Restore saving logger settings to .ini
2016-10-04 17:16:51 -07:00
Sepalani
58f5cd944c
HLE: Another DebugPrint case added
2016-10-04 21:40:43 +01:00
aldelaro5
6ee799ba7c
Reduces the the filename of logs
...
Using cmake and GCC, logs would contain the full file path when logging making logs lines unnecessarily long. This is solved by just removing anything before "/Source/Core/" (where / is whatever your OS uses to separated directory).
2016-10-04 16:34:26 -04:00
Sepalani
6e8c5040df
HLE: Wrong array used in BP patching fixed
2016-10-04 16:47:06 +01:00
Sepalani
61580b0dec
HLE: Remove duplicate in OSPatches
2016-10-04 16:33:47 +01:00
Chris Burgener
43c48a6f48
Fix frame dumps on file close in certain situations
2016-10-04 09:26:23 -04:00
Stenzek
db09c05eec
Vulkan: Fix bug with palette converted EFB copies
...
This happened when the source texture was an EFB copy, therefore it had
not been populated prior to the draw command buffer being executed, and
the conversion was occurring in the init command list.
2016-10-04 22:30:37 +10:00
Shawn Hoffman
55af20a439
Remove '\n' from OSD messages; they would be converted to '?'
2016-10-04 03:52:13 -07:00
Lioncash
d15d99ecc2
CommonFuncs: Get rid of pointer casting
2016-10-04 05:12:23 -04:00
Shawn Hoffman
7de9ff10a8
Restore saving logger settings to .ini
2016-10-04 02:02:07 -07:00
shuffle2
ea33405feb
Merge pull request #4270 from stenzek/vulkan-defer-fix
...
Vulkan: Miscellaneous minor fixes
2016-10-04 01:47:59 -07:00
EmptyChaos
116348a877
WxDebugger: Move branch line indent
2016-10-04 19:28:01 +11:00
EmptyChaos
94aff7e47e
WxDebugger: Fix variable width fonts in Code/Memory views
2016-10-04 19:17:47 +11:00
degasus
6d2827ff6b
PixelShader: Drop redundant warning.
...
This warning was raised both on UID generation and on shader generation.
2016-10-04 10:13:46 +02:00
degasus
083be0832f
LightingShader: Drop xfmem usage.
...
Our shaders must only depend on the UID, not on any global state.
2016-10-04 10:13:46 +02:00
degasus
829fc8f0ad
PixelShaderGen: Drop dstAlphaMode constant in shader generation.
...
It is already stored within the UID.
2016-10-04 10:13:46 +02:00
Shawn Hoffman
fead9a05bc
Fix static_assert raised by commit 789975e350
2016-10-04 00:56:02 -07:00
shuffle2
ab01dec178
Merge pull request #3806 from degasus/idle
...
ConfigManager: Drop SkipIdle option.
2016-10-03 23:59:38 -07:00
Markus Wick
cf3513f7fc
Merge pull request #4123 from hthh/improve-const-stores
...
Jit: FIFO optimization improvements
2016-10-04 08:32:48 +02:00
degasus
40aa54447d
Jit64: Drop very outdated comment about idle skipping.
2016-10-04 08:31:43 +02:00
degasus
0c67297ea0
ConfigManager: Drop SkipIdle option.
...
This option is safe + deterministic, so let's always enable it.
2016-10-04 08:31:43 +02:00
Shawn Hoffman
c11aba296c
Follow-up for OSD cleanup:
...
people probably want to see decimal instead of hex...
2016-10-03 20:42:04 -07:00