mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-30 15:59:08 +00:00
Y2R: num_tiles should be allowed when its value is 128 (#1669)
This commit is contained in:
parent
23f967b0af
commit
8d5a6110f7
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ void PerformConversion(ConversionConfiguration& cvt) {
|
||||||
ASSERT(cvt.block_alignment != BlockAlignment::Block8x8 || cvt.input_lines % 8 == 0);
|
ASSERT(cvt.block_alignment != BlockAlignment::Block8x8 || cvt.input_lines % 8 == 0);
|
||||||
// Tiles per row
|
// Tiles per row
|
||||||
size_t num_tiles = cvt.input_line_width / 8;
|
size_t num_tiles = cvt.input_line_width / 8;
|
||||||
ASSERT(num_tiles < MAX_TILES);
|
ASSERT(num_tiles <= MAX_TILES);
|
||||||
|
|
||||||
// Buffer used as a CDMA source/target.
|
// Buffer used as a CDMA source/target.
|
||||||
std::unique_ptr<u8[]> data_buffer(new u8[cvt.input_line_width * 8 * 4]);
|
std::unique_ptr<u8[]> data_buffer(new u8[cvt.input_line_width * 8 * 4]);
|
||||||
|
|
Loading…
Reference in a new issue