diff options
| author | 2016-04-15 12:36:07 +0800 | |
|---|---|---|
| committer | 2016-04-14 21:36:07 -0700 | |
| commit | 8d5a6110f7e253a525b3d7cd62dafeaf67a9c8f3 (patch) | |
| tree | 1d9bdd7bb5aea48940fa82b62893d8e39bacb065 /src | |
| parent | Merge pull request #1666 from MerryMage/barrier (diff) | |
| download | yuzu-8d5a6110f7e253a525b3d7cd62dafeaf67a9c8f3.tar.gz yuzu-8d5a6110f7e253a525b3d7cd62dafeaf67a9c8f3.tar.xz yuzu-8d5a6110f7e253a525b3d7cd62dafeaf67a9c8f3.zip | |
Y2R: num_tiles should be allowed when its value is 128 (#1669)
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hw/y2r.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp index 48c45564f..083391e83 100644 --- a/src/core/hw/y2r.cpp +++ b/src/core/hw/y2r.cpp | |||
| @@ -261,7 +261,7 @@ void PerformConversion(ConversionConfiguration& cvt) { | |||
| 261 | ASSERT(cvt.block_alignment != BlockAlignment::Block8x8 || cvt.input_lines % 8 == 0); | 261 | ASSERT(cvt.block_alignment != BlockAlignment::Block8x8 || cvt.input_lines % 8 == 0); |
| 262 | // Tiles per row | 262 | // Tiles per row |
| 263 | size_t num_tiles = cvt.input_line_width / 8; | 263 | size_t num_tiles = cvt.input_line_width / 8; |
| 264 | ASSERT(num_tiles < MAX_TILES); | 264 | ASSERT(num_tiles <= MAX_TILES); |
| 265 | 265 | ||
| 266 | // Buffer used as a CDMA source/target. | 266 | // Buffer used as a CDMA source/target. |
| 267 | std::unique_ptr<u8[]> data_buffer(new u8[cvt.input_line_width * 8 * 4]); | 267 | std::unique_ptr<u8[]> data_buffer(new u8[cvt.input_line_width * 8 * 4]); |