mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 23:49:56 -04:00
Give each file of copied code one license line.
Each file that contains copied code names its copyright holder and license and points at THIRD_PARTY_NOTICES.md; zlib code keeps its full notice and the mark that it was altered. Comments and probe text only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// NVN texture storage size / alignment / per-level offsets (Tegra X1 block-linear layout).
|
||||
// Based on deko3d source/dk_image.cpp (zlib license, Copyright (C) 2018-2020 fincs), reproduced below as in MNG's LICENSE.deko3d.
|
||||
// Contains altered code Copyright (C) 2018-2020 fincs (zlib, license text below; see THIRD_PARTY_NOTICES.md).
|
||||
//
|
||||
// Copyright (C) 2018-2020 fincs
|
||||
//
|
||||
@@ -21,7 +21,7 @@
|
||||
// distribution.
|
||||
//
|
||||
// Storage size / alignment / per-level offsets of NVN textures (Tegra X1 block-linear layout).
|
||||
// Based on deko3d source/dk_image.cpp (zlib license, Copyright (C) 2018-2020 fincs), with NVN SDK integer rounding for automatic tile height:
|
||||
// Automatic tile height uses NVN SDK integer rounding:
|
||||
// one GOB = 64 bytes × 8 rows = 512 bytes; the block height (tileH, in GOBs) is picked by 'height×1.5'; levels are accumulated with block alignment.
|
||||
// The game's packaged textures (SetPackagedTextureLayout) carry 8 bytes of layout parameters: byte 0 = log2 of the block height (derived by comparing 16 cases from the real game,
|
||||
// 4 of which differ from the automatic algorithm); when present it takes precedence.
|
||||
|
||||
Reference in New Issue
Block a user