libobs/util: Add function to get Windows x64 emulation status

This commit is contained in:
Tommy Vercetti
2022-11-09 03:03:26 -08:00
committed by Jim
parent dc024a8643
commit 41efdc498c
3 changed files with 23 additions and 4 deletions
@@ -489,7 +489,8 @@ Other Functions
.. function:: bool os_get_emulation_status(void)
Returns true if the current process is a x64 binary and is being emulated or translated
by the host operating system. On macOS, it returns true when a x64 binary is
being translated by Rosetta and running on Apple Silicon Macs. This function is not yet
implemented on Windows and Linux and will always return false on those platforms.
Returns true if the current process is an x64 binary and is being emulated or translated
by the host operating system. On macOS, it returns true when an x64 binary is
being translated by Rosetta and running on Apple Silicon Macs. On Windows, it
returns true when an x64 binary is being emulated on Windows ARM64 PCs. On all other
platforms, it will always returns false.