Debugging: Added 'insert nop' to menu, added 'show history' code for interpreter mode

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3388 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-06-09 05:26:39 +00:00
parent bb412e5641
commit 33a0f0838b
9 changed files with 82 additions and 35 deletions

View File

@ -99,7 +99,7 @@ void LogManager::Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
va_end(args);
static const char level_to_char[7] = "-NEWID";
sprintf(msg, "%s %c: %s %s\n",
sprintf(msg, "%s %c[%s]: %s\n",
Common::Timer::GetTimeFormatted().c_str(),
level_to_char[(int)level],
log->getShortName(),

View File

@ -53,7 +53,7 @@ bool MsgAlert(const char* caption, bool yes_no, int Style, const char* format, .
ERROR_LOG(MASTER_LOG, "%s: %s", caption, buffer);
// Don't ignore questions, especially AskYesNo, PanicYesNo could be ignored
if (msg_handler && (AlertEnabled || yes_no)) {
if (msg_handler && (AlertEnabled || Style == QUESTION)) {
ret = msg_handler(caption, buffer, yes_no, Style);
}
return ret;