mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 14:00:21 +00:00
parent
b7a29c1017
commit
40456702a9
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ using System.Drawing;
|
|||
using System.Drawing.Imaging;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace PKHeX.Core
|
||||
namespace PKHeX.WinForms
|
||||
{
|
||||
public static class ImageUtil
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.Drawing;
|
|||
using System.IO;
|
||||
using System.Net;
|
||||
|
||||
namespace PKHeX.Core
|
||||
namespace PKHeX.WinForms
|
||||
{
|
||||
public class NetUtil
|
||||
{
|
||||
|
|
|
@ -374,7 +374,7 @@ namespace PKHeX.Core
|
|||
return;
|
||||
byte b = 0;
|
||||
for (int i = 0; i < value.Length; i++)
|
||||
b |= (byte)(Math.Max(value[i], 1) << i);
|
||||
b |= (byte)(Math.Min(value[i], 1) << i);
|
||||
MarkValue = b;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue