The main segment of a release, as the console loads it.
More...
#include <consolesegment.h>
The main segment of a release, as the console loads it.
◆ Load()
Read the main segment of a release and the manifest of its cartridge.
- Parameters
-
| release | The selected cartridge directory, n64/base of the prepared assets. |
- Returns
- The segment, or nothing with the reason logged.
◆ Has()
| bool coastline::ConsoleSegment::Has |
( |
u32 | address, |
|
|
u32 | size ) const |
- Parameters
-
| address | An address of the console. |
| size | The bytes from the address. |
- Returns
- Whether the bytes are inside the segment.
◆ Byte()
| u8 coastline::ConsoleSegment::Byte |
( |
u32 | address | ) |
const |
- Parameters
-
| address | An address of the console. |
- Returns
- The byte there, or 0 outside the segment.
◆ Word()
| u32 coastline::ConsoleSegment::Word |
( |
u32 | address | ) |
const |
- Parameters
-
| address | An address of the console. |
- Returns
- The big-endian word there.
◆ Signed()
| s32 coastline::ConsoleSegment::Signed |
( |
u32 | address | ) |
const |
- Parameters
-
| address | An address of the console. |
- Returns
- The big-endian word there as a signed number.
◆ Float()
| f32 coastline::ConsoleSegment::Float |
( |
u32 | address | ) |
const |
- Parameters
-
| address | An address of the console. |
- Returns
- The big-endian float there.
◆ Text()
- Parameters
-
| address | An address of the console. |
- Returns
- The string that ends at the first zero from the address.
◆ AssetName()
- Parameters
-
| romStart | Where an asset starts on the cartridge. |
- Returns
- The name of the asset in the import, such as data/g_texLogo, or nothing.
The documentation for this class was generated from the following file: