LOG macro improved

This commit is contained in:
Nekotekina 2016-08-15 00:04:42 +03:00
parent 1f3433464c
commit cc46f2d7e6
3 changed files with 10 additions and 10 deletions

View file

@ -359,7 +359,7 @@ void GLFragmentProgram::Compile()
delete[] buf;
}
LOG_NOTICE(RSX, shader.c_str()); // Log the text of the shader that failed to compile
LOG_NOTICE(RSX, "%s", shader); // Log the text of the shader that failed to compile
Emu.Pause(); // Pause the emulator, we can't really continue from here
}
}