mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-08 02:25:56 +00:00
- Fixed: Crash when loading a rom with an unknown file extension.
- Fixed: Crash when stopping a game. - Improved: DirectX Plugin. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@237 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e3f3a7a41d
commit
8c132bdae5
19 changed files with 429 additions and 152 deletions
|
@ -28,7 +28,7 @@ bool File::IsDirectory(const std::string &filename) {
|
|||
|
||||
std::string SanitizePath(const std::string &filename) {
|
||||
std::string copy = filename;
|
||||
for (int i = 0; i < copy.size(); i++)
|
||||
for (size_t i = 0; i < copy.size(); i++)
|
||||
if (copy[i] == '/')
|
||||
copy[i] = '\\';
|
||||
return copy;
|
||||
|
@ -81,4 +81,4 @@ bool File::CreateDir(const std::string &path)
|
|||
#else
|
||||
// TODO: Insert POSIX code here.
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
@ -323,7 +323,7 @@ bool IniFile::Load(const char* filename)
|
|||
{
|
||||
if (line[0] == '[')
|
||||
{
|
||||
int endpos = (int)line.find("]");
|
||||
size_t endpos = line.find("]");
|
||||
|
||||
if (endpos != std::string::npos)
|
||||
{
|
||||
|
|
|
@ -555,7 +555,7 @@ namespace Gen
|
|||
}
|
||||
}
|
||||
|
||||
void POP(int bits, const OpArg ®)
|
||||
void POP(int /*bits*/, const OpArg ®)
|
||||
{
|
||||
if (reg.IsSimpleReg())
|
||||
POP(reg.GetSimpleReg());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue