summaryrefslogblamecommitdiffstats
path: root/src/core/hle/hle.h
blob: e0b97797c28452f4f09184ca2496042f42f8583a (plain) (tree)
1
2
3
4
5
6
                                        
                                            
                                          


            






                                
               
 

                                                                                         
                                    
 
            

                
              
// 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 {

extern bool g_reschedule;   ///< If true, immediately reschedules the CPU to a new thread

void Reschedule(const char *reason);

void Init();
void Shutdown();

} // namespace