Core: Assert that only the Host thread may call PauseAndLock().

This commit is contained in:
Admiral H. Curtiss
2023-06-02 18:00:51 +02:00
parent 7bbd530eb5
commit b3c9f49cbe
9 changed files with 65 additions and 32 deletions

View File

@ -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);