mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Linux: I made Sconscript call wx-config inside of the main SConstruct, added a nowx argument, Made the filesystemviewer use the correct struct and fixed a silly scissor error that was made
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@589 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -18,14 +18,14 @@ files = ["LogWindow.cpp",
|
||||
wxenv = env.Clone()
|
||||
wxenv.Append(
|
||||
CXXFLAGS = ' ' + ' '.join([
|
||||
'`wx-config --cppflags`',
|
||||
env['WXCPPFLAGS'],
|
||||
'-DUSE_XPM_BITMAPS',
|
||||
'-DwxNEEDS_CHARPP'
|
||||
]),
|
||||
LINKFLAGS = ' ' + ' '.join([
|
||||
'-L/usr/local/lib',
|
||||
'-pthread',
|
||||
'`wx-config --libs --debug`'
|
||||
env['WXLIBFLAGS'],
|
||||
])
|
||||
)
|
||||
wxenv.StaticLibrary("debwx", files, LIBS = [ "common" ])
|
||||
|
@ -22,6 +22,16 @@
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
// file info of an FST entry
|
||||
struct SFileInfo
|
||||
{
|
||||
u32 m_NameOffset;
|
||||
u64 m_Offset;
|
||||
u32 m_FileSize;
|
||||
char m_FullPath[512];
|
||||
|
||||
bool IsDirectory() {return((m_NameOffset& 0xFF000000) != 0 ? true : false);}
|
||||
};
|
||||
class IFileSystem
|
||||
{
|
||||
public:
|
||||
|
@ -23,16 +23,6 @@
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
// file info of an FST entry
|
||||
struct SFileInfo
|
||||
{
|
||||
u32 m_NameOffset;
|
||||
u64 m_Offset;
|
||||
u32 m_FileSize;
|
||||
char m_FullPath[512];
|
||||
|
||||
bool IsDirectory() {return((m_NameOffset& 0xFF000000) != 0 ? true : false);}
|
||||
};
|
||||
namespace DiscIO
|
||||
{
|
||||
class IVolume
|
||||
|
@ -41,7 +41,7 @@ CFilesystemViewer::CFilesystemViewer(const std::string fileName, wxWindow* paren
|
||||
{
|
||||
OpenIso = DiscIO::CreateVolumeFromFilename(fileName);
|
||||
pFileSystem = DiscIO::CreateFileSystem(*OpenIso);
|
||||
std::vector<SFileInfo> Our_Files;
|
||||
std::vector<DiscIO::SFileInfo> Our_Files;
|
||||
pFileSystem->GetFileList(&Our_Files);
|
||||
CreateGUIControls();
|
||||
|
||||
|
@ -24,7 +24,7 @@ libs = [
|
||||
wxenv = env.Clone()
|
||||
wxenv.Append(
|
||||
CXXFLAGS = ' ' + ' '.join([
|
||||
'`wx-config --cppflags`',
|
||||
env['WXCPPFLAGS'],
|
||||
'-DUSE_XPM_BITMAPS',
|
||||
'-DwxNEEDS_CHARPP',
|
||||
'`sdl-config --cflags`',
|
||||
@ -32,7 +32,7 @@ wxenv.Append(
|
||||
LINKFLAGS = ' ' + ' '.join([
|
||||
'-L/usr/local/lib',
|
||||
'-pthread',
|
||||
'`wx-config --libs`',
|
||||
env['WXLIBFLAGS'],
|
||||
'`sdl-config --libs`'
|
||||
])
|
||||
)
|
||||
|
Reference in New Issue
Block a user