Fixed rendering
Resource encoder now store unsigned char instead of signed char Former-commit-id: 648dd1d55facd40bc37075291782a54cbbc4811f
This commit is contained in:
@@ -23,9 +23,6 @@ function encodeResources()
|
||||
headerContent = ""
|
||||
for i = 1, contentLength do
|
||||
local b = resourceContent:sub(i, i):byte()
|
||||
if (b >= 128) then
|
||||
b = b - 256
|
||||
end
|
||||
headerContent = headerContent .. string.format("%d,", b)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user