All chars received by the API are AnsiChar. C++ handles char as Ansichar.... but in Delphi, usually a char is a WideChar. That's what you must be aware of.
In Delphi I use the following compiler-directive, {$H+} or you re-define them as AnsiChar (would be the cleanest solution). Anyhow: Thank you for your code. It helped me a lot to understand the libretro.h header. :)
All chars received by the API are AnsiChar. C++ handles char as Ansichar.... but in Delphi, usually a char is a WideChar. That's what you must be aware of.
In Delphi I use the following compiler-directive, {$H+} or you re-define them as AnsiChar (would be the cleanest solution). Anyhow: Thank you for your code. It helped me a lot to understand the libretro.h header. :)