aboutsummaryrefslogtreecommitdiff
path: root/sdk-modifications/libsrc/fs/disc_io/io_ds2_mmcf.h
diff options
context:
space:
mode:
authoraliaspider2014-10-28 06:47:04 +0100
committeraliaspider2014-10-28 06:47:04 +0100
commitad4866e0cb1f7ddefbe1e31a890741e4cbc50181 (patch)
tree86b8351ca560156abbeaed5e2c1964de38a49544 /sdk-modifications/libsrc/fs/disc_io/io_ds2_mmcf.h
parent2b75359c7ea0485b509460ea81606ac8052a6333 (diff)
downloadsnes9x2005-ad4866e0cb1f7ddefbe1e31a890741e4cbc50181.tar.gz
snes9x2005-ad4866e0cb1f7ddefbe1e31a890741e4cbc50181.tar.bz2
snes9x2005-ad4866e0cb1f7ddefbe1e31a890741e4cbc50181.zip
remove unused files
Diffstat (limited to 'sdk-modifications/libsrc/fs/disc_io/io_ds2_mmcf.h')
-rwxr-xr-xsdk-modifications/libsrc/fs/disc_io/io_ds2_mmcf.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/sdk-modifications/libsrc/fs/disc_io/io_ds2_mmcf.h b/sdk-modifications/libsrc/fs/disc_io/io_ds2_mmcf.h
deleted file mode 100755
index 334a9bc..0000000
--- a/sdk-modifications/libsrc/fs/disc_io/io_ds2_mmcf.h
+++ /dev/null
@@ -1,63 +0,0 @@
-#ifndef __IO_DS2_H__
-#define __IO_DS2_H__
-
-// 'DS2F'
-#define DEVICE_TYPE_DS2_MMCF 0x46434D4D
-
-#include "disc_io.h"
-#include "ds2_mmc_api.h"
-
-// export interface
-extern const IO_INTERFACE _io_ds2_mmcf ;
-
-/* initialize MMC/SD card */
-static inline bool _MMC_StartUp(void)
-{
- return MMC_Initialize();
-}
-
-/* read multi blocks from MMC/SD card */
-/* read a single block from MMC/SD card */
-static inline bool _MMC_ReadSectors(u32 sector, u32 numSectors, void* buffer)
-{
- int flag;
-
- if(numSectors > 1)
- flag= MMC_ReadMultiBlock(sector, numSectors, (unsigned char*)buffer);
- else
- flag= MMC_ReadBlock(sector, (unsigned char*)buffer);
- return (flag==MMC_NO_ERROR);
-}
-
-/* write multi blocks from MMC/SD card */
-/* write a single block from MMC/SD card */
-static inline bool _MMC_WriteSectors(u32 sector, u32 numSectors, const void* buffer)
-{
- int flag;
-
- if(numSectors > 1)
- flag= MMC_WriteMultiBlock(sector, numSectors, (unsigned char*)buffer);
- else
- flag= MMC_WriteBlock(sector, (unsigned char*)buffer);
-
- return (flag==MMC_NO_ERROR);
-}
-
-static inline bool _MMC_ClearStatus(void)
-{
- return true;
-}
-
-static inline bool _MMC_ShutDown(void)
-{
- return true;
-}
-
-static inline bool _MMC_IsInserted(void)
-{
- return true;
-}
-
-
-#endif //__IO_DS2_H__
-