MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetEntryPoint

Method GetEntryPoint

pcsx2/Elfheader.cpp:201–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201u32 ElfObject::GetEntryPoint() const
202{
203 if (isPSXElf)
204 {
205 if (HasValidPSXHeader())
206 return reinterpret_cast<const PSXEXEHeader*>(data.data())->initial_pc;
207 else
208 return 0xFFFFFFFFu;
209 }
210 else
211 {
212 return GetHeader().e_entry;
213 }
214}
215
216std::pair<u32,u32> ElfObject::GetTextRange() const
217{

Callers 1

UpdateELFInfoMethod · 0.80

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected