summaryrefslogtreecommitdiff
path: root/Source/Core/Common
AgeCommit message (Collapse)Author
2016-07-01Jit: Remove unsafe MOV optimizationhthh
This optimization broke arithXex in rare cases by emitting XOR where MOV was expected.
2016-06-30Merge pull request #3967 from JosJuice/remove-boomyPierre Bourdon
Remove Boomy
2016-06-30Fall back to default theme when the configured theme doesn't existJosJuice
2016-06-27Add MOV optimization and MOV_sumMatt Mastracci
Replaces incarnations of the A=B+C pattern throughout the code so we can apply optimizations consistently.
2016-06-27Refactor fastmem/trampoline code.Matt Mastracci
Simplication to avoid reading back the generated instructions, allowing us to handle all possible cases.
2016-06-26Get rid of #define PAGE_MASK and round_page, which conflict with OS X headerscomex
2016-06-26Merge pull request #3942 from comex/osx-build-fixMat M
Fix in-tree build (cmake .) on OS X.
2016-06-25Fix in-tree build (cmake .) on OS X.comex
OS X uses a case insensitive filesystem by default: when I try to build, a system header does #include <assert.h>, which picks up Source/Core/Common/Assert.h. This only happens because CMakeLists adds '${PROJECT_BINARY_DIR}/Source/Core/Common' as an include directory: in an out-of-tree build, that directory contains no other source files, but in an in-tree build PROJECT_BINARY_DIR is just the source root. This is only used for scmrev.h. Change the include directory to '${PROJECT_BINARY_DIR}/Source/Core' and the include to "Common/scmrev.h", which is more consistent with normal headers anyway.
2016-06-26Merge pull request #3931 from dhustkoder/masterMatthew Parlane
constexpr added to BitSet.h. conflicts solved
2016-06-26Merge pull request #3933 from delroth/fixed-size-queueMatthew Parlane
FixedSizeQueue: modernize (std::array, std::move)
2016-06-25FixedSizeQueue: modernize (std::array, std::move)Pierre Bourdon
2016-06-26GCVolume: supports reading all opening.bnr informationRukai
DQT2: Game properties dialog contains info tab giving information about the selected iso.
2016-06-25constexpr added to BitSet.h. conflicts solveddhust
2016-06-24Further fixes to the formatting change. WX sucks.Pierre Bourdon
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-06-22Merge pull request #3904 from dhustkoder/masterChris Burgener
_DEFAULT_SOURCE flag added, and clang check version for IsTriviallyCopyable m…
2016-06-19_DEFAULT_SOURCE flag added, and clang check for IsTriviallyCopyable macrodhust
fix clang ver check for 4.0 + using clang macro __has_feature __GLIBCXX__ check added fix __has_feature
2016-06-19analytics: Disable ALPN only on Windows.Pierre Bourdon
2016-06-19Add an Analytics reporting system.Pierre Bourdon
Fully opt-in, reports to analytics.dolphin-emu.org over SSL. Collects system information and settings at Dolphin start time and game start time. UI not implemented yet, so users are required to opt in through config editing.
2016-06-18scmrev: Add "distributor" option.Pierre Bourdon
Used to distinguish between Dolphin distributions (e.g. "dolphin-emu.org", "Ishiiruka", etc.).
2016-06-18StringUtil: Add a HexDump function.Pierre Bourdon
Generates a string like the following from a binary blob: 000000: 00 00 04 74 79 70 65 00 09 61 70 70 2d 73 74 61 ...type..app-sta 000010: 72 74 rt
2016-05-29EGL: specify version firstKarol Herbst
allthough this is a mesa bug, this is a simple enough workaround for context creation fails with EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR set. Otherwise dolphin will fail to create 3.3+ core context with current mesa version
2016-05-25Fix builds when using newest version of NDKsigmabeta
2016-05-22Merge pull request #3794 from EmptyChaos/frame-advance-raceMat M
Core: Add synchronization to state changes (Fix Frame Step and FIFO Player - Issue 8718)
2016-05-18GLExtensions: Fix OpenGL ES 3.2 handling.degasus
2016-05-13Core/Movie: Add ability to run code in Host contextEmptyChaos
EndPlayInput runs on the CPU thread so it can't directly call UpdateWantDeterminism. PlayController also tries to ChangeDisc from the CPU Thread which is also invalid. It now just pauses execution and posts a request to the Host to fix it instead. The Core itself also did dodgy things like PauseAndLock-ing from the CPU Thread and SetState from EmuThread which have been removed.
2016-05-13Core: Threadsafety Synchronization Fixes (Frame Advance / FifoPlayer)EmptyChaos
Fix Frame Advance and FifoPlayer pause/unpause/stop. CPU::EnableStepping is not atomic but is called from multiple threads which races and leaves the system in a random state; also instruction stepping was unstable, m_StepEvent had an almost random value because of the dual purpose it served which could cause races where CPU::Run would SingleStep when it was supposed to be sleeping. FifoPlayer never FinishStateMove()d which was causing it to deadlock. Rather than partially reimplementing CPU::Run, just use CPUCoreBase and then call CPU::Run(). More DRY and less likely to have weird bugs specific to the player (i.e the previous freezing on pause/stop). Refactor PowerPC::state into CPU since it manages the state of the CPU Thread which is controlled by CPU, not PowerPC. This simplifies the architecture somewhat and eliminates races that can be caused by calling PowerPC state functions directly instead of using CPU's (because they bypassed the EnableStepping lock).
2016-05-05SCM: Use std::string.degasus
Those macros may be defined, or not. We should support both cases, so use std::string as it also defines the length of the string.
2016-05-01Merge pull request #3730 from lioncash/noncopyMatthew Parlane
NonCopyable: Minor changes
2016-04-25make DeleteDirRecursively clean up correctly after failure.Scott Mansell
Fixes Metroid prime crashing the second boot after loading a save state (issue 9496)
2016-04-14ChunkFile: Handle bool in a stable way across platformsLioncash
bool is not always guaranteed to be the same size on every platform. On some platforms it may be one byte, on others it can be 8 bytes if the platform dictates it. It's implementation-defined. This can be problematic when it comes to storing this data to disk (it can also be space-inefficient, but that's not really an issue). Also say for some reason you moved your savestates to another platform, it's possible they won't load correctly due to differences in size. This change stores all bools to savestates as if they were a byte in size and handles the loading of them accordingly.
2016-04-03MathUtilTest: Fix tests on MSVC - Document compiler bugLioncash
MSVC's implementation of numeric_limits currently generates incorrect signaling NaNs. The resulting values are actually quiet NaNs instead. This commit is based off of a solution by shuffle2. The only difference is a template specialization for floats is also added to cover all bases
2016-03-14Merge pull request #3668 from RisingFog/wii_movie_sysconfPierre Bourdon
Apply Wii Settings on Movie Recording/Playback
2016-03-12NonCopyable: Remove private access specifierLioncash
This isn't necessary, as the member functions are deleted. If someone tries to perform a copy, the compiler will now indicate that the member functions/constructors are deleted, rather than inaccessible.
2016-03-12NonCopyable: Specify const in copy constructor/assignment signaturesLioncash
2016-03-04JitArm64: Implement mulhwxdegasus
2016-03-02Merge pull request #3655 from jcowgill/spelling-fixesMathew Maidment
Fix some very minor spelling mistakes
2016-03-01EGL: Also check for higher GL versions.degasus
Seems like NVidia just ignores the forward compatible flag. Additionally, they neither enable any extension which was designed later... So either compatible profile, or a huge list of core profiles....
2016-02-28Move SetData logic to within SysConf.cppChris Burgener
2016-02-26Merge pull request #3432 from stenzek/bba-tap-winPierre Bourdon
EXI: Refactor Windows BBA-TAP interface to a read thread, crash fixes, cleanups
2016-02-19Fix some very minor spelling mistakesJames Cowgill
Found by Lintian https://lintian.debian.org/
2016-02-16Merge pull request #3640 from Sonicadvance1/glextensions_workaround_trashPierre Bourdon
Disable some OpenGL 4.5 functions until AMD fixes their trash driver.
2016-02-15Add missing include, this was previously masked by PCH usagehdcmeta
2016-02-15Make sure to get the right function pointer for DSA+buffer_storageRyan Houdek
2016-02-15Disable a few OpenGL 4.5 functions that AMD fails to expose.Ryan Houdek
2016-02-14Add support for GL 4.3Ryan Houdek
2016-02-14Add support for GL 4.4Ryan Houdek
2016-02-14Add support for GL 4.5Ryan Houdek
2016-02-14Change GL 4.2 defines over to the proper naming convention.Ryan Houdek
2016-02-05CMakeLists cleanup and enable Android headless building.Ryan Houdek