blob: 0753bf4bacc7a3801b0e33c2bba321c357515ed0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From 9477c5e729e203d7a30ad0bae18a3b0ca21f1371 Mon Sep 17 00:00:00 2001
From: Markus Plichta <markus@plichta-online.de>
Date: Fri, 11 Nov 2022 15:29:25 +0100
Subject: [PATCH 1/5] Fixing a small bug with newer g++ and forward
decalaration
---
gtk/src/gtk_netplay.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gtk/src/gtk_netplay.cpp b/gtk/src/gtk_netplay.cpp
index 50e792f..28e8d0d 100644
--- a/gtk/src/gtk_netplay.cpp
+++ b/gtk/src/gtk_netplay.cpp
@@ -12,7 +12,6 @@
#include "gtk_sound.h"
uint16 MovieGetJoypad (int i);
-void MovieSetJoypad (int i, uint16 buttons);
static uint32 local_joypads[8], joypads[8];
static GThread *npthread;
@@ -295,7 +294,7 @@ S9xNetplayPush ()
{
local_joypads[i] = MovieGetJoypad (i);
- MovieSetJoypad (i, joypads[i]);
+ MovieSetJoypad (i, joypads[i]);
}
if (NetPlay.PendingWait4Sync)
--
2.41.0
|