mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:32:43 +00:00
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@285 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
657dfff6f8
commit
8f6d7ad5e9
@ -1,6 +1,7 @@
|
|||||||
[General]
|
[General]
|
||||||
LastFilename =
|
LastFilename =
|
||||||
GCMPathes = 0
|
GCMPathes = 1
|
||||||
|
GCMPath0 = /home/ryan/Desktop/GCISOS
|
||||||
[Core]
|
[Core]
|
||||||
GFXPlugin = Plugins/libzeroogl.so
|
GFXPlugin = Plugins/libzeroogl.so
|
||||||
DSPPlugin = Plugins/libdsphle.so
|
DSPPlugin = Plugins/libdsphle.so
|
||||||
|
BIN
Binary/linux/WII/shared2/sys/SYSCONF
Normal file
BIN
Binary/linux/WII/shared2/sys/SYSCONF
Normal file
Binary file not shown.
1
Binary/linux/WII/shared2/sys/readme.txt
Normal file
1
Binary/linux/WII/shared2/sys/readme.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
This SYSCONF file describes a single registered Wiimote, with the Bluetooth address used by Dolphin.
|
BIN
Binary/linux/WII/title/00000001/00000002/data/setting.txt
Normal file
BIN
Binary/linux/WII/title/00000001/00000002/data/setting.txt
Normal file
Binary file not shown.
@ -52,10 +52,15 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
|
|||||||
{
|
{
|
||||||
std::string Extension;
|
std::string Extension;
|
||||||
SplitPath(m_strFilename, NULL, NULL, &Extension);
|
SplitPath(m_strFilename, NULL, NULL, &Extension);
|
||||||
|
#ifdef _WIN32
|
||||||
if (!_stricmp(Extension.c_str(), ".gcm") ||
|
if (!_stricmp(Extension.c_str(), ".gcm") ||
|
||||||
!_stricmp(Extension.c_str(), ".iso") ||
|
!_stricmp(Extension.c_str(), ".iso") ||
|
||||||
!_stricmp(Extension.c_str(), ".gcz") )
|
!_stricmp(Extension.c_str(), ".gcz") )
|
||||||
|
#else
|
||||||
|
if (!strcasecmp(Extension.c_str(), ".gcm") || //TODO(Sonic): Shouldn't these work on all platforms?
|
||||||
|
!strcasecmp(Extension.c_str(), ".iso") ||
|
||||||
|
!strcasecmp(Extension.c_str(), ".gcz") )
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
m_BootType = BOOT_ISO;
|
m_BootType = BOOT_ISO;
|
||||||
DiscIO::IVolume* pVolume = DiscIO::CreateVolumeFromFilename(m_strFilename.c_str());
|
DiscIO::IVolume* pVolume = DiscIO::CreateVolumeFromFilename(m_strFilename.c_str());
|
||||||
@ -92,20 +97,32 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
|
|||||||
|
|
||||||
delete pVolume;
|
delete pVolume;
|
||||||
}
|
}
|
||||||
|
#ifdef _WIN32
|
||||||
else if (!_stricmp(Extension.c_str(), ".elf"))
|
else if (!_stricmp(Extension.c_str(), ".elf"))
|
||||||
|
#else
|
||||||
|
else if (!strcasecmp(Extension.c_str(), ".elf"))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
bWii = CBoot::IsElfWii(m_strFilename.c_str());
|
bWii = CBoot::IsElfWii(m_strFilename.c_str());
|
||||||
BaseDataPath = s_DataBasePath_USA;
|
BaseDataPath = s_DataBasePath_USA;
|
||||||
m_BootType = BOOT_ELF;
|
m_BootType = BOOT_ELF;
|
||||||
bNTSC = true;
|
bNTSC = true;
|
||||||
}
|
}
|
||||||
|
#ifdef _WIN32
|
||||||
else if (!_stricmp(Extension.c_str(), ".bin"))
|
else if (!_stricmp(Extension.c_str(), ".bin"))
|
||||||
|
#else
|
||||||
|
else if (!strcasecmp(Extension.c_str(), ".bin"))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
BaseDataPath = s_DataBasePath_USA;
|
BaseDataPath = s_DataBasePath_USA;
|
||||||
m_BootType = BOOT_BIN;
|
m_BootType = BOOT_BIN;
|
||||||
bNTSC = true;
|
bNTSC = true;
|
||||||
}
|
}
|
||||||
|
#ifdef _WIN32
|
||||||
else if (!_stricmp(Extension.c_str(), ".dol"))
|
else if (!_stricmp(Extension.c_str(), ".dol"))
|
||||||
|
#else
|
||||||
|
else if (!strcasecmp(Extension.c_str(), ".dol"))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
BaseDataPath = s_DataBasePath_USA;
|
BaseDataPath = s_DataBasePath_USA;
|
||||||
m_BootType = BOOT_DOL;
|
m_BootType = BOOT_DOL;
|
||||||
|
@ -110,7 +110,11 @@ XSymbolIndex FindSymbol(const char *name)
|
|||||||
for (int i = 0; i < (int)m_VectorSymbols.size(); i++)
|
for (int i = 0; i < (int)m_VectorSymbols.size(); i++)
|
||||||
{
|
{
|
||||||
const CSymbol& rSymbol = m_VectorSymbols[i];
|
const CSymbol& rSymbol = m_VectorSymbols[i];
|
||||||
if (_stricmp(rSymbol.GetName().c_str(), name) == 0)
|
#ifdef _WIN32
|
||||||
|
if (!_stricmp(rSymbol.GetName().c_str(), name))
|
||||||
|
#else
|
||||||
|
if (!strcasecmp(rSymbol.GetName().c_str(), name))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
return (XSymbolIndex)i;
|
return (XSymbolIndex)i;
|
||||||
}
|
}
|
||||||
|
@ -51,8 +51,11 @@ CDebugger_Log::CDebugger_Log(const char* _szShortName, const char* _szName) :
|
|||||||
strcpy((char*)m_szName, _szName);
|
strcpy((char*)m_szName, _szName);
|
||||||
strcpy((char*)m_szShortName, _szShortName);
|
strcpy((char*)m_szShortName, _szShortName);
|
||||||
sprintf((char*)m_szFilename, "Logs/%s.txt", _szName);
|
sprintf((char*)m_szFilename, "Logs/%s.txt", _szName);
|
||||||
|
#ifdef _WIN32
|
||||||
_unlink(m_szFilename);
|
_unlink(m_szFilename);
|
||||||
|
#else
|
||||||
|
unlink(m_szFilename);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
CDebugger_Log::~CDebugger_Log(void)
|
CDebugger_Log::~CDebugger_Log(void)
|
||||||
|
@ -219,9 +219,9 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
|
|||||||
{
|
{
|
||||||
int sel = Debugger::FindSymbol(selection);
|
int sel = Debugger::FindSymbol(selection);
|
||||||
if (sel > 0) {
|
if (sel > 0) {
|
||||||
wxTextEntryDialog input_symbol(this, "Rename symbol:", wxGetTextFromUserPromptStr, Debugger::GetSymbol(sel).GetName().c_str());
|
wxTextEntryDialog input_symbol(this, wxString::FromAscii("Rename symbol:"), wxGetTextFromUserPromptStr, wxString::FromAscii(Debugger::GetSymbol(sel).GetName().c_str()));
|
||||||
if (input_symbol.ShowModal() == wxID_OK) {
|
if (input_symbol.ShowModal() == wxID_OK) {
|
||||||
Debugger::AccessSymbol(sel).SetName(input_symbol.GetValue().c_str());
|
Debugger::AccessSymbol(sel).SetName(input_symbol.GetValue().mb_str());
|
||||||
}
|
}
|
||||||
// redraw();
|
// redraw();
|
||||||
Host_NotifyMapLoaded();
|
Host_NotifyMapLoaded();
|
||||||
|
@ -225,7 +225,11 @@ CARCFile::FindFileInfo(std::string _rFullPath) const
|
|||||||
{
|
{
|
||||||
for (size_t i = 0; i < m_FileInfoVector.size(); i++)
|
for (size_t i = 0; i < m_FileInfoVector.size(); i++)
|
||||||
{
|
{
|
||||||
|
#ifdef _WIN32
|
||||||
if (!_stricmp(m_FileInfoVector[i].m_FullPath.c_str(), _rFullPath.c_str()))
|
if (!_stricmp(m_FileInfoVector[i].m_FullPath.c_str(), _rFullPath.c_str()))
|
||||||
|
#else
|
||||||
|
if (!strcasecmp(m_FileInfoVector[i].m_FullPath.c_str(), _rFullPath.c_str())) //TODO(Sonic): Shouldn't this work in all platforms?
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
return(&m_FileInfoVector[i]);
|
return(&m_FileInfoVector[i]);
|
||||||
}
|
}
|
||||||
|
@ -164,7 +164,11 @@ CFileSystemGCWii::FindFileInfo(const char* _rFullPath) const
|
|||||||
{
|
{
|
||||||
for (size_t i = 0; i < m_FileInfoVector.size(); i++)
|
for (size_t i = 0; i < m_FileInfoVector.size(); i++)
|
||||||
{
|
{
|
||||||
|
#ifdef _WIN32
|
||||||
if (!_stricmp(m_FileInfoVector[i].m_FullPath, _rFullPath))
|
if (!_stricmp(m_FileInfoVector[i].m_FullPath, _rFullPath))
|
||||||
|
#else
|
||||||
|
if (!strcasecmp(m_FileInfoVector[i].m_FullPath, _rFullPath)) //TODO(Sonic): Shouldn't this work in all platforms?
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
return(&m_FileInfoVector[i]);
|
return(&m_FileInfoVector[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user