mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-07 12:48:03 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2411bf060b |
+17
-16
@@ -17,25 +17,26 @@ namespace Core {
|
||||
namespace Symbols {
|
||||
|
||||
struct ModuleHeaderLocation {
|
||||
u32 version;
|
||||
u32 header_offset;
|
||||
u32 version_offset;
|
||||
u32_le version;
|
||||
u32_le header_offset;
|
||||
u32_le version_offset;
|
||||
};
|
||||
static_assert(sizeof(ModuleHeaderLocation) == 0x0C);
|
||||
struct ModuleHeader {
|
||||
u32 signature;
|
||||
u32 dynamic_offset;
|
||||
u32 bss_start_offset;
|
||||
u32 bss_end_offset;
|
||||
u32 exception_info_start_offset;
|
||||
u32 exception_info_end_offset;
|
||||
u32 module_offset;
|
||||
u32 relro_start_offset;
|
||||
u32 full_relro_end_offset;
|
||||
u32 nx_debug_link_start_offset;
|
||||
u32 nx_debug_link_end_offset;
|
||||
u32 note_gnu_build_id_start_offset;
|
||||
u32 note_gnu_build_id_end_offset;
|
||||
u32_le signature;
|
||||
u32_le dynamic_offset;
|
||||
u32_le bss_start_offset;
|
||||
u32_le bss_end_offset;
|
||||
// https://github.com/Atmosphere-NX/Atmosphere/pull/2835/changes
|
||||
s32_le exception_info_start_offset;
|
||||
s32_le exception_info_end_offset;
|
||||
u32_le module_offset;
|
||||
u32_le relro_start_offset;
|
||||
u32_le full_relro_end_offset;
|
||||
u32_le nx_debug_link_start_offset;
|
||||
u32_le nx_debug_link_end_offset;
|
||||
u32_le note_gnu_build_id_start_offset;
|
||||
u32_le note_gnu_build_id_end_offset;
|
||||
};
|
||||
static_assert(sizeof(ModuleHeader) == 0x34);
|
||||
|
||||
|
||||
@@ -63,8 +63,9 @@ struct ModHeader {
|
||||
u32_le dynamic_offset;
|
||||
u32_le bss_start_offset;
|
||||
u32_le bss_end_offset;
|
||||
u32_le unwind_start_offset;
|
||||
u32_le unwind_end_offset;
|
||||
// https://github.com/Atmosphere-NX/Atmosphere/pull/2835/changes
|
||||
s32_le unwind_start_offset;
|
||||
s32_le unwind_end_offset;
|
||||
u32_le module_offset; // Offset to runtime-generated module object. typically equal to .bss base
|
||||
};
|
||||
static_assert(sizeof(ModHeader) == 0x1c, "ModHeader has incorrect size.");
|
||||
|
||||
@@ -35,8 +35,9 @@ struct MODHeader {
|
||||
u32_le dynamic_offset;
|
||||
u32_le bss_start_offset;
|
||||
u32_le bss_end_offset;
|
||||
u32_le eh_frame_hdr_start_offset;
|
||||
u32_le eh_frame_hdr_end_offset;
|
||||
// https://github.com/Atmosphere-NX/Atmosphere/pull/2835/changes
|
||||
s32_le eh_frame_hdr_start_offset;
|
||||
s32_le eh_frame_hdr_end_offset;
|
||||
u32_le module_offset; // Offset to runtime-generated module object. typically equal to .bss base
|
||||
};
|
||||
static_assert(sizeof(MODHeader) == 0x1c, "MODHeader has incorrect size.");
|
||||
|
||||
@@ -459,20 +459,8 @@ Instance Instance::Create(u32 version, Span<const char*> layers, Span<const char
|
||||
#else
|
||||
constexpr VkFlags ci_flags{};
|
||||
#endif
|
||||
// DO NOT TOUCH OR CHANGE THE ENGINE NAME/APPLICATION NAME, breaks RNDA3!!
|
||||
// AMD drivers have fixes for Yuzu
|
||||
// if remove => gloom + yellow line glitch appears
|
||||
#ifdef __ANDROID__
|
||||
const VkApplicationInfo application_info{
|
||||
.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO,
|
||||
.pNext = nullptr,
|
||||
.pApplicationName = "PUBGMobile",
|
||||
.applicationVersion = VK_MAKE_VERSION(1, 7, 0),
|
||||
.pEngineName = "UnrealEngine",
|
||||
.engineVersion = VK_MAKE_VERSION(4, 23, 0),
|
||||
.apiVersion = VK_API_VERSION_1_3,
|
||||
};
|
||||
#else
|
||||
// DO NOT TOUCH, breaks RNDA3!!
|
||||
// Don't know why, but gloom + yellow line glitch appears
|
||||
const VkApplicationInfo application_info{
|
||||
.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO,
|
||||
.pNext = nullptr,
|
||||
@@ -482,7 +470,6 @@ Instance Instance::Create(u32 version, Span<const char*> layers, Span<const char
|
||||
.engineVersion = VK_MAKE_VERSION(1, 3, 0),
|
||||
.apiVersion = VK_API_VERSION_1_3,
|
||||
};
|
||||
#endif
|
||||
const VkInstanceCreateInfo ci{
|
||||
.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,
|
||||
.pNext = nullptr,
|
||||
|
||||
Reference in New Issue
Block a user