Commit Graph

5942 Commits

Author SHA1 Message Date
Triang3l 1b3db70a07 [GPU] Fix negative shift build error 2020-08-29 00:22:15 +03:00
Triang3l 210c30aef9 [D3D12] Fix resolve not syncing with CPU memory and memory extent calculation 2020-08-28 23:49:23 +03:00
Triang3l a1d33615b0 [DXBC] Inline depth/stencil test 2020-08-27 23:46:41 +03:00
Triang3l fd14a68420 [Kernel] NtQueryVirtualMemory state test case info 2020-08-27 16:59:42 +03:00
Triang3l c2c263f34a [Kernel] Return only one state from NtQueryVirtualMemory 2020-08-27 15:47:51 +03:00
Gliniak eac7e2cd1f [Kernel/Memory] NtQueryVirtualMemory - Added support for returning X_MEM_FREE state 2020-08-27 14:55:02 +03:00
Gliniak b3e537a5bf [Base] Use enum instead of define for X_PAGE_* 2020-08-27 14:55:02 +03:00
Gliniak 4908754d84 [Base] Use enum instead of define for X_MEM_* 2020-08-27 14:55:02 +03:00
Gliniak 4f5c313fe3 [Kernel/XAM] Added Support For: XamContentDeleteInternal
Now some EA games should have working savefiles
2020-08-25 20:51:01 +03:00
Triang3l dffdf92e39 [Vulkan] Remove stillborn vk project 2020-08-22 23:31:52 +03:00
Triang3l 82ca0a7eec [D3D12] Slightly cleanup DXC object initialization 2020-08-22 23:21:00 +03:00
Triang3l 0c13b239fd [D3D12] DXILConv disassembly dumping option 2020-08-22 23:15:50 +03:00
Jonathan Goyvaerts 92e445f01a [App] Add portable as a launch option in addition to checking for portable.txt existence 2020-08-21 20:31:19 +03:00
Gliniak 3f8fcf7910 Added Support For: XamContentDeleteInternal
Now some EA games should have working savefiles
2020-08-19 20:00:45 +02:00
Gliniak a07cb354e1 Revert "CI: ugh"
This reverts commit 332e8c0cbb.
2020-08-19 19:56:57 +02:00
Gliniak e78a942739 Merge branch 'master' of https://github.com/xenia-project/xenia into canary_new 2020-08-19 19:53:47 +02:00
Triang3l 6dc94d9154 [DXBC] ROV: Inline color ROP 2020-08-16 17:10:07 +03:00
Triang3l 9428af52e4 [CPU] break_on_unimplemented_instructions cvar 2020-08-09 22:01:54 +03:00
Triang3l 36501be9f8 [D3D12] Remove now-unused d3d12_resolution_scale_resolve_edge_clamp cvar 2020-08-09 21:36:09 +03:00
Triang3l bd5f77bc3b [GPU] Common resolve code based on compute shaders, swap MSAA samples 1 and 2, change ROV write rounding, random refactoring 2020-08-09 21:33:10 +03:00
Silent 72e41e2bf8 Fix building with XE_OPTION_ENABLE_LOGGING off 2020-08-08 23:26:49 -05:00
Gliniak 760b5b3cf0 Restrict NtAllocateVirtualMemory only to virtual memory range 2020-08-04 15:44:54 +02:00
Gliniak 90d1772c4a NtCreateFile - Return error while trying to create directory with non-directory flag 2020-08-04 15:44:54 +02:00
Gliniak b3103c6327 [Kernel/Thread] Changed incorrect thread stack location (Fixes Nier) 2020-08-01 00:14:49 +11:00
emoose b00d1d190e [Kernel] Return device type in XamContentGetDeviceData 2020-08-01 00:14:49 +11:00
Gliniak 76a62d0416 Merge branch 'profile-gpds-rebase' of https://github.com/emoose/xenia into canary_new 2020-07-28 10:09:51 +02:00
Gliniak ca04efd7cb LaunchXexFile switched to const string_view instead of path
Added savedisk as possible savepoint
2020-07-27 10:43:06 +02:00
Gliniak 856cce8fe3 Fixed bugged resource locator (PR 1632) 2020-07-27 10:41:23 +02:00
Gliniak fe22352831 Added cctype to fuzzy.cc 2020-07-27 10:40:31 +02:00
emoose 2711d678ac [HID] Improved WinKey GetKeystroke code
Seems the double-keypress issue was because of XINPUT_KEYSTROKE_REPEAT: Xenia would add that to keyup events, but seems REPEAT is only meant for keydown (well SR1 treats it as a keydown event at least)
2020-07-24 21:22:40 +11:00
emoose 827a03c121 [HID] Remove keyboard_keyup cvar, doesn't seem needed anymore
I guess something to get CoD4 console working must have fixed SR1 double-keypress issue!
2020-07-24 21:22:40 +11:00
emoose 0b4834df9d [HID] Make WinKey GetCapabilities return success, fixes CoD4 console 2020-07-24 21:22:40 +11:00
emoose 9baeee9b27 [XAM/HID] Add more support for keyboards & fill in unicode member of keystroke
CoD4 requires the unicode member to write text into the dev console, Win32's ToUnicode function seems to work fine for this.
Xam functions have been updated to support keyboard devices too, which *should* let CoD4 detect the keyboard and let you use it to open console etc..
Seems the XEX still needs a 1 byte patch for it to work tho :( no idea why, does keyboard work on actual X360 without any patching?
2020-07-24 21:22:40 +11:00
emoose 8d51293d29 [HID] Add keyboard_keyup cvar (default true) since dash needs keyups to work properly
Made this a cvar since SR1 will double-press when it sees both keydown & keyup, strange.
2020-07-24 21:22:40 +11:00
emoose 0793e03068 [XAM/HID] Add keyboard_passthru cvar, allows XInputGetKeystroke to receive proper keyboard events
Maybe useful for debug games, or games modded to allow in-game consoles.
2020-07-24 21:22:40 +11:00
Cancerous 5bd89b4306 [HID] SDL Input fixes 2020-07-24 21:22:29 +11:00
emoose 4079a7bb8a [HID] Allow winkey driver to use the first unused user index
This removes the user_index == 0 requirement from the InputSystem code, and updates WinKeyInputDriver to use the first non-connected user index if it can.

Eg. if you had 2 XInput controllers plugged in, those two will take up user index 0 and 1, and keyboard will take user index 2.
If all four indexes are taken up already, the WinKey driver will be disabled.

(This is done by passing already-setup drivers to each drivers Setup function: since WinKey is the last to be setup, this'll let it query the XInput driver and find which user_index it should handle)
2020-07-24 21:10:22 +11:00
illusion 0a2489d44c automatic aspect ratio change
aspect ratio will now change if internal resolution is set to anything 4:3
(i.e 640x480, 1024x768, 1600x1200.. etc.)
2020-07-15 05:22:45 +11:00
Cancerous 99ff1c9b19 [CPU] - skip some operations that cost precious time in mutex lock/unlock that are called frequently for some gains when not debugging 2020-07-15 05:22:45 +11:00
Cancerous b2c37c26ce [Config] - add cvars for internal resolution 2020-07-15 05:22:45 +11:00
Cancerous b3820be4da [CPU] Enable repetitive computation pass of optimizations from Chrispy 2020-07-15 05:22:44 +11:00
chss95cs@gmail.com bfc31f8706 Fixed shit precision in RECIP, made multiplication codegen less garbage 2020-07-15 05:22:44 +11:00
chss95cs@gmail.com 364937e836 Juicy optimization goodness 2020-07-15 05:22:44 +11:00
chrisps 27d12f1130 Smaller ComputeMemoryAddress/Offset sequence
Replace a movzx after setae in both ComputeMemoryAddressOffset and ComputeMemoryAddress with a xor_ of eax prior to the cmp. This reduces the length in bytes of both sequences by 1, and should be a moderate ICache usage reduction thanks to the frequency of these sequences.
2020-07-15 05:22:44 +11:00
chrisps a6e021ee3d Adding Xmm Select table, GetRawXMM 2020-07-15 05:22:44 +11:00
chrisps 53e9c06d3d Optimized CONVERT_I64_TO_F64 with neat overflow trick
Reduced instruction count from 11 to 8, eliminated a movq stall.
2020-07-15 05:22:44 +11:00
chss95cs@gmail.com 3587be4cd2 Added lea based multiply optimization for pow2+1 values below 16. Added magicgu2 division magic number optimization for INT_64 and INT_32. Added in my HIR optimization subpass but disabled all but 3 of the optimization rules. 2020-07-15 05:22:44 +11:00
Rados??aw Gli??ski 079fdfceca Fixed Mask incorrectness. Does mask_ == 0x01 means accept all?
Affected Games:
- Grid 2 (freezes)
- Skate. (Menu Soundtrack)
- Crackdown 2 Demo (ingame freeze)
2020-07-15 05:22:44 +11:00
illusion 332e8c0cbb CI: ugh
Temporary revert until margen fix it
2020-07-15 05:22:37 +11:00
Margen67 af4e3908b4 Canary-ize CI 2020-07-15 05:19:24 +11:00