mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Reduce the use of string objects slightly. Add Delete ISO feature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@610 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -143,7 +143,7 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
|
||||
m_strMemoryCardA = BaseDataPath + "/MemoryCardA.raw";
|
||||
m_strMemoryCardB = BaseDataPath + "/MemoryCardB.raw";
|
||||
m_strSRAM = BaseDataPath + "/SRAM.raw";
|
||||
if (!File::Exists(m_strBios)) {
|
||||
if (!File::Exists(m_strBios.c_str())) {
|
||||
LOG(BOOT, "BIOS file %s not found - using HLE.", m_strBios.c_str());
|
||||
bHLEBios = true;
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ void CEXIMemoryCard::Flush(bool exiting)
|
||||
{
|
||||
std::string dir;
|
||||
SplitPath(m_strFilename, &dir, 0, 0);
|
||||
File::CreateDir(dir);
|
||||
File::CreateDir(dir.c_str());
|
||||
pFile = fopen(m_strFilename.c_str(), "wb");
|
||||
}
|
||||
if (!pFile) //Note - pFile changed inside above if
|
||||
|
Reference in New Issue
Block a user