mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-23 03:05:27 +00:00
Update NroProcess to support processing Nro ro_crt properly.
This commit is contained in:
parent
5e4f4b90f8
commit
1aaddcaa3f
2
deps/libnintendo-hac
vendored
2
deps/libnintendo-hac
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 6dd23c3c461491a8a639dc80687f9464c35be1f0
|
Subproject commit 231b7aeba9f2831c629129e890c66642de7c3a12
|
|
@ -128,7 +128,9 @@ void NroProcess::importCodeSegments()
|
||||||
void NroProcess::displayHeader()
|
void NroProcess::displayHeader()
|
||||||
{
|
{
|
||||||
std::cout << "[NRO Header]" << std::endl;
|
std::cout << "[NRO Header]" << std::endl;
|
||||||
std::cout << " RoCrt: " << fnd::SimpleTextOutput::arrayToString(mHdr.getRoCrt().data, nn::hac::nro::kRoCrtSize, false, "") << std::endl;
|
std::cout << " RoCrt: " << std::endl;
|
||||||
|
std::cout << " EntryInsn: 0x" << std::hex << mHdr.getRoCrtEntryInsn() << std::endl;
|
||||||
|
std::cout << " ModOffset: 0x" << std::hex << mHdr.getRoCrtModOffset() << std::endl;
|
||||||
std::cout << " ModuleId: " << fnd::SimpleTextOutput::arrayToString(mHdr.getModuleId().data, nn::hac::nro::kModuleIdSize, false, "") << std::endl;
|
std::cout << " ModuleId: " << fnd::SimpleTextOutput::arrayToString(mHdr.getModuleId().data, nn::hac::nro::kModuleIdSize, false, "") << std::endl;
|
||||||
std::cout << " NroSize: 0x" << std::hex << mHdr.getNroSize() << std::endl;
|
std::cout << " NroSize: 0x" << std::hex << mHdr.getNroSize() << std::endl;
|
||||||
std::cout << " Program Sections:" << std::endl;
|
std::cout << " Program Sections:" << std::endl;
|
||||||
|
|
Loading…
Reference in a new issue