mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
libobs/util: Add function to get Windows x64 emulation status
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user