mirror of
https://github.com/Alcaro/Flips.git
synced 2026-09-08 02:25:24 -05:00
Start shoving all this config to something platform-independent.
This commit is contained in:
40
flips.cpp
40
flips.cpp
@@ -176,6 +176,42 @@ enum patchtype IdentifyPatch(file* patch)
|
||||
return ty_null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
config::config(struct mem contents)
|
||||
{
|
||||
}
|
||||
|
||||
config::config(LPCWSTR filename)
|
||||
{
|
||||
}
|
||||
|
||||
void config::setbin(const char * name, struct mem value)
|
||||
{
|
||||
}
|
||||
|
||||
struct mem config::getbin(const char * name)
|
||||
{
|
||||
}
|
||||
|
||||
struct mem config::flatten()
|
||||
{
|
||||
}
|
||||
|
||||
config::~config()
|
||||
{
|
||||
if (this->filename) filewrite::write(this->filename, this->contents);
|
||||
free(this->filename);
|
||||
free(this->contents.ptr);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
enum {
|
||||
ch_crc32,
|
||||
ch_last
|
||||
@@ -349,6 +385,10 @@ void DeleteRomFromList(LPCWSTR path)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
static struct errorinfo error(errorlevel level, const char * text)
|
||||
{
|
||||
struct errorinfo errinf = { level, text };
|
||||
|
||||
Reference in New Issue
Block a user