There was an error fetching the commit references. Please try again later.
kernel/process: Use accessors instead of class members for referencing segment array
Using member variables for referencing the segments array increases the size of the class in memory for little benefit. The same behavior can be achieved through the use of accessors that just return the relevant segment.
Showing
- src/core/hle/kernel/process.cpp 3 additions, 3 deletionssrc/core/hle/kernel/process.cpp
- src/core/hle/kernel/process.h 32 additions, 12 deletionssrc/core/hle/kernel/process.h
- src/core/loader/elf.cpp 3 additions, 3 deletionssrc/core/loader/elf.cpp
- src/core/loader/nro.cpp 1 addition, 1 deletionsrc/core/loader/nro.cpp
- src/core/loader/nso.cpp 1 addition, 1 deletionsrc/core/loader/nso.cpp
Loading
Please register or sign in to comment