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:
parent
cdadc4875d
commit
8359434381
|
@ -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)
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue