Add support for Slot 2 flashcarts using Compact Flash (#84)

- Supercard CF (SUPERCARDCF)
- GBA Media Player CF (MPCF)
- M3 Adapter CF (M3CF)
- Max Media Dock CF (MMCF)
This commit is contained in:
Edoardo Lolletti
2026-01-10 23:00:39 +01:00
committed by GitHub
parent eac8f7e734
commit 6a97b677a7
22 changed files with 945 additions and 3 deletions

View File

@@ -15,6 +15,10 @@
#include "patches/platform/ezp/EzpLoaderPlatform.h"
#include "patches/platform/datel/DatelLoaderPlatform.h"
#include "patches/platform/stargate/StargateLoaderPlatform.h"
#include "patches/platform/supercardcf/SuperCardCFLoaderPlatform.h"
#include "patches/platform/mpcf/MPCFLoaderPlatform.h"
#include "patches/platform/m3cf/M3CFLoaderPlatform.h"
#include "patches/platform/mmcf/MMCFLoaderPlatform.h"
#include "LoaderPlatformFactory.h"
LoaderPlatform* LoaderPlatformFactory::CreateLoaderPlatform() const
@@ -49,6 +53,14 @@ LoaderPlatform* LoaderPlatformFactory::CreateLoaderPlatform() const
return new DatelLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_STARGATE)
return new StargateLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_SUPERCARDCF)
return new SuperCardCFLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_MPCF)
return new MPCFLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_M3CF)
return new M3CFLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_MMCF)
return new MMCFLoaderPlatform();
#else
#error "No loader platform defined"
return nullptr;