attempt to fix build issues on gentoo

also moves the archive function definitions outside out driver.h, because they are being handled platform dependently.  Could someone on windows test this out?
This commit is contained in:
punkrockguy318 2008-07-23 02:27:35 +00:00
parent cdadc4875d
commit 8359434381
3 changed files with 14 additions and 8 deletions

View File

@ -5,7 +5,7 @@ import sys
opts = Options()
opts.AddOptions(
#BoolOption('PSS_STYLE', 'Path separator style', 1),
BoolOption('LSB_FIRST', 'Least significant byte first?', None),
#BoolOption('LSB_FIRST', 'Least significant byte first?', None),
BoolOption('FRAMESKIP', 'Enable frameskipping', 0),
BoolOption('OPENGL', 'Enable OpenGL support (SDL only)', 1)
)

View File

@ -319,12 +319,6 @@ enum EFCEUI
//checks whether an EFCEUI is valid right now
bool FCEU_IsValidUI(EFCEUI ui);
//if you want to autopilot this, pass in an innerfilename to try and automatically load
FCEUFILE* FCEUD_OpenArchive(ArchiveScanRecord& asr, std::string& fname, std::string* innerFilename);
//scans a file to see if it is an archive you can handle
ArchiveScanRecord FCEUD_ScanArchive(std::string fname);
#ifdef __cplusplus
extern "C"
#endif

View File

@ -1,6 +1,18 @@
#ifndef _ARCHIVE_H_
#define _ARCHIVE_H_
#include <string>
#include "types.h"
//#include "git.h"
#include "file.h"
void initArchiveSystem();
#endif
//if you want to autopilot this, pass in an innerfilename to try and automatically load
FCEUFILE* FCEUD_OpenArchive(ArchiveScanRecord& asr, std::string& fname, std::string* innerFilename);
//scans a file to see if it is an archive you can handle
ArchiveScanRecord FCEUD_ScanArchive(std::string fname);
#endif