2014-04-11 01:58:28 +02:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 06:38:14 +01:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-19 09:49:13 +01:00
|
|
|
// Refer to the license.txt file included.
|
2014-04-11 01:58:28 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2015-05-06 06:57:23 +02:00
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
typedef u32 Handle;
|
|
|
|
typedef s32 Result;
|
|
|
|
|
|
|
|
const Handle INVALID_HANDLE = 0;
|
|
|
|
|
2014-04-11 04:15:07 +02:00
|
|
|
namespace HLE {
|
2014-04-11 01:58:28 +02:00
|
|
|
|
2014-06-05 06:26:48 +02:00
|
|
|
extern bool g_reschedule; ///< If true, immediately reschedules the CPU to a new thread
|
|
|
|
|
2014-06-02 03:42:50 +02:00
|
|
|
void Reschedule(const char *reason);
|
2014-05-15 02:49:02 +02:00
|
|
|
|
2014-04-11 03:30:00 +02:00
|
|
|
void Init();
|
|
|
|
void Shutdown();
|
|
|
|
|
|
|
|
} // namespace
|