Tillmann Karras
2ad901b2da
VideoCommon: drop unused variable/setter
2015-11-06 15:43:58 +01:00
Tillmann Karras
81d9cce70c
VideoCommon: rename TextureCache to TextureCacheBase
2015-11-06 15:43:58 +01:00
JosJuice
a0b99cfc51
Remove SSAA checkbox and add SSAA to AA dropdown
...
The checkbox is removed, and the dropdown now looks like this:
None
2x MSAA
4x MSAA
8x MSAA
2x SSAA
4x SSAA
8x SSAA
2015-11-06 11:22:53 +01:00
shuffle2
f26b3708e7
Merge pull request #3217 from dolphin-emu/shuffle2-patch-1
...
Add patch for ucrtbase 10.0.10240.16390 (Win8)
2015-11-05 15:37:19 -08:00
flacs
fd6b093a7e
Merge pull request #3234 from JosJuice/createintegerlabel
...
DolphinWX: Remove FifoPlayerDlg::CreateIntegerLabel
2015-11-05 12:42:15 +01:00
JosJuice
da603b7665
DolphinWX: Remove FifoPlayerDlg::CreateIntegerLabel
...
Being forced to have the number first and being forced to add the
same string for all pluralizations is terrible for localisation.
2015-11-05 11:35:13 +01:00
Scott Mansell
85144f5f77
Merge pull request #3233 from phire/remove-show-efb-copy-regions
...
[RFC] Remove the "Show EFB Copy Regions" debug option.
2015-11-05 21:04:34 +13:00
Scott Mansell
290466d57a
Merge pull request #3231 from spxtr/Pipes
...
Fix some bugs in Pipe input parsing
2015-11-05 20:31:03 +13:00
Scott Mansell
51c984dde3
Remove the "Show EFB Copy Regions" debug option.
...
It was only implemented in OpenGL, though the option was visible in both
backends, leading to memory leaks if you enabled it in DirectX.
And it wasn't particularly useful as a debug feature as it only showed
where in the EFB the copies were taken from, not what format it was, or
what the copy was used for, or what content was in the EFB at that point
in time.
Also, it stretched the copy regions relative to the window, so the
on-screen regions don't even line up with the window unless the game used
the full EFB (some pal games) and you game image stretched to the full
window.
2015-11-05 18:15:46 +13:00
Scott Mansell
ba7b7522be
BPStructs: add debug info for texture setup.
2015-11-05 00:13:25 +13:00
Scott Mansell
008386fc7f
Just a minor cleanup. Totally not the cause of random FifoCi failures.
...
This 'absolutely not' a read of uninitialized memory is '100% not'
the cause of our non-deterministic behavior on the Intel NUC.
If there was a such an error, it would show up on all FifoCi
backends equally. This is 'probably' unrelated to the fact that
the Intel NUC is the only fifoci runner not running under virtualization.
2015-11-04 23:23:35 +13:00
spxtr
4faf958fee
Fix some bugs in Pipe input parsing.
...
If there were two commands in the buffer at once, it would only run the
first because of an error in UpdateInput.
If you sent the command "SET C" it would segfault because of a logic
issue in ParseCommand.
2015-11-03 20:26:23 -08:00
Scott Mansell
05b06b7a21
Merge pull request #3227 from Tilka/sizeof
...
OGL: don't hardcode buffer sizes
2015-11-04 14:35:23 +13:00
Tillmann Karras
39313152ba
OGL: use StringFromFormat where appropriate
2015-11-04 01:56:02 +01:00
Scott Mansell
e161e714c7
Merge pull request #3226 from Tilka/shadergen
...
VideoCommon: return code/uid from shader gens
2015-11-04 13:42:49 +13:00
Lioncash
9cc4cffa1d
Merge pull request #3228 from Tilka/typedef
...
GLExtensions: remove duplicate typedefs
2015-11-03 19:24:10 -05:00
Tillmann Karras
bc38892db7
DriverDetails: remove BUG_BROKENINFOLOG leftovers
...
It was removed in 9618738278
.
2015-11-03 18:50:44 +01:00
Tillmann Karras
32cdd31200
GLExtensions: remove duplicate typedefs
2015-11-03 17:50:41 +01:00
Tillmann Karras
71d1eb3c31
VideoCommon: return code/uid from shader gens
...
rather than passing in non-const references
2015-11-03 14:40:23 +01:00
Ryan Houdek
c04358fbe2
Merge pull request #3222 from Tilka/vertexmanagerbase
...
VideoCommon: rename VertexManager to VertexManagerBase
2015-11-03 08:34:30 -05:00
comex
e602eac4f9
Synchronize DVDInterface::ChangeDisc with the CPU thread properly.
...
This addresses a bit of thread unsafety mentioned in a comment, and
fixes a 'ScheduleEvent_Threadsafe from main thread' message.
To make this work nicely, make PauseAndLock call DeclareAsCPUThread -
i.e. while you have the CPU thread locked, you can consider yourself the
CPU thread.
2015-11-03 12:42:05 +01:00
Markus Wick
3de1ec384a
Merge pull request #3223 from JosJuice/qt-international
...
DolphinQt: Add international flag to Resources
2015-11-03 10:24:36 +01:00
degasus
888c377b57
Throttler + Mixer: Configureable variance
2015-11-03 08:22:36 +01:00
Sintendo
c4b56f06f9
Fix a few typos
2015-11-02 21:17:43 +01:00
JosJuice
bef3feba6f
DolphinQt: Add international flag to Resources
...
It exists since 93e46631
.
2015-11-02 16:06:27 +01:00
Tillmann Karras
a656c05be2
VertexManagerBase: fix indentation
2015-11-02 11:53:54 +01:00
Tillmann Karras
c52c73f762
VideoCommon: VertexManager -> VertexManagerBase
...
It may be a bit weird to see calls to static functions in
VertexManagerBase now, but at least it's easier to see what's going on.
2015-11-02 11:53:54 +01:00
Pierre Bourdon
89f6451513
Merge pull request #3218 from Tilka/components
...
VideoCommon: flush vertex manager if components change
2015-11-02 11:41:43 +01:00
shuffle2
baf438fc9f
Merge pull request #3213 from phire/bitfield
...
Bitfield: Add .natvis for easier debugging of BitFields in Visual Studio
2015-11-01 23:06:21 -08:00
Scott Mansell
0245b1219b
Correct capitalization of 'Visual Studio'
2015-11-02 17:12:09 +13:00
Tillmann Karras
983978ee66
VideoCommon: flush vertex manager if components change
2015-11-01 22:39:31 +01:00
Pierre Bourdon
839dd2cd9d
Merge pull request #3219 from JosJuice/5.0-stable-fixes
...
Various fixes from the abandoned 5.0 stable
2015-11-01 21:09:18 +01:00
JosJuice
6dce8b4deb
DiscScrubber: Add another nullptr check
2015-11-01 20:30:49 +01:00
JosJuice
61c8ce2711
Fix GC software crashing at boot if no disc is inserted
...
Same fix as 0b44d7c
, plus a way to skip loading the apploader
just like EmulatedBS2_Wii has been able to do for a long time.
2015-11-01 20:29:48 +01:00
shuffle2
bfffd997cd
Update ucrtFreadWorkaround.cpp
2015-11-01 10:52:33 -08:00
Scott Mansell
2ccd5a5928
Bitfield: Add BSD license to match BitField.h
...
Also, fix typo.
2015-11-01 18:01:51 +13:00
Anthony Serna
013d55227b
[DolphinWX] Added warning to Wii disc compression
2015-10-31 12:08:14 -07:00
Pierre Bourdon
31f21057d9
DolphinWX: Remove the dolphin-emulator.com check.
...
This check is not useful anymore since that website is not running their own
buildbots anymore. It's also trivially bypassable -- it just happened to work
when the builds were fully automated over there.
2015-10-30 22:14:19 +01:00
Scott Mansell
f0e5232fe0
Bitfield: And then mess things up again by handling signed fields.
...
This is way more messy than it should be.
2015-10-30 14:05:14 +13:00
Scott Mansell
9125ab8304
BitField: Clean .natvis up slightly by using CDATA.
2015-10-30 14:04:40 +13:00
Scott Mansell
bfac1c73f0
Bitfield: Add .natvis for easier debugging in Visual Studio
2015-10-30 12:30:22 +13:00
Tillmann Karras
7066689131
ShaderCaches: remove unneeded typedefs
2015-10-29 14:43:05 +01:00
Tillmann Karras
f9512ece77
OGL/ProgramShaderCache: small cleanup
...
Drop an unused function and privatize the cash, er, I mean cache.
2015-10-29 13:51:25 +01:00
Scott Mansell
9154347f5b
Merge pull request #3187 from lioncash/accum
...
FifoAnalyzer: Replace loop with std::accumulate
2015-10-29 10:30:38 +13:00
Scott Mansell
1984416df4
Merge pull request #3186 from lioncash/dsp
...
DSPJitRegCache: Minor changes
2015-10-29 10:29:26 +13:00
JosJuice
6c25c63301
Limit size of loaded file systems
...
If a disc image is malformed in a specific way, Dolphin
will try to allocate a lot of memory, making it crash.
To avoid that, this change adds an artificial limit for
the size of file systems that Dolphin will try to load.
2015-10-28 21:47:19 +01:00
Lioncash
e76b1f2d56
Merge pull request #3170 from spxtr/pipes
...
Implemented GC Controller inputs via named pipes.
2015-10-28 16:39:57 -04:00
Scott Mansell
09b27e854c
Merge pull request #3201 from Tilka/swizzle
...
VertexLoaderX64: optimize more color swizzles
2015-10-29 09:39:09 +13:00
Scott Mansell
44a40642f3
Merge pull request #2704 from RisingFog/frameadvancehold
...
Add Frame Advance Hold Hotkey Functionality
2015-10-28 15:31:03 +13:00
Tillmann Karras
b0d5b4483e
VertexLoaderX64: optimize more color swizzles
...
Based on https://gist.github.com/rygorous/c5dba8c6c75bc83aa4ae , but with
a small tweak and a somewhat related change for the 565 case.
2015-10-25 14:51:07 +01:00
Scott Mansell
bd20dd3962
Merge pull request #3188 from lioncash/texcache
...
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow
2015-10-25 17:46:43 +13:00
Lioncash
7a6ff8a95b
DSPJitRegCache: Make the allocation array part of the DSPJitRegCache class
2015-10-24 23:36:18 -04:00
Lioncash
6b297ebcff
DSPRegCache: Class access level formatting
2015-10-24 23:32:12 -04:00
spxtr
d9d6cf8eda
GC controller input using named pipes
...
Currently only works on unix, but can be extended to other systems. Can
also be extended to do wiimotes.
Searches the Pipes folder for readable named pipes and creates a dolphin
input device out of them. Send controller inputs to the game by writing
to the file. Commands are described in Pipes.h.
2015-10-24 20:20:03 -07:00
Lioncash
fe10a20be1
Merge pull request #3195 from lioncash/android
...
Arm64Emitter: Minor changes
2015-10-24 12:06:53 -04:00
Sepalani
6b662280a9
MemoryCheckDlg: Fix event buttons
2015-10-23 20:37:29 +02:00
Scott Mansell
4c5c33c514
VertexShader: Remove 'special case' that has been disabled forever.
2015-10-23 19:02:51 +13:00
Lioncash
2630752ffe
Arm64Emitter: Get rid of a pointer cast
2015-10-22 15:32:11 -04:00
Lioncash
018c85c248
Arm64Emitter: Mark trivial functions as constexpr
2015-10-22 15:22:38 -04:00
Tillmann Karras
33784456a5
VertexLoaderTester: drop superfluous newlines
2015-10-22 16:31:02 +02:00
Tillmann Karras
2a58802c00
VertexLoaderManager: symbolize magic constant
2015-10-22 16:31:02 +02:00
Tillmann Karras
d80124ab59
VertexLoaderX64: optimize 4444 color conversion
...
https://gist.github.com/rygorous/75133a50c60f9243366e
2015-10-22 16:30:56 +02:00
Lioncash
c28e3affc5
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow
2015-10-22 08:14:43 -04:00
Lioncash
f696b323c0
WII_IPC_HLE: Remove unused typedef
2015-10-21 13:43:22 -04:00
Lioncash
10c1fd7f38
MathUtil: Make Rectangle constructors and equality operator constexpr
2015-10-20 20:30:36 -04:00
Lioncash
09641ec313
MathUtil: Default initialize Rectangle class data members
...
Puts Rectangles into a valid state upon creation
2015-10-20 20:30:16 -04:00
Lioncash
695ffefef7
FifoAnalyzer: Replace loop with std::accumulate
2015-10-19 10:29:00 -04:00
Markus Wick
dddc834c14
Merge pull request #3184 from mimimi085181/check-hash-on-partial-texture-updates
...
Check the hash before applying efb copies as partial texture updates
2015-10-19 09:44:24 +02:00
Scott Mansell
1ba600b688
Merge pull request #3145 from catzilla4/master
...
FreeBSD Compilation fix
2015-10-19 17:29:34 +13:00
mimimi085181
ff709247e2
Check the hashes of efb copies before applying them as partial texture updates
2015-10-18 16:36:38 +02:00
JosJuice
4d77d12f01
Remove length parameter from DiscScrubber::ReadFromVolume
...
The function only makes sense when the length is 4. All current callers
use the length 4, so this change doesn't affect any behavior.
2015-10-18 09:24:31 +02:00
Scott Mansell
2be909849b
Merge pull request #3180 from phire/fix-gles
...
Make sure FORCE_EARLY_Z is defined for GLES
2015-10-18 14:58:22 +13:00
flacs
15131575c1
Merge pull request #3183 from JosJuice/discscrubber-getdolsize
...
Remove DiscScrubber::GetDOLSize in favor of IFileSystem::GetBootDOLSize
2015-10-18 01:05:09 +02:00
JosJuice
618ccf6109
Remove DiscScrubber::GetDOLSize in favor of IFileSystem::GetBootDOLSize
...
IFileSystem::GetBootDOLSize acts the same. The only difference is that it
reads the DOL offset on its own, but this change makes that optional.
2015-10-17 20:52:26 +02:00
JosJuice
1ec9c6393a
Don't reserve space for directories when scrubbing
...
The offset in a directory FileInfo is an FST offset, not a disc offset.
Treating it as a disc offset doesn't make sense. Directories don't take
up space outside of the FST, so they don't need to be marked as used. The
old behavior may have prevented some scrubbable areas from being scrubbed.
2015-10-17 17:30:23 +02:00
Scott Mansell
9ee610830c
Make sure FORCE_EARLY_Z is defined for GLES
2015-10-18 02:37:14 +13:00
Scott Mansell
8b1138943d
Merge pull request #3179 from phire/mesa-early-z
...
Support Conservative Depth as a fallback for Early Z (Mesa support for ZCompLoc)
2015-10-18 02:14:52 +13:00
Scott Mansell
e7b2a22225
Support Conservative Depth as a fallback for EarlyZ
...
Allows Mesa based drivers to support ZCompLoc
2015-10-18 01:46:54 +13:00
shuffle2
34d46d6910
Merge pull request #3178 from shuffle2/ucrt-fread-workaround
...
patch win7 ucrtbase, and note versions
2015-10-17 05:02:18 -07:00
shuffle2
0acac35d77
patch win7 ucrtbase, and note versions
2015-10-17 04:24:20 -07:00
Markus Wick
4d3d947efc
Merge pull request #3157 from degasus/videosw3
...
VideoSW: Wipe alpha on bypass EFB
2015-10-17 12:02:55 +02:00
Scott Mansell
ac8976689b
Merge pull request #3177 from Tilka/fix_warnings
...
PixelShaderGen: silence -Wformat-security warnings
2015-10-17 17:44:29 +13:00
flacs
e289cb87e5
Merge pull request #3161 from shuffle2/ucrt-fread-workaround
...
exchange XSaveWorkaround for ucrtFreadWorkaround
2015-10-17 05:41:40 +02:00
Shawn Hoffman
ca31c62c01
exchange XSaveWorkaround (which was fixed in VS2015) for ucrtFreadWorkaround (which was broken in VS2015).
2015-10-16 20:26:34 -07:00
flacs
63b08618c2
Merge pull request #3174 from ShadowsFriend/generic_build_fix
...
VideoCommon: Add includes for generic build
2015-10-17 05:08:30 +02:00
flacs
dc096d2fe5
Merge pull request #3176 from lioncash/namespace
...
Core: Move a global into a namespace
2015-10-17 05:07:55 +02:00
Tillmann Karras
1df455bd13
PixelShaderGen: silence -Wformat-security warnings
2015-10-17 05:05:50 +02:00
flacs
d85344bd58
Merge pull request #3155 from degasus/videosw
...
VideoSW: Split up OGL window handling
2015-10-17 04:56:44 +02:00
Lioncash
c756025902
Core: Move a global into a namespace
2015-10-16 22:52:41 -04:00
Ilia Mirkin
2fc2b82963
VideoCommon: teach gcc to type-check the arguments fed to Write()
...
Note that the "this" implicit argument counts as 1, which is why all the
printf arguments are shifted over one.
2015-10-16 18:20:37 -04:00
Ilia Mirkin
5380fd9dba
VideoCommon: fix variable types fed to Write() function
2015-10-16 18:20:36 -04:00
Christian Widmer
252a3d16c2
VideoCommon: Add includes for generic build
...
On x86_64 and arm64 builds Common/MsgHandler.h and Common/Logging/Log.h are
indirectly included through the corresponding VertexLoaders, Emitters
and lastly Assert.h. Because the generic build does not build a vertex
loader JIT it does not include those and fails at compile time.
Thanks to HdkR and mibofra!
2015-10-16 20:18:27 +02:00
Lioncash
1b3307043b
DSPHLE: Remove duplicated struct
...
This is already present in the DSPHLE class directly
2015-10-16 13:02:21 -04:00
flacs
05e339a605
Merge pull request #3139 from JosJuice/fix-wii-root
...
Mark which Wii root to use in the NAND path code
2015-10-16 16:49:34 +02:00
Markus Wick
d12b026ecb
Merge pull request #3165 from mimimi085181/partial-texture-updates-same-offset
...
Do not try to load strided efb copies or ones with wrong dimensions
2015-10-16 10:02:36 +02:00
comex
c22d1d68ab
Mark which Wii root to use in the NAND path code.
...
It's used by both the GUI to do things like install WADs and check up on
the system menu, in which case the global root should be used, and by
/dev/es, in which case the local one should. The latter isn't
*terribly* useful today, since no contents will ever be installed in
temporary roots (although it's still relevant for data directories), but
converting the whole thing makes sense because then it will Just Work
once the entire NAND is synced.
Because it would have been a bit of work to split it up (but I can if
desired), this commit also contains some basic cleanup of
NANDContentLoader:
(1) The useless interface class INANDContentLoader is removed and the
methods are changed to just return CNANDContentLoader (the only
implementation);
(2) CNANDContentManager is changed to use unique_ptr and cleaned up a
bit.
2015-10-16 09:10:39 +02:00
flacs
0d0704453e
Merge pull request #3070 from lioncash/vert
...
VertexShaderManager: Get rid of float pointer casts.
2015-10-16 05:48:27 +02:00
flacs
e57f1796b5
Merge pull request #3114 from lioncash/ui
...
ControllerConfigDiag: Amend button sizing issues on hi-DPI displays
2015-10-16 05:48:07 +02:00
Lioncash
419fed3952
VertexShaderManager: Get rid of other magic constants
2015-10-15 23:41:42 -04:00
Lioncash
b5b304cff2
VertexShaderManager: Get rid of float pointer casts
2015-10-15 23:34:54 -04:00
Lioncash
03986c6fad
UCodes: Simplify ExramRead
2015-10-15 22:48:22 -04:00
Lioncash
c420c52308
UCodes: Get rid of pointer casts
2015-10-15 22:45:03 -04:00
mimimi085181
af28934703
Do not delete strided efb copies on load
...
This hopefully allows to use partial texture updates with strided efb copies that start at the same offset as the loaded texture
2015-10-15 00:45:55 +02:00
degasus
b69bff0690
VideoSW: Use OpenGL Core context
2015-10-14 00:13:54 +02:00
degasus
61c3a0d9e4
VideoSW: Split up OGL window handling
...
This removes OSD support for video software, but it was already broken before.
This commit does not try to fix coding style issues, the rewrite of this presentation API is splitted up.
2015-10-14 00:13:54 +02:00
flacs
b0bbe52cc9
Merge pull request #3164 from phire/samplerArrays
...
PixelShaderGen: Use arrays of texture samplers.
2015-10-12 18:44:14 +02:00
flacs
97fbbecdc4
Merge pull request #3168 from Tilka/miniupnpc
...
CMake: simplify FindMiniupnpc.cmake
2015-10-12 14:32:57 +02:00
flacs
4c3dc0c1ae
Merge pull request #3047 from Tilka/decompress_for_md5
...
DolphinWX: decompress discs to calculate MD5 hash
2015-10-12 05:21:34 +02:00
flacs
4467c762d7
Merge pull request #3166 from Tilka/wiimote_state
...
Wiimote: simplify DoState() parameters
2015-10-12 05:21:21 +02:00
Tillmann Karras
00aefa5e08
DolphinWX: decompress discs to calculate MD5 hash
2015-10-12 02:35:43 +02:00
Tillmann Karras
efe71e686b
DiscIO: implement CISOBlob::GetDataSize()
...
This is a best-effort approach, since the CISO format does not save the
original file size.
2015-10-12 02:33:38 +02:00
Tillmann Karras
1a8e2e16e3
DiscIO: implement WbfsBlob::GetDataSize()
2015-10-12 02:33:04 +02:00
Tillmann Karras
a92b4bda95
DiscIO: fix reading the last sector in WBFS
...
Instead of rounding down, round up.
2015-10-12 02:31:51 +02:00
Tillmann Karras
3a2efc9f4f
DiscIO: merge initial WBFS reads
2015-10-12 02:31:51 +02:00
Tillmann Karras
f416106eec
DiscIO: pre-swap WLBA
2015-10-12 02:31:51 +02:00
Tillmann Karras
b1100e4aa0
DiscIO: use std::min() in WBFS
2015-10-12 02:31:51 +02:00
Tillmann Karras
4eace2b49e
CMake: simplify FindMiniupnpc.cmake
...
miniupnpc.h provides MINIUPNPC_API_VERSION since 1.7 and we require 1.7
or later, so there is no reason to have version detection code for older
versions.
2015-10-12 02:26:35 +02:00
Tillmann Karras
9f8981c7c0
VertexLoaderUtils: remove simple wrapper functions
2015-10-11 23:40:50 +02:00
Tillmann Karras
ae999cb43c
Wiimote: simplify DoState() parameters
2015-10-11 23:37:34 +02:00
Scott Mansell
645e4cbbee
PixelShaderGen: Use arrays of texture samplers.
2015-10-12 05:06:39 +13:00
Christian Widmer
b99d1a0a20
Fix OProfile discovery and drop bfd dependency
...
Adds a cmake module to correctly discover OProfile and adjusts the
corresponding CMakeLists to make use of it. Additionally removes
linking against the bfd library when compiling with OProfile because
Dolphin does not use it.
2015-10-11 16:27:03 +02:00
flacs
c4fe2cd287
Merge pull request #3147 from ShadowsFriend/qtinstall_fix
...
DolphinQt: Install binary for systems not matching APPLE
2015-10-11 15:54:02 +02:00
flacs
94d20131bb
Merge pull request #3151 from ShadowsFriend/memtools_unistd
...
Include unistd.h in memtools.cpp to fix nopch
2015-10-11 15:52:40 +02:00
flacs
e389a3cafe
Merge pull request #3131 from delroth/fifo-pad
...
FifoDataFile: Revert PadFile changes from 4.0-1127.
2015-10-11 15:50:24 +02:00
flacs
a7b6ae8f2c
Merge pull request #3160 from Tilka/style
...
Misc. style fixes
2015-10-11 15:36:06 +02:00
flacs
f3c88137e7
Merge pull request #2798 from lioncash/search
...
Debugger: Use wxSearchCtrls instead of wxTextCtrl for address searching.
2015-10-11 15:29:59 +02:00
flacs
fe164e3a90
Merge pull request #3137 from lioncash/namespace
...
StreamADPCM: Convert into a namespace
2015-10-11 15:27:45 +02:00
flacs
a9d6448777
Merge pull request #3150 from lioncash/iter
...
NANDContentLoader: Replace a string rbegin() call with a back() call
2015-10-11 15:26:51 +02:00
Christian Widmer
3fdaf377b0
DolphinWX: Add a filename column
2015-10-11 05:29:01 +02:00
Christian Widmer
4d78aea41d
DolphinWX: Add items to visible columns only
...
Before the columns of the gamelist were filled with content regardless
of their visibility. This led to display bugs when certain columns, for
example the region column, were hidden.
The first problem was the InsertItemInReportView() function because it
refilled all columns with content on every call to update() without
checking for their visibility. While this issue would have easily been solved
by adding conditionals before each column update, the maker column would
have still caused problems for it autohides on resize and those do not
call update(). Therefore it was necessary to move the column update logic
from InsertItemInReportView() to a new one that allows for seperate
modification of an item's columns.
2015-10-11 05:01:59 +02:00
Admiral H. Curtiss
1772eeb32f
State.cpp: Extract the savestate version logic into its own function for clarity.
2015-10-11 03:21:44 +02:00
Tillmann Karras
99228633c3
OGL: simplify AA modes initialization
2015-10-10 22:51:31 +02:00
Admiral H. Curtiss
429f4ea158
SaveState/DolphinWX: Display time and date of savestate next to the load/save/select slot menu options.
2015-10-10 22:20:05 +02:00
Admiral H. Curtiss
16272f4975
SaveState/DolphinWX: Display time and date of savestate when a slot is selected, or Empty if no savestate exists in the slot.
2015-10-10 22:14:22 +02:00
Tillmann Karras
0f1b287402
Misc. style fixes
2015-10-10 17:44:42 +02:00
Tillmann Karras
19a490a82d
Linux: detect perf and default map dir to /tmp
...
This obviously only works when Dolphin is run by perf rather than being
started separately.
2015-10-10 16:42:53 +02:00
degasus
d4e447555e
VideoSW: Wipe alpha on bypass EFB
...
Alpha must not be displayed.
2015-10-10 11:45:39 +02:00
Christian Widmer
5fbf8f561b
Use CRC32 for IPL checks and update hashes
...
This changes the hashing algorithm from Adler32 to CRC32 for it
is more widely used and therefore makes it easier to verify hashes.
For example the Redump database does provide CRC32 hashes, while it
doesn't have Adler32 ones.
Additionally adds new hashes from the bugtracker and the forums and
removes unknown ones.
2015-10-09 14:36:30 +02:00
Christian Widmer
1dd4c93f0c
DolphinQt: Install binary for systems not matching APPLE
2015-10-09 11:11:41 +02:00
Christian Widmer
6eb6fa9bf8
Include unistd.h in memtools.cpp to fix nopch
...
Fixes falling back to generic on non-windows builds with PCH disabled
leading to runtime crashes and the pagefault test failing. Thanks to
HdkR!
2015-10-09 11:08:17 +02:00
Lioncash
737de5e115
StreamADPCM: Convert into a namespace
...
No need to have a class with only static member functions
2015-10-08 19:46:55 -04:00
Lioncash
66a576548c
ConfigManager: Get rid of an unnecessary smart-pointer get() call
2015-10-08 19:36:28 -04:00
Scott Mansell
71d7cd6b9d
DolphinWX: Make UpdateLog() return in a finite time.
...
After fixing the deadlock in #3006 , it is now possible for log
messages to flood in faster than UpdateLog can render them.
This causes it to never return, locking up the gui thread and
filling the windows message queue (which triggers the stack
overflow bug in older versions of Wx)
2015-10-09 12:14:04 +13:00
Lioncash
307ef88af6
DSPEmitter: Rename Default() to FallBackToInterpreter()
2015-10-08 12:45:14 -04:00
Lioncash
5f181957b3
NANDContentLoader: Replace a string rbegin() call with a back() call
2015-10-07 09:47:26 -04:00
catzilla4
867a1beb9f
Added some headers to allow Dolphin to compile in my environment.
2015-10-06 19:09:57 -05:00
shuffle2
ec28d7df92
Merge pull request #3144 from lioncash/dsp
...
DSPIntCCUtil: Minor changes
2015-10-06 13:03:11 -07:00
shuffle2
1c97da4942
Merge pull request #3132 from sepalani/fix_mbedtls
...
mbedTLS: fix blocking read
2015-10-06 13:01:57 -07:00
Christian Widmer
1fc1f00162
Include cstring in Hash.cpp to fix building without PCH
2015-10-06 14:59:56 +02:00
Lioncash
f53d060d70
DSPIntCCUtil: Remove unused function GetMultiplyModifier
2015-10-05 19:40:11 -04:00
Lioncash
1a989985c1
DSPIntCCUtil: Mark translation local functions as static
2015-10-05 19:39:09 -04:00
Sepalani
8efd5d1a74
WSAGetLastError: fix return value
2015-10-06 00:15:20 +02:00
Chris Burgener
5edb2bfea1
Fix wxWidgets Error in About Window
2015-10-05 13:36:53 -04:00
shuffle2
3b1375f78c
Merge pull request #3134 from lioncash/namespace
...
CPU: Convert CCPU into a namespace
2015-10-04 14:22:50 -07:00
shuffle2
55ea9e77e6
Merge pull request #3135 from lioncash/dsp
...
DSPCore: Convert defines over to enums
2015-10-04 14:22:02 -07:00
shuffle2
552c1f51d8
Merge pull request #3068 from mickdermack/pr-block-input
...
Block WX input when detecting controls
2015-10-04 14:19:44 -07:00
Lioncash
b730ad4406
DSPCore: Convert defines over to enums
2015-10-04 16:42:30 -04:00
Lioncash
ef1cc2cec4
CPU: Convert CCPU into a namespace
...
There's not much point to a class with only static member functions.
2015-10-04 15:15:10 -04:00
Lioncash
ba0a3c520b
EXI_DeviceAGP: Remove unnecessary headers
2015-10-04 13:13:32 -04:00
Fog
471c835546
Add Frame Advance Hold Hotkey Functionality
2015-10-04 12:14:36 -04:00
Michael Ehrenreich
b4411bd2ef
Block WX input when detecting controls
2015-10-04 14:50:28 +02:00
Pierre Bourdon
a2b3cdc393
FifoDataFile: Revert PadFile changes from 4.0-1127.
...
Fixes #9006 .
2015-10-04 13:53:01 +02:00
Sepalani
5be64d39b0
mbedTLS: fix blocking read
2015-10-04 12:24:25 +02:00
shuffle2
6d4128ddcc
Merge pull request #3128 from lioncash/unique
...
ControllerEmu: Use make_unique over raw new
2015-10-03 19:08:00 -07:00
shuffle2
569d25d9b4
Merge pull request #3129 from lioncash/mailbox
...
DSPHWInterface: Use an enum for indicating mailbox type
2015-10-03 19:04:35 -07:00
shuffle2
eb07038723
Merge pull request #3130 from rohit-n/sign-compare
...
VideoCommon: Silence -Wsign-compare warnings.
2015-10-03 18:49:38 -07:00
Rohit Nirmal
18f0831861
VideoCommon: Silence -Wsign-compare warnings.
2015-10-03 20:32:16 -05:00
shuffle2
0fdaacc7e0
Merge pull request #2738 from lioncash/bitfield
...
Common: Fix BitField mask generation.
2015-10-03 18:21:24 -07:00
shuffle2
81414b4fa2
Merge pull request #3076 from void-ghost/stereo3d_presets
...
Stereo3d presets
2015-10-03 18:10:23 -07:00
shuffle2
b926061f64
Merge pull request #3095 from void-ghost/savestate_race_condition_fix
...
SaveState: Fix for race condition in SaveAs(...)
2015-10-03 18:08:33 -07:00
shuffle2
4fb90bf9f6
Merge pull request #3115 from lioncash/ifx
...
DSPCore: Minor changes
2015-10-03 18:03:26 -07:00
shuffle2
06379cc3a0
Merge pull request #3113 from lioncash/input
...
InputCommon: Get rid of multiple identical define macros
2015-10-03 18:01:36 -07:00
shuffle2
a6f04b0e15
Merge pull request #3091 from Tilka/mbedtls
...
Update mbed TLS (PolarSSL)
2015-10-03 18:00:58 -07:00
shuffle2
8bb35c8588
Merge pull request #3083 from JosJuice/ipc-ticks
...
Use correct GetTicksPerSecond() value in IPC delays
2015-10-03 17:56:57 -07:00
shuffle2
9878004871
Merge pull request #3105 from phire/dont_block
...
ALSA: Don't block on Clear() call.
2015-10-03 17:55:26 -07:00
shuffle2
f5c88fc1a9
Merge pull request #3125 from JosJuice/di-callback-pointer
...
Simplify getting DI pointer in IOCtl callback
2015-10-03 17:52:58 -07:00
shuffle2
b4be34bc68
Merge pull request #3124 from dolphin-emu/shuffle2-patch-1
...
Fix WiiSockMan::DecodeError
2015-10-03 14:59:20 -07:00
Lioncash
9c73d63d40
DSPHWInterface: Use an enum for indicating mailbox type
2015-10-03 17:53:24 -04:00
Lioncash
fa05710f2f
ControllerEmu: Use make_unique over raw new
2015-10-03 15:37:25 -04:00
Lioncash
5464e698fc
Merge pull request #3102 from rohit-n/build-pch
...
Fix building with PCH disabled.
2015-10-03 13:30:51 -04:00
Scott Mansell
f84577b90b
LogManager: Move android logcat code into the proper place.
2015-10-04 02:18:06 +13:00
Scott Mansell
5f8a67250f
Bitset: Make bool() operator explicit.
2015-10-04 01:37:32 +13:00
Scott Mansell
18142eddb4
LogManager: Remove unused define.
2015-10-04 00:38:47 +13:00
Scott Mansell
6153424b8c
LogManager: replace set of LogListener pointers with bitset.
...
Mostly so we can iterate over which LogListeners are enabled without
having to aquire a lock.
2015-10-04 00:38:34 +13:00
Scott Mansell
83fa504cd9
Bitset: Make cast overrides const
2015-10-04 00:36:58 +13:00
JosJuice
bf2676a1b1
Simplify getting DI pointer in IOCtl callback
...
Gets rid of an odd code construct, and fixes the "Trying to run two DI
devices at once" ERROR_LOG appearing at the wrong times.
2015-10-03 11:35:29 +02:00
shuffle2
f33fae574f
Fix WiiSockMan::DecodeError
2015-10-03 01:56:42 -07:00
Scott Mansell
a10a3ecbac
ALSA: Don't block on Clear() call.
...
snd_pcm_writei() is meant to block block until all samples are written,
but apparently in some situations it can block for much longer, prehaps
even a infinite time, in the case of virtual machine FifoCI runs in.
Because it grabed a mutex before blocking, it could also block the
Clear() call for an infinite length of time, blocking dolphin's emu
thread.
snd_pcm_writei() also takes 10-15 seconds if you run dolphin under GDB
and can randomly take 5 or so seconds during normal usage.
By moving all the pause code to the ALSA thread, Clear() no-longer
blocks and everyone keeps their sanity.
2015-10-03 16:31:55 +13:00
flacs
6658d21215
Merge pull request #3121 from lioncash/pch
...
pch: Update MSVC version check
2015-10-03 05:21:17 +02:00
Scott Mansell
f1a43dc6d4
Merge pull request #3118 from lioncash/junk
...
WiimoteEmu: Get rid of an unused clamp function
2015-10-03 16:21:00 +13:00
Scott Mansell
bcee41b65d
Merge pull request #3123 from lioncash/null
...
Core: Replace 0 literals with nullptr
2015-10-03 16:19:46 +13:00
Rohit Nirmal
6001366aac
Alsa: Silence -Wsign-compare warning.
2015-10-02 21:10:06 -05:00
Lioncash
0f6c4653a4
Core: Replace 0 literals with nullptr
2015-10-02 22:06:17 -04:00
Lioncash
aeee5be5ef
pch: Update MSVC version check
2015-10-02 20:51:23 -04:00
Lioncash
a30681834c
InputCommon: Use NSNumber numeric literals in Obj-C code
2015-10-02 13:23:46 -04:00
Lioncash
5d8e422d82
WiimoteEmu: Get rid of an unused clamp function
2015-10-02 10:33:29 -04:00
Lioncash
75907d83c6
DSPCore: Get rid of division for determining array size in VerifyRoms
2015-10-01 11:49:30 -04:00
Lioncash
73f312863d
DSPCore: Compress common fill loops into std::fill
2015-10-01 11:23:01 -04:00
Scott Mansell
58d893e56f
Merge pull request #3075 from waddlesplash/no-regexp
...
FileSearch: Don't use RegExes, just do string comparisons.
2015-10-02 04:00:23 +13:00
Lioncash
ccc3cd884e
DSPCore: Use std::array to represent ifx_regs
2015-10-01 10:26:16 -04:00
Lioncash
7f9cb1b6a8
ControllerConfigDiag: Remove superfluous arguments
2015-10-01 09:37:48 -04:00
Lioncash
b3da7e81bd
ControllerConfigDiag: Amend button sizing issues
2015-10-01 09:34:32 -04:00
Lioncash
449c57a8e0
InputCommon: Get rid of multiple identical define macros
2015-10-01 08:45:22 -04:00
flacs
696d6eae09
Merge pull request #3108 from lioncash/cstyle-array
...
ChunkFile: Provide additional helpers for C-style arrays
2015-10-01 01:55:54 +02:00
Lioncash
a10be26972
Tev: Don't savestate Zero16
...
It's an array of zeroes. There's no need.
2015-09-30 19:45:50 -04:00
Lioncash
c6678687b0
ChunkFile: Provide additional helpers for C-style arrays
...
Gets rid of magic numbers in cases where the array size is known at compile time.
This is also useful for future entries that are stack allocated arrays as these
functions prevent incorrect sizes being provided.
2015-09-30 19:45:46 -04:00
flacs
6305437327
Merge pull request #3110 from booto/alsa-buffer-type
...
AlsaSound: fix buffer type, clean up macros
2015-10-01 00:01:26 +02:00
Lioncash
473188a2c3
WII_IPC_HLE_Device_fs: Get rid of a pointer cast
2015-09-30 16:04:53 -04:00
JosJuice
dec142cd00
DolphinWX: Respect aspect ratio of banners
2015-09-30 21:31:20 +02:00
JosJuice
7fdfea5a69
DolphinWX: Don't use nearest neighbor scaling for banners
...
* Makes HBC icons look better
* Fixes the issue with white dots appearing in downscaled images
* No longer subjectively better for GC banners according to comex
2015-09-30 21:30:06 +02:00
Ryan Houdek
0764971feb
Merge pull request #3109 from OrdinaryMagician/miniupnpc14
...
Update to support miniupnpc 1.9 API version 14
2015-09-30 11:08:58 -04:00
Marisa Kirisame
8c5744bca7
miniupnpc API version 14 changed the upnpDiscover functions, adding an argument for TTL (should default to 2)
...
this enables support for that should the build system have that specific version installed, the miniupnpc bundled in the project is unchanged
2015-09-30 16:50:58 +02:00
Ryan Houdek
ebf2420c6b
Merge pull request #3057 from booto/finicky-vert-beam-position
...
VI: Fix vert beam position inaccuracy
2015-09-30 08:26:31 -04:00
booto
6c28ea58ab
AlsaSound: fix buffer type, clean up macros
2015-09-30 19:14:03 +08:00
flacs
16957fcaec
Merge pull request #3107 from lioncash/pragma
...
TextureDecoder_x64: Remove now-unnecessary clang #pragma warning suppression
2015-09-29 19:53:12 +02:00
booto
ea6af0e98b
VI: Fix vert beam position inaccuracy
2015-09-30 00:21:33 +08:00
Lioncash
50a7390622
TextureDecoder_x64: Remove unnecessary commented out header
2015-09-29 11:04:00 -04:00
Lioncash
80c7e3ebc0
TextureDecoder_x64: Remove clang warning suppression
...
This was an issue two years ago on clang 3.3
2015-09-29 11:00:59 -04:00
Lioncash
d6ff75d71d
OGL: Remove unnecesary FPSCounter include from Render.cpp
2015-09-29 10:01:38 -04:00
Lioncash
4a981e3a04
FPSCounter: Change Update's return type to void
...
Its returned value is never used.
2015-09-29 10:01:37 -04:00
Lioncash
55c7754738
FPSCounter: Give the refresh interval a concrete type
2015-09-29 10:01:37 -04:00
Lioncash
e82b6a8532
FPSCounter: Direct initialize class members
2015-09-29 10:01:37 -04:00
Lioncash
bf23fcfc1f
FPSCounter: Don't provide direct access to m_fps
2015-09-29 09:43:03 -04:00
Tillmann Karras
2f6f30a939
Fix -Wuninitialized warnings
2015-09-29 04:27:27 +02:00
flacs
43e60073d1
Merge pull request #3100 from lioncash/printf
...
Get rid of some casts used with logging for size_t
2015-09-29 03:50:48 +02:00
flacs
d5ec7124e4
Merge pull request #3099 from lioncash/banner
...
VolumeGC: Get rid of banner pointer casts
2015-09-29 03:49:08 +02:00
flacs
aaa48e19fe
Merge pull request #3097 from JosJuice/blob-type
...
Fix blob type detection for game right-click menu
2015-09-29 03:46:29 +02:00
Rohit Nirmal
3b75f45cf6
Fix building with PCH disabled.
2015-09-28 11:51:08 -05:00
Lioncash
311c76647d
Get rid of some casts used with logging for size_t
...
Replaces them with the now-valid %z specifiers
2015-09-28 08:43:53 -04:00
Lioncash
7317dd4be2
VolumeGC: Get rid of banner pointer casts
...
Prefer reading the data into the reified struct instead.
2015-09-28 04:31:43 -04:00
shuffle2
2cb5c41fed
HostGetString: Actually fill a string with data
2015-09-28 05:40:52 +02:00
Matthew Parlane
ba96ca289d
Merge pull request #3034 from waddlesplash/new-qt
...
QtCompile.props: Update for Qt 5.5.
2015-09-28 15:17:17 +13:00
JosJuice
21cb13828c
Fix blob type detection for game right-click menu
...
I forgot to update it after changing how IsCompressed() works.
Also, checking file name extensions is a bad way of checking blob types.
2015-09-27 21:06:19 +02:00
JosJuice
be7e0554d2
DiscIO: Add a way to get blob type
2015-09-27 20:54:31 +02:00
ghost
cd19d5392e
SaveState: Fix for race condition ("wait" didn't actually waited for file to flush/close).
...
g_compressAndDumpStateSyncEvent was Set() before destruction of file object (i.e. before flushing changes and closing file).
Also, adds Common::ScopeGuard wrapper for RAII.
2015-09-27 21:40:32 +03:00
waddlesplash
06c6f60f5b
OGL: Use SplitPath() instead of std::regex.
2015-09-27 13:26:19 -04:00
waddlesplash
5643fe5d1f
FileSearch: Don't use RegExs, just do string comparisons.
...
Nothing used the RegEx feature of FileSearch, and GCC < 4.9
doesn't support C++11 RegEx properly, so get rid of it.
2015-09-27 13:25:51 -04:00
Scott Mansell
ce493b897d
Merge pull request #2271 from revel8n/fixes
...
Fix for alignment of zero-length files within directory based virtual disk
2015-09-28 05:28:38 +13:00
Scott Mansell
be3851b72e
Merge pull request #3090 from LPFaint99/gcifolder
...
GCI Folder: Skip 'header-only' writes
2015-09-28 05:26:12 +13:00
Scott Mansell
af327aec79
Merge pull request #3036 from mimimi085181/hash-respecting-stride
...
Respect the stride for efb copies when hashing them
2015-09-28 05:23:55 +13:00
Scott Mansell
4817118028
Merge pull request #3084 from JosJuice/cpu-core-clock
...
SystemTimers: Don't name non-constant variables as if they are constant
2015-09-28 05:22:54 +13:00
flacs
34c020352f
Merge pull request #3092 from JosJuice/compressed-blobs
...
Display all compressed formats in blue in GUI
2015-09-27 12:57:19 +02:00
Lioncash
457a398c33
MemoryWindow: Adjust control alignment
...
Aligns controls so that their widths remain the same with one another
2015-09-26 22:46:57 -04:00
Lioncash
5aa19ad051
MemoryWindow: Change the address search wxTextCtrl into a wxSearchCtrl
2015-09-26 22:46:53 -04:00
Lioncash
7ba171a497
CodeWindow: Ignore search error highlighting on empty string
...
Doesn't make sense to flag these as errors, since someone might search for another address.
2015-09-26 22:38:08 -04:00
Lioncash
6866373202
CodeWindow: Replace wxStaticText/wxTextCtrl combo with a wxSearchCtrl
...
Same thing, one control.
2015-09-26 22:38:07 -04:00
flacs
8ea9b07b59
Merge pull request #3093 from lioncash/header_shuffle
...
Common: Trim Common.h
2015-09-27 03:18:03 +02:00
revel8n
d4c2ca46a4
- Fix for alignment of 0-length files when volume directory is created from directory on disk
...
Updating constant value representation
Explicitly state data type in std:max usage
2015-09-26 18:29:29 -05:00
Lioncash
cc036ca86c
Common: Remove other Common prefixed headers from Common.h
2015-09-26 18:51:58 -04:00
Lioncash
19ac565e0d
Common: Move asserts to their own header
2015-09-26 18:51:27 -04:00