Skip to content

Commit c58c089

Browse files
mkalkbrennerfreezy
authored andcommitted
Mention ZeDMD 5.1.4 in README
1 parent 024e644 commit c58c089

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

LibDmd/Output/ZeDMD/ZeDMDBase.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ public abstract class ZeDMDBase
2828
private GCHandle handle;
2929

3030
protected void LogHandler(string format, IntPtr args, IntPtr pUserData)
31-
{
31+
{
3232
#if PLATFORM_X64
3333
Logger.Debug("Trying to convert libzedmd log message: " + format);
34-
Logger.Info("libzedmd: " + Marshal.PtrToStringAnsi(ZeDMD_FormatLogMessage(format, args, pUserData)));
34+
Logger.Info("libzedmd: " + Marshal.PtrToStringAnsi(ZeDMD_FormatLogMessage(format, args, pUserData)));
3535
#endif
36-
}
36+
}
3737

3838
protected void Init()
3939
{
@@ -44,7 +44,7 @@ protected void Init()
4444
ZeDMD_LogCallback callbackDelegate = new ZeDMD_LogCallback(LogHandler);
4545
// Keep a reference to the delegate to prevent GC from collecting it
4646
handle = GCHandle.Alloc(callbackDelegate);
47-
ZeDMD_SetLogCallback(_pZeDMD, callbackDelegate, IntPtr.Zero);
47+
ZeDMD_SetLogCallback(_pZeDMD, callbackDelegate, IntPtr.Zero);
4848
#else
4949
Logger.Warn("Forwarding libzedmd and libserialport logging is not working on x86.");
5050
#endif
@@ -122,11 +122,12 @@ public void ClearColor()
122122
[DllImport("zedmd64.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]
123123
#else
124124
[DllImport("zedmd.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]
125+
#endif
125126
protected static extern IntPtr ZeDMD_GetInstance();
126127

127128
#if PLATFORM_X64
128129
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
129-
protected delegate void ZeDMD_LogCallback(string format, IntPtr args, IntPtr pUserData);
130+
protected delegate void ZeDMD_LogCallback(string format, IntPtr args, IntPtr pUserData);
130131

131132
[DllImport("zedmd64.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]
132133
protected static extern void ZeDMD_SetLogCallback(IntPtr pZeDMD, ZeDMD_LogCallback callback, IntPtr pUserData);

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ upscaled. In the native VNI/PAL/PAC colorizer, you can choose which upscale algo
632632

633633
### v2.3.1
634634

635-
- ZeDMD firmware versions before 5.1.2 aren't supported anymore.
635+
- ZeDMD firmware versions before 5.1.4 aren't supported anymore.
636636

637637
### v2.2.2
638638

0 commit comments

Comments
 (0)