.
諏訪子 <suwako@076.moe>、2026-01-29 04:08
コミット b7e5c755445e3a47e1fbe0b72aa7d9139b99bfb7
・親 fe1828e
・ファイルを見る
21個のファイル、+7 -1
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
| @@ -0,0 +1,5 @@ | ||
| 1 | +<?php | |
| 2 | +namespace Site\Lib; | |
| 3 | + | |
| 4 | +class Mfa { | |
| 5 | +} |
| @@ -26,7 +26,6 @@ | ||
| 26 | 26 | $asm = new Syntax('asm'); |
| 27 | 27 | $c = new Syntax('c'); |
| 28 | 28 | |
| 29 | - $tmpl->assign('img', $img); | |
| 30 | 29 | $tmpl->assign('cCode', $c->colorize($codeC)); |
| 31 | 30 | $tmpl->assign('asmCode', $asm->colorize($codeAsm)); |
| 32 | 31 |
| @@ -98,6 +98,7 @@ | ||
| 98 | 98 | $this->colorMapData = $colorMapBytes > 0 ? fread($fp, $colorMapBytes) : ''; |
| 99 | 99 | $tga->imageId = $this->imageId; |
| 100 | 100 | $tga->colorMapData = $this->colorMapData; |
| 101 | + $tga->colorMapDataHex = bin2hex($this->colorMapData); // デバッグ用 | |
| 101 | 102 | |
| 102 | 103 | if (in_array($this->imageTypeByte, [9, 10, 11])) { // RLE |
| 103 | 104 | // TODO |
| @@ -110,6 +111,7 @@ | ||
| 110 | 111 | } |
| 111 | 112 | |
| 112 | 113 | fclose($fp); |
| 114 | + kys($tga); | |
| 113 | 115 | return $tga; |
| 114 | 116 | } |
| 115 | 117 | } |