diff options
| author | JosJuice <josjuice@gmail.com> | 2023-06-06 13:50:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-06 13:50:20 +0200 |
| commit | 2d56daf1bb62dfdf3db98e541071b17065b3c849 (patch) | |
| tree | 9ee2f57e149df1a500a62c7a1660e7587f278cb1 /Source/Core/DolphinNoGUI/MainNoGUI.cpp | |
| parent | 83b4af86b6defab21bc695dc9d6e876ac67b345d (diff) | |
| parent | b3c9f49cbedd03673a490cbeb7f886a3663e3bb8 (diff) | |
Merge pull request #11873 from AdmiralCurtiss/pause-and-lock-host
Core: Assert that only the Host thread may call PauseAndLock().
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 887181acb2..ff69e6bf7a 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -185,6 +185,8 @@ static std::unique_ptr<Platform> GetPlatform(const optparse::Values& options) int main(int argc, char* argv[]) { + Core::DeclareAsHostThread(); + auto parser = CommandLineParse::CreateParser(CommandLineParse::ParserOptions::OmitGUIOptions); parser->add_option("-p", "--platform") .action("store") |
