xenia-gpu mostly clang clean.
This commit is contained in:
@@ -345,10 +345,10 @@ bool GL4Shader::CompileProgram(std::string source) {
|
||||
|
||||
// Note that we put the translated source first so we get good line numbers.
|
||||
FILE* f = fopen(file_name, "w");
|
||||
fprintf(f, translated_disassembly_.c_str());
|
||||
fprintf(f, "%s", translated_disassembly_.c_str());
|
||||
fprintf(f, "\n\n");
|
||||
fprintf(f, "/*\n");
|
||||
fprintf(f, ucode_disassembly_.c_str());
|
||||
fprintf(f, "%s", ucode_disassembly_.c_str());
|
||||
fprintf(f, " */\n");
|
||||
fclose(f);
|
||||
}
|
||||
@@ -419,7 +419,7 @@ bool GL4Shader::CompileProgram(std::string source) {
|
||||
if (disasm_start) {
|
||||
FILE* f = fopen(file_name, "a");
|
||||
fprintf(f, "\n\n/*\n");
|
||||
fprintf(f, disasm_start);
|
||||
fprintf(f, "%s", disasm_start);
|
||||
fprintf(f, "\n*/\n");
|
||||
fclose(f);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user