attempt at adding mirror instances and shito

This commit is contained in:
Arisotura
2023-03-25 00:10:40 +01:00
parent 9969736c87
commit 3fe7638f5a
5 changed files with 117 additions and 5 deletions

View File

@ -41,6 +41,8 @@ using namespace Platform;
namespace ROMManager
{
QStringList FullROMPath;
int CartType = -1;
std::string BaseROMDir = "";
std::string BaseROMName = "";
@ -729,6 +731,7 @@ bool LoadROM(QStringList filepath, bool reset)
if (NDSSave) delete NDSSave;
NDSSave = nullptr;
FullROMPath = filepath;
BaseROMDir = basepath;
BaseROMName = romname;
BaseAssetName = romname.substr(0, romname.rfind('.'));