Skip to content

Commit af8c748

Browse files
authored
elf_info: Fix GCC build. (#2089)
1 parent 3e5d4bb commit af8c748

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/elf_info.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class ElfInfo {
111111
return raw_firmware_ver;
112112
}
113113

114-
[[nodiscard]] const PSFAttributes& PSFAttributes() const {
114+
[[nodiscard]] const PSFAttributes& GetPSFAttributes() const {
115115
ASSERT(initialized);
116116
return psf_attributes;
117117
}

src/core/libraries/kernel/process.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Libraries::Kernel {
1515
int PS4_SYSV_ABI sceKernelIsNeoMode() {
1616
LOG_DEBUG(Kernel_Sce, "called");
1717
return Config::isNeoModeConsole() &&
18-
Common::ElfInfo::Instance().PSFAttributes().support_neo_mode;
18+
Common::ElfInfo::Instance().GetPSFAttributes().support_neo_mode;
1919
}
2020

2121
int PS4_SYSV_ABI sceKernelGetCompiledSdkVersion(int* ver) {

0 commit comments

Comments
 (0)