platform: add support for the EZ-Flash Parallel

This commit is contained in:
lifehackerhansol
2025-01-07 12:49:04 -08:00
parent 8761081c73
commit 0dd41f4220
10 changed files with 337 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
#include "patches/platform/akrpg/AKRPGLoaderPlatform.h"
#include "patches/platform/r4idsn/R4iDSNLoaderPlatform.h"
#include "patches/platform/supercard/SuperCardLoaderPlatform.h"
#include "patches/platform/ezp/EZPLoaderPlatform.h"
#include "LoaderPlatformFactory.h"
LoaderPlatform* LoaderPlatformFactory::CreateLoaderPlatform() const
@@ -40,6 +41,8 @@ LoaderPlatform* LoaderPlatformFactory::CreateLoaderPlatform() const
return new R4iDSNLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_SUPERCARD)
return new SuperCardLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_EZP)
return new EZPLoaderPlatform();
#else
#error "No loader platform defined"
return nullptr;