From bcef1cb04d326ffffe71ad3fab267520b872aa11 Mon Sep 17 00:00:00 2001 From: Neil Millstone Date: Fri, 19 Jan 2007 21:36:47 +0000 Subject: Adding libcartreset to ARM7 binary svn-id: r25122 --- .../arm7/source/libcartreset/cartreset_nolibfat.h | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 backends/platform/ds/arm7/source/libcartreset/cartreset_nolibfat.h (limited to 'backends/platform/ds/arm7/source/libcartreset/cartreset_nolibfat.h') diff --git a/backends/platform/ds/arm7/source/libcartreset/cartreset_nolibfat.h b/backends/platform/ds/arm7/source/libcartreset/cartreset_nolibfat.h new file mode 100644 index 0000000000..133ae97e0f --- /dev/null +++ b/backends/platform/ds/arm7/source/libcartreset/cartreset_nolibfat.h @@ -0,0 +1,56 @@ +/********************************** + Copyright (C) Rick Wong (Lick) + http://licklick.wordpress.com/ +***********************************/ +#ifndef CARTRESET_H +#define CARTRESET_H + +#include + + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef ARM9 +// Auto detect: +#define DEVICE_TYPE_AUTO 0x00000000 // doesn't work in libcartreset "nolibfat" version + +// Not supported: +#define DEVICE_TYPE_FCSR 0x52534346 +#define DEVICE_TYPE_MMCF 0x46434D4D +#define DEVICE_TYPE_NJSD 0x44534A4E +#define DEVICE_TYPE_NMMC 0x434D4D4E + +// Supported: +#define DEVICE_TYPE_EFA2 0x32414645 +#define DEVICE_TYPE_MPCF 0x4643504D +#define DEVICE_TYPE_M3CF 0x4643334D +#define DEVICE_TYPE_M3SD 0x4453334D +#define DEVICE_TYPE_SCCF 0x46434353 +#define DEVICE_TYPE_SCSD 0x44534353 + +// Supported, but libfat doesn't detect the device: +#define DEVICE_TYPE_EZSD 0x44535A45 + + +bool cartSetMenuMode(u32 _deviceType); +void passmeloopEnter(); + +#endif + + +#ifdef ARM7 + +bool passmeloopQuery(); +void cartExecute(); + +#endif + + +#ifdef __cplusplus +} +#endif + +#endif + -- cgit v1.2.3