nn::dbg::CTR::GetArgBinarySize Function

Syntax

#include <nn/dbg.h>
size_t GetArgBinarySize(
     void
);

Parameters

None.

Return Values

Size of the binary region stored in the startup argument buffer.

Description

Gets the size of the argument buffer stored in binary.

Returns 0 if the startup argument buffer does not contain binary data or if there is no startup argument buffer.

  // Binary data display
  const void* pArea = nn::dbg::CTR::GetArgBinary();
  size_t size       = nn::dbg::CTR::GetArgBinarySize();

  NN_LOG("buffer 0x%x size 0x%x\n", pArea, size);

Always returns 0 in release builds.

Revision History

2011/12/14
Initial version.

CONFIDENTIAL