Commit Graph

5562 Commits

Author SHA1 Message Date
Margen67 a9cca29948 [CI] Skip master branch, also rename xenia.exe to xenia-canary.exe in AppVeyor+Azure 2019-12-01 04:00:22 -05:00
illusion98 03e926605a Merge remote-tracking branch 'JoelLinn/fix-cpu-clock' into canary 2019-12-01 04:00:22 -05:00
illusion98 feb4f0c2a5 [Kernel] Title Update fixup
Co-Authored-By: aerosoul94 <aerosoul94@hotmail.com>
2019-12-01 04:00:22 -05:00
Margen67 59e5dfb4cb [GitHub Actions] Releases, minor changes
Formatting fixes.
Add comment about SSE2 builds not working on non-AVX(2) CPUs.
Don't build tests.
 Prepare artifacts:
  Switch to PowerShell.
  Rename xenia.exe to xenia-canary.exe.
 Add Releases:
  This allows GitHub Actions to have a link to the latest artifacts like AppVeyor, except not slow as fuck.
  Currently AVX-only since users will get confused which one to download (this is also why vfs-dump isn't included in the zip), and I don't know how to use the upload_url from another job configuration.
  Releases won't be created for PRs.

You can download the latest Release from here: https://github.com/xenia-canary/xenia-canary/releases/latest/download/xenia-canary.zip
2019-12-01 04:00:22 -05:00
illusion98 d16c8d424c small fixup for fps counter
this code is a meme
2019-12-01 04:00:22 -05:00
Radosław Gliński 5140d4940e [THREADING] Removed old walkaround for zombie threads 2019-12-01 04:00:22 -05:00
illusion98 fe3e4409fd Revert "[Memory] Trigger watches when making pages writable, not the other way around"
A Workaround for UE3 games causing exploding vertices.
This reverts commit 8ba6f3fc37.
2019-12-01 04:00:22 -05:00
illusion98 13aad56244 [Kernel] use TV Gamma as default instead of CRT 2019-12-01 04:00:22 -05:00
Margen67 76cc7b6b32 [GitHub Actions] Add exclusions 2019-12-01 04:00:22 -05:00
illusion98 d510690b1b Forgot to fix this 2019-12-01 04:00:22 -05:00
Margen67 a5b9c6b2a2 [README] stuff
Move status badges to top
Change Status into Download
Remove Contributors Wanted!
2019-12-01 04:00:22 -05:00
Prism Tutaj 37f1d1dc2e miscellaneous linux fixes. Disables vulkan-trace-viewer and dumper 2019-12-01 04:00:22 -05:00
Prism Tutaj 4337e4ddf8 Actually update libav. 2019-12-01 04:00:22 -05:00
Cancerous c4e102094f Merge branch 'get-proc-address-by-ordinal' of https://github.com/CookiePLMonster/xenia into canary
[Kernel] Fixup GetProcAddressByOrdinal PR 1473
2019-12-01 04:00:22 -05:00
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