Commit Graph

5598 Commits

Author SHA1 Message Date
Prism Tutaj 7bce62153f Fix discord cvar 2019-12-01 04:00:21 -05:00
illusion98 808bb15749 [Kernel] AVPack cvar
idk what teh hell im doing 😹
2019-12-01 04:00:21 -05:00
Radosław Gliński 1ca9df5ffe Implemented instructions: rldclx, rldcrx 2019-12-01 04:00:21 -05:00
Radosław Gliński a8ce4acddc Added stub implementation of WSAFDIsSet. I hope that arguments correct 2019-12-01 04:00:21 -05:00
gibbed 771cc14343 [Kernel] Workaround for crash seen on N3 demo boot.
Changes NtAllocateVirtualMemory so that it ignores specified page size when a
base address is specified. Requires verification if this is desired behavior.
2019-12-01 04:00:21 -05:00
Cancerous 7729d81d84 Merge branch 'profile-gpds-rebase' of https://github.com/emoose/xenia into canary 2019-12-01 04:00:00 -05:00
illusion98 ab7a2e9360 Change default config file name 2019-12-01 03:49:36 -05:00
illusion98 e361cd9d40 Change window title
xenia -> xenia-canary
2019-12-01 03:49:36 -05:00
Cancerous edb1b46441 Merge branch 'master' of https://github.com/ObsidianNA/xenia into canary
Recent Files Menu Bar PR 1396
2019-12-01 03:49:36 -05:00
Cancerous 155ae744d7 Merge branch 'xex-unload-image' of https://github.com/CookiePLMonster/xenia into canary
[Kernel] Make XexUnloadImage fully release the image

Previously XexUnloadImage did not cleanup the image fully,
and if XexLoadImage was to be called again on the same module,
it was not initialized fully, leading to a crash when using it.

[Kernel] (Partially) fix module refcounting

.xex module handles were retained twice in several places,
possibly causing them to leak.
More placed may have to be fixed too.

PR 1461
2019-12-01 03:49:36 -05:00
Cancerous 844bb083e3 Merge branch 'crypt-fixes' of https://github.com/CookiePLMonster/xenia into canary
[Kernel] Fix SHA1 and SHA256 state endianness

Fixes malfunctioning SHA256 hash,
corrupting its state between Update and Finish calls.
PR 1461
2019-12-01 03:49:36 -05:00
illusion98 faa86f70d3 Merge remote-tracking branch 'randprint/ThreadDistribution' into canary 2019-12-01 03:49:35 -05:00
Rados??aw Gli??ski a00123f18b Fixed Mask incorrectness. Does mask_ == 0x01 means accept all?
Affected Games:
- Grid 2 (freezes)
- Skate. (Menu Soundtrack)
- Crackdown 2 Demo (ingame freeze)
2019-12-01 03:49:35 -05:00
Rados??aw Gli??ski 8f79560343 "Template" for 0xFE message: 0x22005 2019-12-01 03:49:35 -05:00
Cancerous 1b1f360808 [Kernel] XamSwapDisc and supporting functions 2019-12-01 03:49:35 -05:00
Cancerous eb40113bf2 New Icons 2019-12-01 03:49:35 -05:00
Cancerous acc1930a01 [UI] Add window dimension cvars 2019-12-01 03:49:35 -05:00
illusion98 28ea438dce Merge remote-tracking branch 'emoose/devicetype-fix' into canary 2019-12-01 03:49:35 -05:00
illusion98 c83b8ab7db Add command to show fps in titlebar 2019-12-01 03:49:34 -05:00
Cancerous 5604e56cda FPS Counter at the end of the display chain PR 1362
from IceTDrinker
2019-12-01 03:49:34 -05:00
Margen67 75c3070f51 AVX(2/512) builds
xenia-build:
 Make release the default config. (no longer need --config=Release)
 Add --cpu_arch argument;
  Valid options are SSE2 (default), AVX, AVX2, and AVX512.
CI:
 Remove unneeded env vars since we're only building Release for Windows anyway.
 Only do tests on AppVeyor since they only work there.
  AppVeyor:
   Remove empty tab/space.
   Remove unneeded cmds.
   Turn deploy off since it didn't do anything.
  GitHub Actions:
   Rename GitHub Actions artifacts.
Premake:
 Remove commented out garbage.
2019-12-01 03:49:34 -05:00
Margen67 fce343ea08 [CI] Add GitHub Actions 2019-12-01 03:49:34 -05:00
illusion98 7d0d52b51e Add cvar for Unreal Engine 3 workaround 2019-12-01 03:49:34 -05:00
illusion98 2500f59281 [Discord] Change ID and new description 2019-12-01 03:49:34 -05:00
illusion98 72cd690400 [Discord] Add Time Elasped and Description Text
Display Time Elapsed when idle or playing a game
Display description when hovering over the icon
2019-12-01 03:49:34 -05:00
illusion98 527f2b75f7 Hack for Source engine 2019-12-01 03:49:34 -05:00
Radosław Gliński c7b3fcf7fa Disable debugging break on KeBugCheck 2019-12-01 03:49:33 -05:00
illusion98 b7f36899d3 Merge remote-tracking branch 'emoose/ntwritefile-apc'
Originally merged by @0x8080

