mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
- quit sysreg when checkpoint USETUP_COMPLETED is reached
svn path=/trunk/; revision=24594
This commit is contained in:
parent
c58fc3041a
commit
af697b174a
|
@ -137,6 +137,21 @@ namespace Sysreg_
|
|||
|
||||
cerr << line << endl;
|
||||
|
||||
if (line.find (_T("SYSREG_CHECKPOINT")) != string::npos)
|
||||
{
|
||||
line.erase (0, line.find (_T("SYSREG_CHECKPOINT")) + 19);
|
||||
if (!_tcsncmp(line.c_str (), _T("USETUP_COMPLETE"), 15))
|
||||
{
|
||||
///
|
||||
/// we need to stop the emulator to avoid
|
||||
/// looping again into USETUP (at least with bootcdregtest)
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
if (line.find (_T("*** Fatal System Error")) != string::npos)
|
||||
{
|
||||
cerr << "BSOD detected" <<endl;
|
||||
|
|
Loading…
Reference in a new issue