diff options
| author | 2023-02-18 22:05:58 -0800 | |
|---|---|---|
| committer | 2023-06-03 00:05:31 -0700 | |
| commit | 32cf6beee3936ed60ddf0664bdac4983ffd55284 (patch) | |
| tree | 144818bf013132b9d05c668eeaadf00e2e30f3b7 /src/common/dynamic_library.h | |
| parent | android: EmulationFragment: Always reset overlay. (diff) | |
| download | yuzu-32cf6beee3936ed60ddf0664bdac4983ffd55284.tar.gz yuzu-32cf6beee3936ed60ddf0664bdac4983ffd55284.tar.xz yuzu-32cf6beee3936ed60ddf0664bdac4983ffd55284.zip | |
common: dynamic_library: Add ctor for existing handle.
Diffstat (limited to 'src/common/dynamic_library.h')
| -rw-r--r-- | src/common/dynamic_library.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/dynamic_library.h b/src/common/dynamic_library.h index f42bdf441..662d454d4 100644 --- a/src/common/dynamic_library.h +++ b/src/common/dynamic_library.h | |||
| @@ -20,6 +20,9 @@ public: | |||
| 20 | /// Automatically loads the specified library. Call IsOpen() to check validity before use. | 20 | /// Automatically loads the specified library. Call IsOpen() to check validity before use. |
| 21 | explicit DynamicLibrary(const char* filename); | 21 | explicit DynamicLibrary(const char* filename); |
| 22 | 22 | ||
| 23 | /// Initializes the dynamic library with an already opened handle. | ||
| 24 | explicit DynamicLibrary(void* handle_); | ||
| 25 | |||
| 23 | /// Moves the library. | 26 | /// Moves the library. |
| 24 | DynamicLibrary(DynamicLibrary&&) noexcept; | 27 | DynamicLibrary(DynamicLibrary&&) noexcept; |
| 25 | DynamicLibrary& operator=(DynamicLibrary&&) noexcept; | 28 | DynamicLibrary& operator=(DynamicLibrary&&) noexcept; |