mirror of
https://github.com/Force67/ps4delta.git
synced 2025-04-02 11:01:45 -04:00
35 lines
No EOL
589 B
C++
35 lines
No EOL
589 B
C++
#pragma once
|
|
|
|
/*
|
|
* PS4Delta : PS4 emulation and research project
|
|
*
|
|
* Copyright 2019-2020 Force67.
|
|
* For information regarding licensing see LICENSE
|
|
* in the root of the source tree.
|
|
*/
|
|
|
|
#include "kernel/module.h"
|
|
|
|
namespace kern {
|
|
enum class loadStatus {
|
|
Success,
|
|
ErrorNotFound,
|
|
ErrorElfObj,
|
|
ErrorNoCode,
|
|
ErrorBadAlloc,
|
|
ErrorBadMap,
|
|
ErrorRecompiler,
|
|
ErrorProcInfo,
|
|
ErrorModuleInfo
|
|
};
|
|
|
|
enum class libLoadType {
|
|
hleAll,
|
|
hleSys,
|
|
hleNone,
|
|
};
|
|
|
|
constexpr u32 default_rip_size = 2 * 1024;
|
|
|
|
bool loadElf(sce_module& elf, const std::string&);
|
|
} |