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