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