/sys/cc.sys

From WiiBrew
Jump to navigation Jump to search
/sys/cc.sys
TypeGeneric file
OwnerIOS
Group ID0

/sys/cc.sys is a file that seems to be created by ES when it bootstraps the Broadway if the ticket for the current title includes a time limit.

Format

cc.sys is made up of many ccEntry entries that are each 0x48 bytes.

struct ccEntry {
	u64 ticketId;
	struct ccConsumption consumption[8];
}

struct ccConsumption {
	u32 type; // 0 = disable, 1 = time (minutes), 3 = disable, 4 = launchCount
	u32 usage; // total amount of {type} used
}