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-02 01:42:50 +00:00
|
|
|
void Reschedule(const char *reason);
|
2016-05-06 01:34:10 +00:00
|
|
|
bool IsReschedulePending();
|
2016-03-21 06:48:40 +00:00
|
|
|
void DoneRescheduling();
|
2014-05-15 00:49:02 +00:00
|
|
|
|
2014-04-11 01:30:00 +00:00
|
|
|
void Init();
|
|
|
|
void Shutdown();
|
|
|
|
|
|
|
|
} // namespace
|