shithub: cstory

Download patch

ref: f5828667a69881eca12e29c48c5f6a4186056dba
parent: 7d51a80007b3a9090f3cce6fd9b8c88d38b8d687
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Sep 8 00:04:27 EDT 2020

Update remaining platform backends

--- a/src/Backends/Platform/Null.cpp
+++ b/src/Backends/Platform/Null.cpp
@@ -4,8 +4,11 @@
 
 #include "../../Attributes.h"
 
-bool Backend_Init(void)
+bool Backend_Init(void (*drag_and_drop_callback)(const char *path), void (*window_focus_callback)(bool focus));
 {
+	(void)drag_and_drop_callback;
+	(void)window_focus_callback;
+
 	return true;
 }
 
--- a/src/Backends/Platform/WiiU.cpp
+++ b/src/Backends/Platform/WiiU.cpp
@@ -16,8 +16,11 @@
 
 static unsigned long ticks_per_second;
 
-bool Backend_Init(void)
+bool Backend_Init(void (*drag_and_drop_callback)(const char *path), void (*window_focus_callback)(bool focus));
 {
+	(void)drag_and_drop_callback;
+	(void)window_focus_callback;
+
 	WHBProcInit();
 
 	if (!WHBMountSdCard())