mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-18 01:28:36 +00:00
ENABLE_QT_GUI
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
#include "common/alignment.h"
|
||||
#include "common/assert.h"
|
||||
#include "common/logging/log.h"
|
||||
#ifdef ENABLE_QT_GUI
|
||||
#include "common/memory_patcher.h"
|
||||
#endif
|
||||
#include "common/string_util.h"
|
||||
#include "core/aerolib/aerolib.h"
|
||||
#include "core/cpu_patches.h"
|
||||
@@ -194,6 +196,7 @@ void Module::LoadModuleToMemory(u32& max_tls_index) {
|
||||
const VAddr entry_addr = base_virtual_addr + elf.GetElfEntry();
|
||||
LOG_INFO(Core_Linker, "program entry addr ..........: {:#018x}", entry_addr);
|
||||
|
||||
#ifdef ENABLE_QT_GUI
|
||||
if (MemoryPatcher::g_eboot_address == 0) {
|
||||
if (name == "eboot") {
|
||||
MemoryPatcher::g_eboot_address = base_virtual_addr;
|
||||
@@ -201,6 +204,7 @@ void Module::LoadModuleToMemory(u32& max_tls_index) {
|
||||
MemoryPatcher::OnGameLoaded();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void Module::LoadDynamicInfo() {
|
||||
|
||||
Reference in New Issue
Block a user