Commit Graph

3947 Commits

Author SHA1 Message Date
bunnei 8dc1d5c92f Merge pull request #2103 from wwylele/gpu-reg-cleanup
GPU: DisplayTransfer & MemoryFill cleanup and param check
2016-10-03 20:21:55 -04:00
Yuri Kunde Schlesner 0067ec080a Merge pull request #2083 from yuriks/opengl-scissor-cached-rect
OpenGL: Take cached viewport sub-rect into account for scissor
2016-09-29 21:08:32 -07:00
Yuri Kunde Schlesner d88598642a OpenGL: Take cached viewport sub-rect into account for scissor
Fixes #1938
2016-09-29 20:55:24 -07:00
wwylele ea56a67274 gpu: DisplayTransfer: a less amazing algorithm for flip
the old implementation modifies the loop variable in the loop. Though it actually works, it is really confusing. Makes it morereadable now.
2016-09-29 10:01:34 +08:00
wwylele 0948bd001d gpu: keep the old signal strategy for null pointer
previous commits changes the behaviour of interrupt when meeting invalid params. Regresses to the same behaviour as before
needs more hwtest
2016-09-29 10:01:34 +08:00
wwylele 0513391de2 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 5c43a5652b 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 852dc95cf2 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 af8a81113b rasterizer: separate TextureCopy from DisplayTransfer 2016-09-29 10:01:34 +08:00
bunnei d6e5174bc5 Merge pull request #2100 from wwylele/fix-load-assert
Qt: shutdown system if error on loading ROM
2016-09-22 23:06:57 -04:00
wwylele f417e3050c qt: shutdown system if error 2016-09-22 16:40:33 +08:00
wwylele dab35fa103 Merge pull request #2099 from citra-emu/fix-clang-format
Fix clang-format lint
2016-09-22 13:39:12 +08:00
wwylele 9406b2d314 travis: fix clang-format lint 2016-09-22 13:15:38 +08:00
Yuri Kunde Schlesner 5e95a11407 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 df17c6831c README: Specify master branch for Travis CI badge 2016-09-21 02:08:57 -07:00
Yuri Kunde Schlesner 941981a81e Fix Travis clang-format check 2016-09-21 01:53:37 -07:00
Yuri Kunde Schlesner 3523ab7659 Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
Yuri Kunde Schlesner 45751915a0 Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
Yuri Kunde Schlesner fb702727a3 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 bb6d8c60da 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 e4393f7ff2 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 0e23caf9fd Manually tweak source formatting and then re-run clang-format 2016-09-18 21:14:25 -07:00
Yuri Kunde Schlesner 94df58e98c Tweak formatting settings 2016-09-18 21:13:38 -07:00
Emmanuel Gil Peyrot 7e8d205414 Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
Emmanuel Gil Peyrot 1f7bfe040c Travis: Import Dolphin’s clang-format hook. 2016-09-18 09:36:57 +09:00
Emmanuel Gil Peyrot d5eb7dd236 Git hook: Remove trailing semicolons wrecking vim’s syntax highlighting. 2016-09-18 09:36:57 +09:00
Emmanuel Gil Peyrot 02f49fd799 Git hook: Import Dolphin’s clang-format hook. 2016-09-18 09:36:57 +09:00
Emmanuel Gil Peyrot 10435ef65d Dyncom: Disable clang-format on the decoding table. 2016-09-18 09:36:57 +09:00
Emmanuel Gil Peyrot a7b5cdfaf1 Sources: Add a .clang-format configuration file. 2016-09-18 09:36:55 +09:00
Yuri Kunde Schlesner 74a0e61d6e 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 9767d6933c 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 d8535f009c Merge pull request #2042 from bunnei/dynarmic
Interface ARM CPU JIT (Dynarmic)
2016-09-15 20:14:18 -07:00
bunnei ad1f9faedc arm_dynarmic: Implement GetVFPSystemReg/SetVFPSystemReg. 2016-09-15 17:58:06 -04:00
bunnei 8bc11c6995 microprofile: Double buffer size to 16MB. 2016-09-15 17:49:31 -04:00
bunnei 50e94d6194 arm: ResetContext shouldn't be part of ARM_Interface. 2016-09-15 17:49:30 -04:00
bunnei a21ac8e611 arm_dynarmic/arm_dyncom: Remove unnecessary "virtual" keyword. 2016-09-15 17:49:30 -04:00
bunnei 3de5c33438 dyncom: Use VFP_FPSCR/VFP_FPEXC. 2016-09-15 17:49:29 -04:00
bunnei b9b6613034 qt: Add UI configuration option to enable CPU JIT. 2016-09-15 17:49:28 -04:00
bunnei afd32f9773 core: Add configuration option for CPU JIT. 2016-09-15 17:49:27 -04:00
bunnei e7ebf6a338 dynarmic: Implement ARM CPU interface. 2016-09-15 17:49:26 -04:00
bunnei 813451401b dynarmic: Add new submodule. 2016-09-15 17:49:25 -04:00
bunnei ecfa4141dd CMakeLists: Set Boost_INCLUDE_DIR. 2016-09-15 17:49:21 -04:00
bunnei 3775f71e2d externals/boost: Use latest upstream with variant. 2016-09-15 17:49:20 -04:00
Yuri Kunde Schlesner 9774ade0d6 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 2cdced1c51 Common: readdir_r() is deprecated, switch to readdir(). 2016-09-13 22:11:23 +09:00
Yuri Kunde Schlesner 065fcde9f2 Merge pull request #2069 from wwylele/fix-birthday
Qt: fix birthday combo box updating
2016-09-13 01:32:52 -07:00
wwylele 7ee0097bb8 Qt: fix birthday combo box updating 2016-09-13 16:15:42 +08:00
bunnei 305a7b1551 Merge pull request #2059 from MerryMage/tweak-audio-latency
audio_core: Tweak audio latency
2016-09-11 15:09:12 -04:00
Lectem d6758a8e92 travis cache for cmake and sdl2 (#2060) 2016-09-08 03:31:57 +01:00
MerryMage ebff1f5feb audio_core: Tweak audio latency 2016-09-07 15:27:32 +01:00