From 69f8722e795b0d76b84efa4de52e199e9441fca7 Mon Sep 17 00:00:00 2001 From: mageven <62494521+mageven@users.noreply.github.com> Date: Tue, 23 Mar 2021 00:10:07 +0530 Subject: Fix inconsistencies in progress reporting (#2129) Signal and setup events correctly Eliminate possible races Use a single event Mark volatiles and reduce scope of waithandles Common handler 100ms -> 50ms --- ARMeilleure/Translation/PTC/PtcLoadingState.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ARMeilleure/Translation/PTC/PtcLoadingState.cs (limited to 'ARMeilleure/Translation/PTC/PtcLoadingState.cs') diff --git a/ARMeilleure/Translation/PTC/PtcLoadingState.cs b/ARMeilleure/Translation/PTC/PtcLoadingState.cs new file mode 100644 index 00000000..526cf91f --- /dev/null +++ b/ARMeilleure/Translation/PTC/PtcLoadingState.cs @@ -0,0 +1,9 @@ +namespace ARMeilleure.Translation.PTC +{ + public enum PtcLoadingState + { + Start, + Loading, + Loaded + } +} \ No newline at end of file -- cgit v1.2.3-70-g09d2