pcsx2:windows: Fix unreferenced local variable warning

Also fix some typos in the warning messages.
This commit is contained in:
Jonathan Li 2017-01-31 21:45:10 +00:00
parent 5751e38180
commit c65e467c83
1 changed files with 3 additions and 3 deletions

View File

@ -2050,10 +2050,10 @@ static void cdvdWrite16(u8 rt) // SCOMMAND
//Console.WriteLn("SCMD - 0x%x\n", rt);
cdvd.ParamP = 0;
cdvd.ParamC = 0;
} catch (Exception::CannotCreateStream& ex) {
} catch (Exception::CannotCreateStream&) {
Cpu->ThrowException(Exception::RuntimeError()
.SetDiagMsg(L"Failed to read/write NMV/MEC file.")
.SetUserMsg(pxE( L"Failed to read/write NMV/MEC file. Check your bios setup/permission settings"))
.SetDiagMsg(L"Failed to read/write NVM/MEC file.")
.SetUserMsg(pxE( L"Failed to read/write NVM/MEC file. Check your BIOS setup/permission settings."))
);
}
}