Commit Graph

7010 Commits

Author SHA1 Message Date
RadWolfie 49e2dc34eb HOTFIX: remove optimization due to AND bit operator does not keep in order 2021-04-05 14:22:26 -05:00
ergo720 7030e1551d Replaced StringCchCopy usage with a for loop 2021-04-05 18:37:02 +02:00
ergo720 a8405c967e Removed reserved variables in EmuShared 2021-04-05 18:29:32 +02:00
ergo720 1e0c75c3bd Detect mismatch between cxbxr modules 2021-04-05 18:28:20 +02:00
PatrickvL 52c88d7462
Merge pull request #2174 from RadWolfie/add-imgui
Add Basic ImGui Support
2021-04-04 21:08:09 +02:00
RadWolfie 781b7b8618 found a hidden bug during review remark, not relative to the pr 2021-04-03 14:39:36 -05:00
RadWolfie 3ba0ff084d review remarks 2021-04-03 14:39:36 -05:00
RadWolfie 000dd6c0a5 ImGui: register functions for individual release purpose and combine them into central call purpose 2021-04-03 14:35:31 -05:00
RadWolfie 74df117284 ImGui: fix crash on early terminate emulation 2021-04-03 14:35:31 -05:00
RadWolfie c6d1ec4924 kernel: mark as fallthrough permit to avoid warning message appear 2021-04-03 14:35:30 -05:00
RadWolfie 0875de0727 ImGui: move generic vertex cache into ImGui's video class. 2021-04-03 14:35:30 -05:00
RadWolfie e052a681be D3D8: move INDEX16 to xbox's D3D8 types header file 2021-04-03 14:35:30 -05:00
RadWolfie c403d6d129 input: fix incorrect getter/setter when should be using boolean method than long 2021-04-03 14:35:30 -05:00
RadWolfie 9885859916 ImGui: make functional imgui integration along with basic features 2021-04-03 14:35:30 -05:00
RadWolfie 23681729a5 input: fix bugged ShowCursor when redundant call occur with same value 2021-04-03 14:35:30 -05:00
RadWolfie 5c4e6945dc input: remove unnecessary pointer since const exists in parameter. 2021-04-03 14:35:30 -05:00
RadWolfie 327490a8ed input: fix general settings to use simplified getter/setter. 2021-04-03 14:35:30 -05:00
Silent 4985d9ca7e ImGui: More detailed vertex cache statistics 2021-04-03 14:35:29 -05:00
Silent f68c706b1e ImGui: Improve style a bit, start hidden 2021-04-03 14:35:29 -05:00
Silent 55f1228c66 ImGui: Quick set-up 2021-04-03 14:35:29 -05:00
Silent 611966f34e ImGui: Disabled some useless Win32 functions 2021-04-03 14:35:29 -05:00
RadWolfie a57aeed9f0 Add Dear ImGui library 2021-04-03 14:35:29 -05:00
ergo720 5995641a8f
Merge pull request #2178 from RadWolfie/kernel-fixes
Minor kernel fixes
2021-04-03 19:21:40 +02:00
Luke Usher a53f3604fd
Merge pull request #2181 from NZJenkins/stencil-convert
Convert STENCILFAIL
2021-04-03 17:14:39 +01:00
Anthony d0e525cd99 Convert STENCILFAIL
Improves shadows in DoA3
2021-04-04 02:30:36 +13:00
RadWolfie db6dd7110e fix xbox::RtlInitAnsiString when used inside cxbxr 2021-04-02 10:14:44 -05:00
RadWolfie 45e4e18415 fix crash with xbox kernel test suite for IoCreateSymbolicLink/IoDeleteSymbolicLink tests 2021-04-02 10:14:44 -05:00
RadWolfie 58f1c0959c kernel: check for CXBX_KERNEL_REWORK_ENABLED macro switch to investigate what need to work on 2021-04-02 10:14:44 -05:00
RadWolfie f3aaea3bc2
Merge pull request #2179 from Margen67/actions
ci: Use ubuntu-latest for release
2021-03-31 14:50:10 -05:00
Margen67 d66c50ad26
ci: Use ubuntu-latest for release
See https://github.com/actions/virtual-environments/issues/1430
2021-03-31 05:11:50 -10:00
RadWolfie 3d95e0223b kernel: add notes 2021-03-30 14:48:48 -05:00
RadWolfie 8a750fb4f2 kernel: add warning message 2021-03-29 19:33:24 -05:00
RadWolfie 3ff7869331 kernel: move emulated symbolic link object into ObOpenObjectByName patch 2021-03-29 19:33:24 -05:00
RadWolfie 98805bd0c5 minor fixes 2021-03-29 19:28:09 -05:00
PatrickvL 6cfad6f212
Merge pull request #2172 from CookiePLMonster/cpu-sets
Use Win10 CPU Sets API where supported
2021-03-27 09:52:39 +01:00
PatrickvL 6d187f1015
Merge pull request #2176 from ergo720/xinputpoll
Implemented XInputPoll
2021-03-27 09:50:24 +01:00
ergo720 2b6f452f18 Addressed review remark 2021-03-27 00:10:10 +01:00
ergo720 c30a2e058a Implemented input auto-poll behaviour 2021-03-24 23:00:50 +01:00
Silent 39c938f990
Use Win10 CPU Sets API where supported
Using CPU Sets instead of thread affinity allows to ensure
that the entire physical core is reserved ONLY for the game code,
so even the worker threads and third party libraries inside the process
cannot run code on it.

For Windows 7 and 8.1, the existing thread affinity approach is retained.
2021-03-24 19:25:25 +01:00
Luke Usher 187f4a8162
Merge pull request #2171 from ergo720/free_thread_resources
Free thread resources upon termination
2021-03-24 06:13:22 +00:00
ergo720 d929e81f1f Free thread resources upon termination 2021-03-23 19:14:32 +01:00
RadWolfie 2d63e89208
Merge pull request #2170 from ergo720/format_partition
Added option to clear the cache partitions from the GUI
2021-03-22 14:51:58 -05:00
ergo720 721d83eaf1 Addressed review remarks 2021-03-22 19:41:06 +01:00
ergo720 7518f8375a Added option to clear the cache partitions from the GUI 2021-03-22 18:23:04 +01:00
Luke Usher efda454399
Merge pull request #2168 from NZJenkins/upscale-all
Upscale rendertargets and depth surfaces consistently
2021-03-20 10:24:26 +00:00
Anthony 4938b13bc5 Upscale rendertargets and depth surfaces consistently
Rather than just upscaling the backbuffer
Allows high resolution rendering in some games that rendered to textures
Fixes Amped shadows when upscaling, due to SetRenderTarget failure (probably mixing scaled and unscaled RT & Depth)
2021-03-20 12:17:37 +13:00
Luke Usher d9b994c357
Merge pull request #2164 from CookiePLMonster/vertex-cache-improvements
Vertex buffer cache improvements
2021-03-18 13:48:27 +00:00
Luke Usher 8c754be62a
Merge pull request #2165 from NZJenkins/fix-fse
Fix crash in fullscreen mode
2021-03-18 13:45:26 +00:00
Anthony 9d18a16370 Fix crash in fullscreen mode
Set a backbuffer format, since UNKNOWN is only accepted in windowed mode
2021-03-18 21:44:27 +13:00
Silent dd5196f3ca
Reduce the amount of state in CxbxVertexBufferConverter
Also removes some legacy code in XbVertexBuffer
2021-03-17 18:46:20 +01:00