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