2014-04-10 16:58:28 -07:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-16 21:38:14 -08:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-19 00:49:13 -08:00
|
|
|
// Refer to the license.txt file included.
|
2014-04-10 16:58:28 -07:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2015-05-05 21:57:23 -07:00
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
typedef u32 Handle;
|
|
|
|
typedef s32 Result;
|
|
|
|
|
|
|
|
const Handle INVALID_HANDLE = 0;
|
|
|
|
|
2014-04-10 19:15:07 -07:00
|
|
|
namespace HLE {
|
2014-04-10 16:58:28 -07:00
|
|
|
|
2014-06-01 18:42:50 -07:00
|
|
|
void Reschedule(const char *reason);
|
2016-05-05 18:34:10 -07:00
|
|
|
bool IsReschedulePending();
|
2016-03-20 23:48:40 -07:00
|
|
|
void DoneRescheduling();
|
2014-05-14 17:49:02 -07:00
|
|
|
|
2014-04-10 18:30:00 -07:00
|
|
|
void Init();
|
|
|
|
void Shutdown();
|
|
|
|
|
|
|
|
} // namespace
|