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