mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-21 12:51:57 +01:00
vrts: tweaks
This commit is contained in:
parent
dd6a9d7bb4
commit
37e20a3ee1
@ -113,7 +113,7 @@ class VrtsComparator:
|
|||||||
pcm2, = S16_UNPACK(b2, pos)
|
pcm2, = S16_UNPACK(b2, pos)
|
||||||
|
|
||||||
if not (pcm1 >= pcm2 - max and pcm1 <= pcm2 + max):
|
if not (pcm1 >= pcm2 - max and pcm1 <= pcm2 + max):
|
||||||
print("%i vs %i +- %i at %x" % (pcm1, pcm2, max, self._offset + pos))
|
#print("%i vs %i +- %i at %x" % (pcm1, pcm2, max, self._offset + pos))
|
||||||
self.fuzzy_diff = pcm1 - pcm2
|
self.fuzzy_diff = pcm1 - pcm2
|
||||||
self.fuzzy_offset = self._offset + pos
|
self.fuzzy_offset = self._offset + pos
|
||||||
return RESULT_DIFFS
|
return RESULT_DIFFS
|
||||||
@ -210,7 +210,7 @@ class VrtsPrinter:
|
|||||||
|
|
||||||
COLOR_RESULT = {
|
COLOR_RESULT = {
|
||||||
RESULT_SAME: WHITE,
|
RESULT_SAME: WHITE,
|
||||||
RESULT_FUZZY: LIGHT_GREEN,
|
RESULT_FUZZY: LIGHT_CYAN,
|
||||||
RESULT_NONE: LIGHT_YELLOW,
|
RESULT_NONE: LIGHT_YELLOW,
|
||||||
RESULT_DIFFS: LIGHT_RED,
|
RESULT_DIFFS: LIGHT_RED,
|
||||||
RESULT_SIZES: LIGHT_RED,
|
RESULT_SIZES: LIGHT_RED,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user