summaryrefslogtreecommitdiff
path: root/Source/Core/Common
AgeCommit message (Collapse)Author
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
2016-02-05Rearrange GLInterface interface generation.Ryan Houdek
This will be important when we enable headless on Android
2016-02-05Fix a bug in the Common CMakeLists fileRyan Houdek
We were overwriting the LIBS variable. Effectively dropping libiconv from the libs.
2016-02-05Fix a few missing includesRyan Houdek
2016-01-31Common: Use C++ random generator for generating MAC addressesStenzek
2016-01-30Merge pull request #3572 from Sonicadvance1/egl_support_headlessRyan Houdek
Egl support headless
2016-01-29Merge pull request #3550 from Sonicadvance1/egl_support_core_profileRyan Houdek
Support the OpenGL core profile in EGL.
2016-01-29Merge pull request #3546 from Sonicadvance1/egl_shared_contextRyan Houdek
Implement shared contexts in the EGL context.
2016-01-29Merge pull request #3573 from degasus/fifoplayerRyan Houdek
Fifoplayer: Fix dual core
2016-01-27Support a headless EGL option.Ryan Houdek
This is a new option to support completely headless running of Dolphin without X11 on systems that can properly support it.
2016-01-27Include the EGL defines we need for KHR_create_context ourselves.Ryan Houdek
This is because Google decided it was in their best interest to update eglext.h for android-21/arch-arm only and completely neglect all the other architectures. Sucks to suck.
2016-01-27Support the OpenGL core profile in EGL.Ryan Houdek
This should make our Mesa EGL users happy.
2016-01-27Implement support for GL 4.2 in GLExtensionsRyan Houdek
2016-01-27Implement shared contexts in the EGL context.Ryan Houdek
This is being implemented here first under EGL since the infrastructure is already in place for this due to the Android code requiring some bits. The rest of the interfaces will come in a little bit. This will be required for threaded shader compiling in the near future.
2016-01-27Thread: Limit thread name to 15 bytes on linux.degasus
2016-01-21A few more asterisks, mostly castsmathieui