diff options
| author | 2015-10-09 22:13:54 +0100 | |
|---|---|---|
| committer | 2015-10-09 22:14:56 +0100 | |
| commit | 14af5919ba7c0888e264add68053e2a330fe2fd3 (patch) | |
| tree | b88320d106988ac5ac660e7a8d76f1a56ae2abeb /src/video_core | |
| parent | Merge pull request #1189 from archshift/game-list-toggle-window (diff) | |
| download | yuzu-14af5919ba7c0888e264add68053e2a330fe2fd3.tar.gz yuzu-14af5919ba7c0888e264add68053e2a330fe2fd3.tar.xz yuzu-14af5919ba7c0888e264add68053e2a330fe2fd3.zip | |
CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
The LOG_* function itself already appends one.
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 6 | ||||
| -rw-r--r-- | src/video_core/rasterizer.cpp | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index aa1f1484c..f1cfa9361 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp | |||
| @@ -641,7 +641,7 @@ void DumpTexture(const Pica::Regs::TextureConfig& texture_config, u8* data) { | |||
| 641 | // Initialize write structure | 641 | // Initialize write structure |
| 642 | png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); | 642 | png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); |
| 643 | if (png_ptr == nullptr) { | 643 | if (png_ptr == nullptr) { |
| 644 | LOG_ERROR(Debug_GPU, "Could not allocate write struct\n"); | 644 | LOG_ERROR(Debug_GPU, "Could not allocate write struct"); |
| 645 | goto finalise; | 645 | goto finalise; |
| 646 | 646 | ||
| 647 | } | 647 | } |
| @@ -649,13 +649,13 @@ void DumpTexture(const Pica::Regs::TextureConfig& texture_config, u8* data) { | |||
| 649 | // Initialize info structure | 649 | // Initialize info structure |
| 650 | info_ptr = png_create_info_struct(png_ptr); | 650 | info_ptr = png_create_info_struct(png_ptr); |
| 651 | if (info_ptr == nullptr) { | 651 | if (info_ptr == nullptr) { |
| 652 | LOG_ERROR(Debug_GPU, "Could not allocate info struct\n"); | 652 | LOG_ERROR(Debug_GPU, "Could not allocate info struct"); |
| 653 | goto finalise; | 653 | goto finalise; |
| 654 | } | 654 | } |
| 655 | 655 | ||
| 656 | // Setup Exception handling | 656 | // Setup Exception handling |
| 657 | if (setjmp(png_jmpbuf(png_ptr))) { | 657 | if (setjmp(png_jmpbuf(png_ptr))) { |
| 658 | LOG_ERROR(Debug_GPU, "Error during png creation\n"); | 658 | LOG_ERROR(Debug_GPU, "Error during png creation"); |
| 659 | goto finalise; | 659 | goto finalise; |
| 660 | } | 660 | } |
| 661 | 661 | ||
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index 7abf60292..226fad783 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp | |||
| @@ -462,7 +462,7 @@ static void ProcessTriangleInternal(const Shader::OutputVertex& v0, | |||
| 462 | } | 462 | } |
| 463 | 463 | ||
| 464 | default: | 464 | default: |
| 465 | LOG_ERROR(HW_GPU, "Unknown texture coordinate wrapping mode %x\n", (int)mode); | 465 | LOG_ERROR(HW_GPU, "Unknown texture coordinate wrapping mode %x", (int)mode); |
| 466 | UNIMPLEMENTED(); | 466 | UNIMPLEMENTED(); |
| 467 | return 0; | 467 | return 0; |
| 468 | } | 468 | } |
| @@ -541,7 +541,7 @@ static void ProcessTriangleInternal(const Shader::OutputVertex& v0, | |||
| 541 | return combiner_output; | 541 | return combiner_output; |
| 542 | 542 | ||
| 543 | default: | 543 | default: |
| 544 | LOG_ERROR(HW_GPU, "Unknown color combiner source %d\n", (int)source); | 544 | LOG_ERROR(HW_GPU, "Unknown color combiner source %d", (int)source); |
| 545 | UNIMPLEMENTED(); | 545 | UNIMPLEMENTED(); |
| 546 | return {0, 0, 0, 0}; | 546 | return {0, 0, 0, 0}; |
| 547 | } | 547 | } |
| @@ -679,7 +679,7 @@ static void ProcessTriangleInternal(const Shader::OutputVertex& v0, | |||
| 679 | return { (u8)result, (u8)result, (u8)result }; | 679 | return { (u8)result, (u8)result, (u8)result }; |
| 680 | } | 680 | } |
| 681 | default: | 681 | default: |
| 682 | LOG_ERROR(HW_GPU, "Unknown color combiner operation %d\n", (int)op); | 682 | LOG_ERROR(HW_GPU, "Unknown color combiner operation %d", (int)op); |
| 683 | UNIMPLEMENTED(); | 683 | UNIMPLEMENTED(); |
| 684 | return {0, 0, 0}; | 684 | return {0, 0, 0}; |
| 685 | } | 685 | } |
| @@ -716,7 +716,7 @@ static void ProcessTriangleInternal(const Shader::OutputVertex& v0, | |||
| 716 | return (std::min(255, (input[0] + input[1])) * input[2]) / 255; | 716 | return (std::min(255, (input[0] + input[1])) * input[2]) / 255; |
| 717 | 717 | ||
| 718 | default: | 718 | default: |
| 719 | LOG_ERROR(HW_GPU, "Unknown alpha combiner operation %d\n", (int)op); | 719 | LOG_ERROR(HW_GPU, "Unknown alpha combiner operation %d", (int)op); |
| 720 | UNIMPLEMENTED(); | 720 | UNIMPLEMENTED(); |
| 721 | return 0; | 721 | return 0; |
| 722 | } | 722 | } |