mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 23:29:55 -06:00
hey look, more shit
This commit is contained in:
@ -33,6 +33,10 @@ public:
|
||||
EmuInstance(int inst);
|
||||
~EmuInstance();
|
||||
|
||||
int getInstanceID() { return instanceID; }
|
||||
EmuThread* getEmuThread() { return emuThread; }
|
||||
melonDS::NDS* getNDS() { return nds; }
|
||||
|
||||
void createWindow();
|
||||
|
||||
// return: empty string = setup OK, non-empty = error message
|
||||
@ -40,6 +44,18 @@ public:
|
||||
|
||||
bool updateConsole(UpdateConsoleNDSArgs&& ndsargs, UpdateConsoleGBAArgs&& gbaargs) noexcept;
|
||||
|
||||
void enableCheats(bool enable);
|
||||
melonDS::ARCodeFile* getCheatFile();
|
||||
|
||||
void romIcon(const melonDS::u8 (&data)[512],
|
||||
const melonDS::u16 (&palette)[16],
|
||||
melonDS::u32 (&iconRef)[32*32]);
|
||||
void animatedROMIcon(const melonDS::u8 (&data)[8][512],
|
||||
const melonDS::u16 (&palette)[8][16],
|
||||
const melonDS::u16 (&sequence)[64],
|
||||
melonDS::u32 (&animatedIconRef)[64][32*32],
|
||||
std::vector<int> &animatedSequenceRef);
|
||||
|
||||
private:
|
||||
static int lastSep(const std::string& path);
|
||||
std::string getAssetPath(bool gba, const std::string& configpath, const std::string& ext, const std::string& file);
|
||||
@ -68,8 +84,6 @@ private:
|
||||
std::optional<melonDS::DSi_NAND::NANDImage> loadNAND(const std::array<melonDS::u8, melonDS::DSiBIOSSize>& arm7ibios) noexcept;
|
||||
std::optional<melonDS::FATStorageArgs> getSDCardArgs(const std::string& key) noexcept;
|
||||
std::optional<melonDS::FATStorage> loadSDCard(const std::string& key) noexcept;
|
||||
void enableCheats(bool enable);
|
||||
melonDS::ARCodeFile* getCheatFile();
|
||||
void setBatteryLevels();
|
||||
void setDateTime();
|
||||
void reset();
|
||||
@ -90,8 +104,6 @@ private:
|
||||
void ejectGBACart();
|
||||
bool gbaCartInserted();
|
||||
QString gbaCartLabel();
|
||||
void romIcon(const melonDS::u8 (&data)[512], const melonDS::u16 (&palette)[16], melonDS::u32 (&iconRef)[32*32]);
|
||||
void animatedROMIcon(const melonDS::u8 (&data)[8][512], const melonDS::u16 (&palette)[8][16], const melonDS::u16 (&sequence)[64], melonDS::u32 (&animatedIconRef)[64][32*32], std::vector<int> &animatedSequenceRef);
|
||||
|
||||
int instanceID;
|
||||
|
||||
|
Reference in New Issue
Block a user