summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle.h
blob: 69ac0ade69353f22bdf29c9d5ef4116bfd1d5b1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include "common/common_types.h"

typedef u32 Handle;
typedef s32 Result;

const Handle INVALID_HANDLE = 0;

namespace HLE {

void Reschedule(const char *reason);
bool IsReschedulePending();
void DoneRescheduling();

void Init();
void Shutdown();

} // namespace