mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Core: Assert that only the Host thread may call PauseAndLock().
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "Common/Version.h"
|
||||
#include "Core/Core.h"
|
||||
#include "DolphinTool/Command.h"
|
||||
#include "DolphinTool/ConvertCommand.h"
|
||||
#include "DolphinTool/HeaderCommand.h"
|
||||
@@ -27,6 +28,8 @@ static int PrintUsage(int code)
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
Core::DeclareAsHostThread();
|
||||
|
||||
if (argc < 2)
|
||||
return PrintUsage(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user