mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-29 10:29:41 -06:00
Custom path support (#1333)
also including: * getting rid of shitty strings * all new, cleaner ROM handling code * base for DSi savestates * GBA slot addons (for now, memory cart)
This commit is contained in:
@ -19,13 +19,14 @@
|
||||
#ifndef ARCODEFILE_H
|
||||
#define ARCODEFILE_H
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
#include "types.h"
|
||||
|
||||
struct ARCode
|
||||
{
|
||||
char Name[128];
|
||||
std::string Name;
|
||||
bool Enabled;
|
||||
u32 CodeLen;
|
||||
u32 Code[2*64];
|
||||
@ -35,7 +36,7 @@ typedef std::list<ARCode> ARCodeList;
|
||||
|
||||
struct ARCodeCat
|
||||
{
|
||||
char Name[128];
|
||||
std::string Name;
|
||||
ARCodeList Codes;
|
||||
};
|
||||
|
||||
@ -45,7 +46,7 @@ typedef std::list<ARCodeCat> ARCodeCatList;
|
||||
class ARCodeFile
|
||||
{
|
||||
public:
|
||||
ARCodeFile(const char* filename);
|
||||
ARCodeFile(std::string filename);
|
||||
~ARCodeFile();
|
||||
|
||||
bool Error;
|
||||
@ -56,7 +57,7 @@ public:
|
||||
ARCodeCatList Categories;
|
||||
|
||||
private:
|
||||
char Filename[1024];
|
||||
std::string Filename;
|
||||
};
|
||||
|
||||
#endif // ARCODEFILE_H
|
||||
|
Reference in New Issue
Block a user