2014-04-11 00:58:28 +01: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-11 00:58:28 +01:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2015-05-06 05:57:23 +01:00
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
typedef u32 Handle;
|
|
|
|
typedef s32 Result;
|
|
|
|
|
|
|
|
const Handle INVALID_HANDLE = 0;
|
|
|
|
|
2014-04-11 03:15:07 +01:00
|
|
|
namespace HLE {
|
2014-04-11 00:58:28 +01:00
|
|
|
|
2014-06-02 02:42:50 +01:00
|
|
|
void Reschedule(const char *reason);
|
2016-05-06 02:34:10 +01:00
|
|
|
bool IsReschedulePending();
|
2016-03-21 06:48:40 +00:00
|
|
|
void DoneRescheduling();
|
2014-05-15 01:49:02 +01:00
|
|
|
|
2014-04-11 02:30:00 +01:00
|
|
|
void Init();
|
|
|
|
void Shutdown();
|
|
|
|
|
|
|
|
} // namespace
|