修订版 | 9b7ee3ce7d5c186158055b76ed2caaca602aad22 (tree) |
---|---|
时间 | 2017-01-25 23:56:26 |
作者 | SUEHIRO <supersuehiro@user...> |
Commiter | SUEHIRO |
フルカラーのpalfxを修正
@@ -556,9 +556,9 @@ public &Sprite | ||
556 | 556 | `ar *= -1.0; |
557 | 557 | `ag *= -1.0; |
558 | 558 | `ab *= -1.0; |
559 | - `mr = (float)(pf.emulg + pf.emulb) / 128.0; | |
560 | - `mg = (float)(pf.emulr + pf.emulb) / 128.0; | |
561 | - `mb = (float)(pf.emulr + pf.emulg) / 128.0; | |
559 | + `mr = (float)(pf.emulg + pf.emulb) / 512.0; | |
560 | + `mg = (float)(pf.emulr + pf.emulb) / 512.0; | |
561 | + `mb = (float)(pf.emulr + pf.emulg) / 512.0; | |
562 | 562 | else: |
563 | 563 | `mr = (float)pf.emulr / 256.0; |
564 | 564 | `mg = (float)pf.emulg / 256.0; |