summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-02-08[Base] Call SetThreadDescription to name threads on versions of Windows that ↵setthreaddescJustin Moore
support it.
2020-02-08[Base] Initialize file 'open_access' flag before using it.noshbar
In the 'OpenExisting' function, 'open_access' is used to create the flags for opening the file. However, it is not set to zero, so could end up being incorrect file modes, potentially even emptying the file for appending, which would be bad. This simply initialises it to zero first.
2020-02-07[D3D12] Cleaner DXBC emission code, port ROV prologue to itTriang3l
2020-02-05[CPU] Change thunk layout and fix Linux thunk misalignmentPrism Tutaj
2020-02-05[UI] Fix frame leak on context loss.Joel Linn
2020-02-05[UI] Use ticks as frame time instead of file time.Joel Linn
File time is not as accurate as its resolution suggests. This results in a zero time delta between frames for high fps.
2020-02-05[UI] Add F2 Hotkey to open current git commit in browserillusion98
2020-02-02[GPU] Remove repeated word in a commentTriang3l
2020-02-02[GPU] Remove unused kConstantInt/Bool shader operandsTriang3l
2020-01-27[Kernel] Make XexUnloadImage fully release the imageSilent
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.
2020-01-27[Kernel] (Partially) fix module refcountingSilent
.xex module handles were retained twice in several places, possibly causing them to leak. More placed may have to be fixed too.
2020-01-27[Kernel] Fix SHA1 and SHA256 state endiannessSilent
Fixes malfunctioning SHA256 hash, corrupting its state between Update and Finish calls.
2019-12-04[D3D12] Submit command lists on primary buffer endTriang3l
2019-12-01[CPU] Implement mftb instruction natively.Joel Linn
When the cvars clock_no_scaling and clock_source_raw are set, tick counts will be directly calculated in the emitted code.
2019-12-01[Base] Optional raw Clock source.Joel Linn
New cvar clock_source_raw allows to use the cpu cycle counter itself as an alternative time source, if system timing resolution is to low and causes problems.
2019-12-01[Base] Optional Clock scaling bypass.Joel Linn
New cvar clock_no_scaling bypasses all time scaling code. Clock state is non dynamic. Timing is always derived from host.
2019-12-01[Base] Clock state now unaltered by threading.Joel Linn
- Removed tick and time values from ThreadSavedState. - Removed affiliated get/set code from Save and Restore. - Removed dangerous SetGuestTickCount method.
2019-12-01[Base] Clock reworked.Joel Linn
- Time progression is now equal and in sync on all threads. - Floating point imprecisions do not interfere with timing.
2019-12-01[D3D12] Workaround for texture flickering on Nvidia - don't use sampler 2047Triang3l
2019-11-30[Kernel] Retain handles and not objects in XThreadSilent
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[Kernel] Operate on handle refcounts in Ob funcsSilent
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[Kernel] Do not retain handle in ExCreateThreadSilent
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[Kernel] Add some useful assertsSilent
2019-11-30[x64] Take advantage of StashConstantXmm.gibbed
2019-11-30[x64] Fix constant src2 in VECTOR_ROTATE_LEFT_V128.gibbed
2019-11-30[x64] Fix corruption of src1 in calls to EmulateVectorRotateLeft.gibbed
To mitigate this mistake in the future, implemented new StashConstantXmm functions.
2019-11-30[UI] Disable saving of imgui INI file.gibbed
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-20[Kernel] Enable XEX1 loadingaerosoul
2019-11-20[imgui] Fixes to work with new api.Joel Linn
- 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[imgui] Make code compile with new imgui.Joel Linn
2019-11-10[Memory] Trigger watches when making pages writable, not the other way aroundTriang3l
2019-11-09[GPU] Separate dxbc and dxbctext shader compiler targetsTriang3l
2019-11-08[Vulkan] Remove an obsolete comment about GLSLTriang3l
2019-11-08Remove (hopefully) last OpenGL leftovers & crunchMargen67
Crunch is unused.
2019-11-06[D3D12] Remove command_list.h inclusionTriang3l
2019-11-06[D3D12] Don't create multiple command lists as they're just encodersTriang3l
2019-11-04[D3D12] Don't assume there's a null D3D descriptor handleTriang3l
2019-11-04[GPU] Store an EDRAM snapshot in tracesTriang3l
2019-11-02[APU] Support XAudio 2.7Triang3l
2019-10-31[D3D12] CP: Framework for multiple command lists per frameTriang3l
2019-10-28[D3D12] CP: Separate guest frame and non-frame submissionsTriang3l
2019-10-28[D3D12] Don't use D3D12Context for command processor fenceTriang3l
2019-10-27[D3D12] Detach UploadBufferPool and DescriptorHeapPool from D3D12ContextTriang3l
2019-10-27[D3D12] Trace viewer entry pointTriang3l
2019-10-25[GPU] Trace dump: Do PIX/RenderDoc capture if attachedTriang3l
2019-10-25[D3D12] Resolve fetch memory read tracingTriang3l
2019-10-25[D3D12] Make trace dump partially workTriang3l
2019-10-23[D3D12] Replicate the last texture component into non-existent onesTriang3l
2019-10-23[D3D12] Trace guest memory operationsTriang3l
2019-10-22[VFS] Fix some security issues in StfsContainerDevice codeTriang3l