mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Initial commit
This commit is contained in:
22
common/fileInfo.h
Normal file
22
common/fileInfo.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#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)
|
||||
Reference in New Issue
Block a user