lots of Wii disc parsing in place

This commit is contained in:
Jack Andersen
2015-06-27 19:43:53 -10:00
parent ccb67d0d0e
commit 03a371b7bf
17 changed files with 651 additions and 59 deletions

21
lib/FileIOFILE.cpp Normal file
View File

@@ -0,0 +1,21 @@
#include <sys/stat.h>
#include <stdexcept>
#include "IFileIO.hpp"
namespace NOD
{
class FileIOFILE : public IFileIO
{
const char* filepath;
public:
FileIOFILE(const char* path)
: filepath(path)
{
struct stat theStat;
if (stat(path, &theStat))
throw std::runtime_error("unable to ");
}
};
}