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