Commit Graph

5563 Commits

Author SHA1 Message Date
Silent 5cffd8d624 [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-12-11 20:18:52 +01:00
gibbed ef029f7f4b [x64] Take advantage of StashConstantXmm. 2019-12-11 20:16:54 +01:00
gibbed 2083753daa [x64] Fix constant src2 in VECTOR_ROTATE_LEFT_V128. 2019-12-11 20:16:54 +01:00
gibbed 55c4a1e4cb [x64] Fix corruption of src1 in calls to EmulateVectorRotateLeft.
To mitigate this mistake in the future, implemented new
StashConstantXmm functions.
2019-12-11 20:16:54 +01:00
gibbed b992cf430e [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-12-11 20:16:54 +01:00
Gliniak 9fc6a212f0 [XAM/Sketchy] Implemented XamReadTile 2019-11-30 22:33:46 +01:00
Gliniak 43ba6e25ff [Kernel] Rewrote ObReferenceObjectByHandle. Thanks Cookie for ideas 2019-11-30 21:56:23 +01:00
illusion98 eff388f243 Merge remote-tracking branch 'JoelLinn/fix-cpu-clock' into canary 2019-11-24 09:49:20 -05:00
Gliniak c6a73a2f9a [KERNEL] Do not convert time if provided time_ptr is invalid (Fixes Dark Souls crash) 2019-11-24 09:48:53 -05:00
Gliniak 5079dec872 [GPD] Implemented XamUserCreateTitlesPlayedEnumerator 2019-11-24 09:48:53 -05:00
illusion98 52ca809365 [Kernel] Title Update fixup
Co-Authored-By: aerosoul94 <aerosoul94@hotmail.com>
2019-11-23 06:54:22 -05:00
Margen67 a5c74cc788 [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-11-21 21:50:40 -05:00
illusion98 c632d13b51 small fixup for fps counter
this code is a meme
2019-11-21 21:50:40 -05:00
Radosław Gliński 0b23feda0b [THREADING] Removed old walkaround for zombie threads 2019-11-21 21:50:40 -05:00
illusion98 53915fd34b Merge remote-tracking branch 'CookiePLMonster/thread-refcounts' into canary
PR 1506
2019-11-21 21:50:40 -05:00
illusion98 b90a00b7e9 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-11-21 21:50:39 -05:00
illusion98 0d228464c8 [Kernel] use TV Gamma as default instead of CRT 2019-11-21 21:50:39 -05:00
Margen67 750546f998 [GitHub Actions] Add exclusions 2019-11-21 21:50:39 -05:00
illusion98 4d3f96e3d0 Forgot to fix this 2019-11-21 21:50:39 -05:00
Margen67 a4ed4edc2c [README] stuff
Move status badges to top
Change Status into Download
Remove Contributors Wanted!
2019-11-21 21:50:38 -05:00
Prism Tutaj 0c121015f0 miscellaneous linux fixes. Disables vulkan-trace-viewer and dumper 2019-11-21 21:50:38 -05:00
Prism Tutaj 587978d752 Actually update libav. 2019-11-21 21:50:38 -05:00
Cancerous db2d11897c Merge branch 'get-proc-address-by-ordinal' of https://github.com/CookiePLMonster/xenia into canary
[Kernel] Fixup GetProcAddressByOrdinal PR 1473
2019-11-21 21:50:38 -05:00
Prism Tutaj a17f507f0f Fix discord cvar 2019-11-21 21:50:38 -05:00
illusion98 c773359bee [Kernel] AVPack cvar
idk what teh hell im doing 😹
2019-11-21 21:50:37 -05:00
Radosław Gliński 55fc6fc3ca Implemented instructions: rldclx, rldcrx 2019-11-21 21:50:37 -05:00
Radosław Gliński b5741e7c8b Added stub implementation of WSAFDIsSet. I hope that arguments correct 2019-11-21 21:50:37 -05:00
gibbed fa0800efed [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-11-21 21:50:36 -05:00
Cancerous 71085aae77 Merge branch 'profile-gpds-rebase' of https://github.com/emoose/xenia into canary
Merge Emoose profiles-gpds https://github.com/emoose/xenia/tree/profile-gpds-rebase
2019-11-21 21:50:36 -05:00
illusion98 6b9099dd7e Change default config file name 2019-11-21 21:50:36 -05:00
illusion98 d796a406c8 Change window title
xenia -> xenia-canary
2019-11-21 21:50:36 -05:00
Cancerous c60418018e Merge branch 'master' of https://github.com/ObsidianNA/xenia into canary
Recent Files Menu Bar PR 1396
2019-11-21 21:50:35 -05:00
Cancerous 9644587e2c 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-11-21 21:50:35 -05:00
Cancerous 7ab6e8381d 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-11-21 21:50:35 -05:00
illusion98 22746c2b52 Merge remote-tracking branch 'randprint/ThreadDistribution' into canary 2019-11-21 21:50:34 -05:00
Rados??aw Gli??ski c29ab06927 Fixed Mask incorrectness. Does mask_ == 0x01 means accept all?
Affected Games:
- Grid 2 (freezes)
- Skate. (Menu Soundtrack)
- Crackdown 2 Demo (ingame freeze)
2019-11-21 21:50:34 -05:00
Rados??aw Gli??ski 0923ad0f9f "Template" for 0xFE message: 0x22005 2019-11-21 21:50:34 -05:00
Cancerous cfcf597af5 [Kernel] XamSwapDisc and supporting functions 2019-11-21 21:50:34 -05:00
Cancerous 6fbdf00b31 New Icons 2019-11-21 21:50:33 -05:00
Cancerous b65d01e39f [UI] Add window dimension cvars 2019-11-21 21:50:33 -05:00
illusion98 3a89106c50 Merge remote-tracking branch 'emoose/devicetype-fix' into canary 2019-11-21 21:50:33 -05:00
illusion98 956c30f0e6 Add command to show fps in titlebar 2019-11-21 21:50:33 -05:00
Cancerous 3d33da2b98 FPS Counter at the end of the display chain PR 1362
from IceTDrinker
2019-11-21 21:50:32 -05:00
Margen67 bfcd76d78e 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-11-21 21:50:32 -05:00
Margen67 f3a8345493 [CI] Add GitHub Actions 2019-11-21 21:50:32 -05:00
illusion98 fa7b6771da Add cvar for Unreal Engine 3 workaround 2019-11-21 21:50:32 -05:00
illusion98 d629b0925e [Discord] Change ID and new description 2019-11-21 21:50:32 -05:00
illusion98 90aa199830 [Discord] Add Time Elasped and Description Text
Display Time Elapsed when idle or playing a game
Display description when hovering over the icon
2019-11-21 21:50:31 -05:00
illusion98 5a845365ef Hack for Source engine 2019-11-21 21:50:31 -05:00
Radosław Gliński a553993f83 Disable debugging break on KeBugCheck 2019-11-21 21:50:31 -05:00