Commit Graph

3940 Commits

Author SHA1 Message Date
wwylele ff4fe1df8f gpu: add validity check for TextureCopy, DisplayTransfer and FillMemory
prevent further operation with invalid values which may cause assertion failure or divided by zero.
needs more hwtest
2016-09-29 10:01:34 +08:00
wwylele 7dcbdc4c43 memory: fix IsValidVirtualAddress for RasterizerCachedMemory
RasterizerCachedMemory doesn't has pointer but should be considered as valid
2016-09-29 10:01:34 +08:00
wwylele 287ec158ed gpu: move MemoryFill, TextureCopy and DisplayTransfer into functions
The old code indented too much to read. Split into functions and do general cleanup.
2016-09-29 10:01:34 +08:00
wwylele 4d867489a4 rasterizer: separate TextureCopy from DisplayTransfer 2016-09-29 10:01:34 +08:00
wwylele ce00c20861 Merge pull request #2099 from citra-emu/fix-clang-format
Fix clang-format lint
2016-09-22 13:39:12 +08:00
wwylele 1c4a13df97 travis: fix clang-format lint 2016-09-22 13:15:38 +08:00
Yuri Kunde Schlesner 7d2ec63a20 Merge pull request #2086 from linkmauve/clang-format
Add clang-format as part of our {commit,travis}-time checks
2016-09-21 11:29:48 -07:00
Yuri Kunde Schlesner d205bbc7d5 README: Specify master branch for Travis CI badge 2016-09-21 02:08:57 -07:00
Yuri Kunde Schlesner 739c1d8cf9 Fix Travis clang-format check 2016-09-21 01:53:37 -07:00
Yuri Kunde Schlesner 32bddfa1f5 Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
Yuri Kunde Schlesner fa5d9d8266 Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
Yuri Kunde Schlesner 960d39f7da Merge pull request #2097 from citra-emu/fix-travis
Travis: Fix OS X build
2016-09-20 22:26:34 -07:00
Yuri Kunde Schlesner bc28a77592 Travis: Fix OS X build
Probably due to additional Travis caching, cmake is now already
installed when the script runs. This causes the unlink to remove the
symlink to the executable, which is then not re-added by the install
(since it's already installed).
2016-09-20 21:25:15 -07:00
Emmanuel Gil Peyrot 1138ec0d49 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
2016-09-21 11:15:47 +09:00
Yuri Kunde Schlesner 1e4a5da9f4 Manually tweak source formatting and then re-run clang-format 2016-09-18 21:14:25 -07:00
Yuri Kunde Schlesner 5288648a23 Tweak formatting settings 2016-09-18 21:13:38 -07:00
Emmanuel Gil Peyrot 628ed4376a Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
Emmanuel Gil Peyrot 4298e7ef01 Travis: Import Dolphin’s clang-format hook. 2016-09-18 09:36:57 +09:00
Emmanuel Gil Peyrot da45e2bd71 Git hook: Remove trailing semicolons wrecking vim’s syntax highlighting. 2016-09-18 09:36:57 +09:00
Emmanuel Gil Peyrot c57d6ccac3 Git hook: Import Dolphin’s clang-format hook. 2016-09-18 09:36:57 +09:00
Emmanuel Gil Peyrot b26517b08c Dyncom: Disable clang-format on the decoding table. 2016-09-18 09:36:57 +09:00
Emmanuel Gil Peyrot c2b031b928 Sources: Add a .clang-format configuration file. 2016-09-18 09:36:55 +09:00
Yuri Kunde Schlesner 913f6e4572 Merge pull request #2080 from yuriks/shader-interp-crash
VideoCore: Fix dangling lambda context in shader interpreter
2016-09-15 22:47:20 -07:00
Yuri Kunde Schlesner 300e68c5df VideoCore: Fix dangling lambda context in shader interpreter
The static meant that after the first execution, these lambda context
would be pointing to a random location on the stack. Fixes a random
crash when using the interpreter.
2016-09-15 22:15:11 -07:00
Yuri Kunde Schlesner ba8dbb498b Merge pull request #2042 from bunnei/dynarmic
Interface ARM CPU JIT (Dynarmic)
2016-09-15 20:14:18 -07:00
bunnei 45bc24774f arm_dynarmic: Implement GetVFPSystemReg/SetVFPSystemReg. 2016-09-15 17:58:06 -04:00
bunnei 139dceacb2 microprofile: Double buffer size to 16MB. 2016-09-15 17:49:31 -04:00
bunnei acdc361fc0 arm: ResetContext shouldn't be part of ARM_Interface. 2016-09-15 17:49:30 -04:00
bunnei 5a7c1e9b5d arm_dynarmic/arm_dyncom: Remove unnecessary "virtual" keyword. 2016-09-15 17:49:30 -04:00
bunnei 5cf4dd301d dyncom: Use VFP_FPSCR/VFP_FPEXC. 2016-09-15 17:49:29 -04:00
bunnei 230c55daa9 qt: Add UI configuration option to enable CPU JIT. 2016-09-15 17:49:28 -04:00
bunnei 678aa9b0f0 core: Add configuration option for CPU JIT. 2016-09-15 17:49:27 -04:00
bunnei f1072aa569 dynarmic: Implement ARM CPU interface. 2016-09-15 17:49:26 -04:00
bunnei 63451ee190 dynarmic: Add new submodule. 2016-09-15 17:49:25 -04:00
bunnei 0ae6b3a14a CMakeLists: Set Boost_INCLUDE_DIR. 2016-09-15 17:49:21 -04:00
bunnei 2051c3856a externals/boost: Use latest upstream with variant. 2016-09-15 17:49:20 -04:00
Yuri Kunde Schlesner cef3c7fccc Merge pull request #2064 from linkmauve/remove-readdir_r
Switch to readdir() from readdir_r()
2016-09-13 10:54:42 -07:00
Emmanuel Gil Peyrot 721bb69d6e Common: readdir_r() is deprecated, switch to readdir(). 2016-09-13 22:11:23 +09:00
Yuri Kunde Schlesner 85b643c27f Merge pull request #2069 from wwylele/fix-birthday
Qt: fix birthday combo box updating
2016-09-13 01:32:52 -07:00
wwylele 53f72f198f Qt: fix birthday combo box updating 2016-09-13 16:15:42 +08:00
bunnei a1547e036a Merge pull request #2059 from MerryMage/tweak-audio-latency
audio_core: Tweak audio latency
2016-09-11 15:09:12 -04:00
Lectem 229a8d7c7e travis cache for cmake and sdl2 (#2060) 2016-09-08 03:31:57 +01:00
MerryMage de4fa45fb5 audio_core: Tweak audio latency 2016-09-07 15:27:32 +01:00
Yuri Kunde Schlesner 61b84257ae Merge pull request #2050 from MerryMage/adpcm
codec: Fix ADPCM distortion caused by incorrect nibble order
2016-09-03 12:37:44 -07:00
fincs 61bde9974b codec: Fix ADPCM distortion caused by incorrect nibble order
Closes #2049.

Signed-off-by: MerryMage <MerryMage@users.noreply.github.com>
2016-09-03 14:06:25 +01:00
bunnei 5a5cea4a8f Merge pull request #2045 from MerryMage/travis
travis: Update to XCode 7.3.1
2016-09-02 19:56:29 -04:00
MerryMage 4b39c41182 travis: Update to XCode 7.3.1 2016-09-02 16:19:09 +01:00
bunnei 80d3e79520 Merge pull request #2044 from wwylele/system-setting-fix
Qt: unify running detection of system settings configure
2016-09-02 09:36:08 -04:00
wwylele e64309bac9 Qt: unify running detection 2016-09-02 20:18:45 +08:00
bunnei a8490c2344 Merge pull request #2040 from citra-emu/revert-2037-msvc-relwithdebinfo
Revert "MSVC: Add RelWithDebInfo and removing debugging from Release."
2016-09-01 17:06:50 -04:00