mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-22 13:51:10 +00:00
Core buildfix
This commit is contained in:
parent
795db4433d
commit
2c3515f458
|
@ -66,7 +66,7 @@ namespace SDL2
|
||||||
#if NETSTANDARD2_0
|
#if NETSTANDARD2_0
|
||||||
/* Modern C# lets you just send the byte*, nice! */
|
/* Modern C# lets you just send the byte*, nice! */
|
||||||
string result = System.Text.Encoding.UTF8.GetString(
|
string result = System.Text.Encoding.UTF8.GetString(
|
||||||
bytes,
|
(byte*) s,
|
||||||
(int) (ptr - (byte*) s)
|
(int) (ptr - (byte*) s)
|
||||||
);
|
);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue