Add NDS screenshot tutorial link

This commit is contained in:
jschoeny
2026-01-10 09:37:11 -10:00
parent 76e50da50d
commit 06cc2a558e
3 changed files with 53 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
import type { Platform } from "./baseRoms";
export type ScreenshotTutorial = {
url: string;
emulatorName: string;
};
export const screenshotTutorials: Partial<Record<Platform, ScreenshotTutorial>> = {
NDS: {
url: "https://youtu.be/3lP7Cdk7Gpo",
emulatorName: "DeSmuMe",
},
};
export function getScreenshotTutorial(platform: Platform | undefined): ScreenshotTutorial | null {
if (!platform) return null;
return screenshotTutorials[platform] || null;
}