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