Files
pico-loader/common/fileInfo.h

23 lines
467 B
C
Raw Permalink Normal View History

2025-11-22 11:08:28 +01:00
#pragma once
#include "sharedMemory.h"
struct rom_file_info_t
{
u32 clusterShift;
u32 database;
u32 clusterMask;
u32 clusterMap[124];
u32 fileSize;
};
struct save_file_info_t
{
u32 clusterShift;
u32 database;
u32 clusterMask;
u32 clusterMap[29];
};
#define SHARED_ROM_FILE_INFO ((rom_file_info_t*)TWL_SHARED_MEMORY->ntrSharedMem.gap0)
#define SHARED_SAVE_FILE_INFO ((save_file_info_t*)TWL_SHARED_MEMORY->ntrSharedMem.gap200)