Co-Authored-By: 0x8080 <0x8080@users.noreply.github.com>
2019-12-01 03:49:33 -05:00
illusion98 4ea1a914e1 Merge 2 remote-tracking branch 'emoose/stfs-packages, emoose/title-updates' into canary-cleanup
Originally merged by @0x8080

Co-Authored-By: 0x8080 <0x8080@users.noreply.github.com>
2019-12-01 03:49:33 -05:00
illusion98 a3c8028509 Merge remote-tracking branch 'emoose/dashboard' into canary-cleanup
Originally merged by @0x8080

Co-Authored-By: 0x8080 <0x8080@users.noreply.github.com>
2019-12-01 03:49:33 -05:00
illusion98 8c152deab4 Update Readme 2019-12-01 03:49:33 -05:00
chss95cs@gmail.com ba75d25a18 Reuse flag results in OPCODE_BRANCH_TRUE codegen if the preceding instruction was a comparison that already set the cpu flags 2019-12-01 03:49:33 -05:00
chss95cs@gmail.com 241f410f6f Add constant folding for OPCODE_ROTATE_LEFT 2019-12-01 03:49:33 -05:00
Silent c5db959154 [Kernel] Retain handles and not objects in XThread
This fixes cases introduced by 52e836d0f81e752ba368717e68773b591adfa9cf
where thread handles get closed before the thread finishes.
Handle was assumed to be alive there, which was not true as
threads self-referenced only their objects, not their handles.

Affected games: Payday 2 Demo
2019-11-30 20:08:30 -06:00
Silent 728531eff7 [Kernel] Operate on handle refcounts in Ob funcs
Although this seems counter-intuitive, operating on handle
reference counters in
- ObLookupThreadByThreadId
- ObReferenceObjectByHandle
- ObDereferenceObject
allows to cleanly clean up handles for resources created elsewhere
and destructed by ObDereferenceObject (for example, threads with 0x80
creation flag). Operating on pointer reference counters alone
would leave a stray handle in the slots list.
2019-11-30 20:08:30 -06:00
Silent 05ef022fd7 [Kernel] Do not retain handle in ExCreateThread
Closing the thread handle should delete the thread object
if it's finished. When this handle was retained, closing the handle
left a lingering handle reference and thus this XThread would leak
2019-11-30 20:08:30 -06:00
Silent 5bec69e983 [Kernel] Add some useful asserts 2019-11-30 20:08:30 -06:00
gibbed ae15c27a24 [x64] Take advantage of StashConstantXmm. 2019-11-30 20:08:10 -06:00
gibbed 04a54cc58f [x64] Fix constant src2 in VECTOR_ROTATE_LEFT_V128. 2019-11-30 20:08:10 -06:00
gibbed f7a8c5ce7a [x64] Fix corruption of src1 in calls to EmulateVectorRotateLeft.
To mitigate this mistake in the future, implemented new
StashConstantXmm functions.
2019-11-30 20:08:10 -06:00
gibbed 43cef29c6d [UI] Disable saving of imgui INI file.
By default imgui saves an INI file named 'imgui.ini' to the current directory,
which is undesired behavior. Until we can properly specify a full path to
a good location, disable saving of the INI file.
2019-11-30 18:54:15 -06:00
aerosoul bc8b629092 [Kernel] Enable XEX1 loading 2019-11-20 18:09:28 -06:00
Joel Linn 03d5455a2f [imgui] Fixes to work with new api.
- Font atlas is now owned by context.
- Switch from deprecated io.RenderDrawListsFn callback to dedicated call in window.cc.
- Replaced deprecated ImGuiCol_ModalWindowDarkening with ImGuiCol_ModalWindowDimBg.
- Replaced deprecated SetScrollHere() with SetScrollHereY().
- Replaced deprecated GetContentRegionAvailWidth() with GetContentRegionAvail().x.
- Replaced deprecated ShowTestWindow() with ShowDemoWindow().
- Replaced deprecated ImGuiCol_ChildWindowBg with ImGuiCol_ChildBg.
- Replaced deprecated SetNextTreeNodeOpen() with SetNextItemOpen().
2019-11-20 08:05:40 -06:00
Joel Linn 1985169924 [imgui] Make code compile with new imgui. 2019-11-20 08:05:40 -06:00
Joel Linn e4c9078cb5 [imgui] Update submodule. 2019-11-20 08:05:40 -06:00
Triang3l 8ba6f3fc37 [Memory] Trigger watches when making pages writable, not the other way around 2019-11-10 14:21:36 +03:00
Triang3l 26e1a67036 [GPU] Separate dxbc and dxbctext shader compiler targets 2019-11-09 00:13:23 +03:00
Triang3l 11508caa49
Merge pull request #1505 from Margen67/cleanup
Remove (hopefully) last OpenGL leftovers & crunch
2019-11-08 23:17:01 +03:00
Triang3l e5b8f0cb27
[Vulkan] Remove an obsolete comment about GLSL 2019-11-08 23:16:37 +03:00
Margen67 09e1028154 Remove (hopefully) last OpenGL leftovers & crunch
Crunch is unused.
2019-11-08 09:10:51 -08:00