mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-06 20:47:23 +02:00
fix for loading Sony channel lists with channel numbers 10000 and higher (negative No values in the sdb.xml file)
This commit is contained in:
@@ -249,11 +249,19 @@ namespace ChanSort.Api
|
||||
public void AddDebug(ushort val)
|
||||
{
|
||||
if (this.Debug == null)
|
||||
this.Debug = val.ToString("x2");
|
||||
this.Debug = val.ToString("x4");
|
||||
else
|
||||
this.Debug += " " + val.ToString("x4");
|
||||
}
|
||||
|
||||
public void AddDebug(uint val)
|
||||
{
|
||||
if (this.Debug == null)
|
||||
this.Debug = val.ToString("x8");
|
||||
else
|
||||
this.Debug += " " + val.ToString("x8");
|
||||
}
|
||||
|
||||
public void AddDebug(byte[] data, int offset, int len)
|
||||
{
|
||||
for (int i = 0; i < len; i++)
|
||||
|
||||
Reference in New Issue
Block a user