platform: add support for the Stargate 3DS (#71)

This commit is contained in:
lifehackerhansol
2025-12-28 12:22:56 -08:00
committed by GitHub
parent 26f27a4138
commit 06c1f22cd1
11 changed files with 373 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
#include "patches/platform/supercard/SuperCardLoaderPlatform.h"
#include "patches/platform/ezp/EZPLoaderPlatform.h"
#include "patches/platform/datel/DatelLoaderPlatform.h"
#include "patches/platform/stargate/StargateLoaderPlatform.h"
#include "LoaderPlatformFactory.h"
LoaderPlatform* LoaderPlatformFactory::CreateLoaderPlatform() const
@@ -46,6 +47,8 @@ LoaderPlatform* LoaderPlatformFactory::CreateLoaderPlatform() const
return new EZPLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_DATEL)
return new DatelLoaderPlatform();
#elif defined(PICO_LOADER_TARGET_STARGATE)
return new StargateLoaderPlatform();
#else
#error "No loader platform defined"
return nullptr;