mirror of
https://github.com/coderkei/akmenu-next.git
synced 2025-06-18 08:55:46 -04:00

- Rework how the package is built - Added small icons view mode - Fixed view mode not being saved - Reverted DSiWare support (User is notified instead) - Autoboot files are now part of the repo - Added option to force DS-Only mode. - Added new default theme
31 lines
787 B
C++
31 lines
787 B
C++
/*
|
|
Copyright (C) 2024 lifehackerhansol
|
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <nds/ndstypes.h>
|
|
#include "../language.h"
|
|
#include "../ui/msgbox.h"
|
|
|
|
static inline void printLoaderNotFound(std::string loaderPath) {
|
|
akui::messageBox(NULL, LANG("loader", "not found"), loaderPath, MB_OK);
|
|
}
|
|
|
|
static inline void printMessage(std::string infoMsg) {
|
|
akui::messageBox(NULL, LANG("loader", "info"), infoMsg, MB_OK);
|
|
}
|
|
|
|
static inline void printError(std::string errorMsg) {
|
|
akui::messageBox(NULL, LANG("loader", "error"), errorMsg, MB_OK);
|
|
}
|
|
|
|
class ILauncher {
|
|
public:
|
|
virtual ~ILauncher() {}
|
|
virtual bool launchRom(std::string romPath, std::string savePath, u32 flags, u32 cheatOffset,
|
|
u32 cheatSize) = 0;
|
|
};
|