rpcsx/rpcs3
Eladash 50f51be06a
Improve sys_timer_get_information (#7638)
* Improve sys_timer_get_information

* sys_timer_disconnect_event_queue sets STATE_STOP regardless of port connection status.
* sys_timer_get_information sets 0 for period and next_expire if the timer is stopped.

* Fix two minor races in lv2_timer thread

* If the timer thread is about to fire an event of queue x, then another thread disconnects the queue, then restarts the timer and connects the event queue, then the timer thread sends an event - event data combination (source, data1, data2, next) may be inaccurate.

* If the timer thread is about to send an event (periodically), then another thread stops the timer and starts it again with sys_timer_start_periodic_absolute, timer.expire in info->timer_state in sys_timer_get_information may be inaccurate.
2020-02-29 17:15:25 +03:00
..
cmake_modules Test: disable warning for "macro redefined" spam 2020-02-22 15:17:02 +03:00
Crypto Apply some Clang-Tidy fixes 2020-02-27 00:38:55 +03:00
Emu Improve sys_timer_get_information (#7638) 2020-02-29 17:15:25 +03:00
Icons Qt: Add custom pad configs 2019-05-16 20:37:41 +02:00
Input Apply some Clang-Tidy fixes 2020-02-27 00:38:55 +03:00
Loader Apply some Clang-Tidy fixes 2020-02-27 00:38:55 +03:00
qt/etc Qt: use config to load translation file on startup 2020-02-06 17:41:50 +01:00
rpcs3qt Remove cancerous lf_value<> 2020-02-28 18:54:46 +03:00
util fixed_typemap.hpp: reset creation index to avoid confusion 2020-02-28 00:16:04 +03:00
CMakeLists.txt Add option USE_COTIRE=ON (by default) 2020-02-10 14:47:12 +03:00
define_new_memleakdetect.h
display_sleep_control.cpp Untangle GUI and input includes 2020-02-24 16:31:01 +01:00
display_sleep_control.h Add option for preventing display sleep (#5783) 2019-10-12 15:40:47 +03:00
emucore.vcxproj fixed_typemap.hpp: remove <algorithm> dep in header 2020-02-28 00:04:37 +03:00
emucore.vcxproj.filters fixed_typemap.hpp: remove <algorithm> dep in header 2020-02-28 00:04:37 +03:00
frame_icon.xpm
git-version.cmake Partially revert git-version.cmake 2019-10-22 11:42:49 +01:00
GLGSRender.vcxproj rsx: Refactor out complex present code into separate files 2020-01-18 19:52:52 +03:00
GLGSRender.vcxproj.filters rsx: Refactor out complex present code into separate files 2020-01-18 19:52:52 +03:00
headless_application.cpp move overlays code to headers 2020-02-26 23:43:18 +01:00
headless_application.h Qt: Enable stylesheet cli args and add stylesheet option "None" 2019-09-13 10:30:56 +02:00
main.cpp Don't improperly resolve symlinks when booting games. 2020-02-27 22:30:11 +03:00
main_application.cpp Gracefully fall back to a null renderer if XAudio2 fails to Init 2020-02-20 23:33:09 +03:00
main_application.h Untangle GUI and input includes 2020-02-24 16:31:01 +01:00
OpenAL.vcxproj [MSbuild] Extend support to v142 toolset 2019-08-17 23:30:23 +03:00
OpenAL.vcxproj.filters Rewrite OpenAL backend to support new features 2019-01-12 21:29:56 +03:00
resource.h
resources.qrc Qt: use config to load translation file on startup 2020-02-06 17:41:50 +01:00
restore_new.h
rpcs3.appdata.xml Update rpcs3.appdata.xml 2019-02-14 03:10:36 +03:00
rpcs3.desktop
rpcs3.icns Support macOS bundling for binary distribution 2018-12-16 18:17:21 +03:00
rpcs3.ico
rpcs3.plist.in CMake: Use Info.plist template for macOS bundle 2019-02-26 21:09:18 +00:00
rpcs3.png
rpcs3.rc
rpcs3.svg Optimise the SVG logo with svgcleaner 2020-01-17 08:31:00 +01:00
rpcs3.vcxproj Replace XAudio2 implementation with an unified Xaudio2Redist 2020-02-20 23:33:09 +03:00
rpcs3.vcxproj.filters Qt: do not use localized filenames for default current config and default stylesheet 2020-02-06 17:41:50 +01:00
rpcs3_version.cpp Add more game window title options 2020-02-20 20:07:25 +01:00
rpcs3_version.h Add more game window title options 2020-02-20 20:07:25 +01:00
stb_image.cpp C-style cast cleanup IV 2019-12-01 22:12:33 +03:00
stdafx.cpp
stdafx.h Change stdafx.h to trigger pch regeneration 2020-02-20 17:42:28 +03:00
VKGSRender.vcxproj rsx: Refactor out complex present code into separate files 2020-01-18 19:52:52 +03:00
VKGSRender.vcxproj.filters rsx: Refactor out complex present code into separate files 2020-01-18 19:52:52 +03:00
windows.qrc
XAudio.vcxproj Replace XAudio2 implementation with an unified Xaudio2Redist 2020-02-20 23:33:09 +03:00
XAudio.vcxproj.filters Replace XAudio2 implementation with an unified Xaudio2Redist 2020-02-20 23:33:09 +03:00