Move sdmc_dir_t into 3ds/sdmc.h

This commit is contained in:
Michael Theall 2016-01-16 16:30:11 -06:00
parent 15cb718913
commit 0b40e7aa2f
2 changed files with 8 additions and 7 deletions

View File

@ -5,6 +5,14 @@
#pragma once
#include <3ds/types.h>
#include <3ds/services/fs.h>
/*! Open directory struct */
typedef struct
{
Handle fd; /*! CTRU handle */
FS_DirectoryEntry entry_data; /*! Temporary storage for reading entries */
} sdmc_dir_t;
/// Initializes the SDMC driver.
Result sdmcInit(void);

View File

@ -58,13 +58,6 @@ typedef struct
u64 offset; /*! Current file offset */
} sdmc_file_t;
/*! Open directory struct */
typedef struct
{
Handle fd; /*! CTRU handle */
FS_DirectoryEntry entry_data; /*! Temporary storage for reading entries */
} sdmc_dir_t;
/*! SDMC devoptab */
static devoptab_t
sdmc_devoptab =