mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Update to 0.98.13
PR: ports/78094 Submitted by: Greg J. <xcas@cox.net> (maintainer)
This commit is contained in:
parent
c0b9c99fa0
commit
8005d62035
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129898
@ -6,86 +6,58 @@
|
||||
#
|
||||
|
||||
PORTNAME= fceu
|
||||
PORTVERSION= 0.98.12
|
||||
PORTVERSION= 0.98.13
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://www.mavetju.org/download/adopted/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
MASTER_SITES= http://bsd-unix.org/downloads/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-pre.src
|
||||
|
||||
MAINTAINER= xcas@cox.net
|
||||
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
|
||||
|
||||
USE_SDL= sdl
|
||||
MAN6= fceu.6
|
||||
WRKSRC= ${WRKDIR}/fceu
|
||||
USE_X_PREFIX= yes
|
||||
USE_BZIP2= yes
|
||||
USE_GCC= 3.4
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_SDL= sdl
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/fceu
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
DOCS= cheat.html faq.html fceultra.html fcm.txt fcs.txt protocol.txt
|
||||
TECHDOCS= README.now README.sound UNIF_current.txt nsfspec.txt
|
||||
TECHCPUDOCS= 4017.txt 6502_cpu.txt NESSOUND-4th.txt NESSOUND.txt dmc.txt
|
||||
TECHEXPDOCS= SMB2j.txt mmc5-e.txt mmc5_bank_switch.txt namco.txt taito.txt \
|
||||
tengen.txt vrcvi.txt vrcvii.txt
|
||||
TECHPPUDOCS= "2C02_technical_operation.TXT" loopy1.txt loopy2.txt
|
||||
MAN6= fceu.6
|
||||
|
||||
PLIST_FILES= bin/fceu %%DOCSDIR%%/cheat.html %%DOCSDIR%%/faq.html \
|
||||
%%DOCSDIR%%/fceultra.html %%DOCSDIR%%/fcm.txt \
|
||||
%%DOCSDIR%%/fcs.txt %%DOCSDIR%%/protocol.txt
|
||||
PLIST_DIRS= %%DOCSDIR%%
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
BROKEN= "Does not configure"
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= "Does not compile on sparc64"
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.if !defined(NOPORTDOCS) && !defined(TECH_DOC_INSTALL)
|
||||
@${ECHO_MSG} "You can install technical documents"
|
||||
@${ECHO_MSG} "by defining TECH_DOC_INSTALL"
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS) && defined(TECH_DOC_INSTALL)
|
||||
PLIST_SUB= TECHDOCS=""
|
||||
.else
|
||||
PLIST_SUB= TECHDOCS="@comment "
|
||||
.endif
|
||||
post-extract:
|
||||
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/src/drivers/common/vidblit.c
|
||||
|
||||
pre-build:
|
||||
@${CP} ${WRKSRC}/Documentation/fceu-sdl.6 ${WRKSRC}/Documentation/fceu.6
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/fceu ${PREFIX}/bin
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
.for docs in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6
|
||||
.if defined(TECH_DOC_INSTALL)
|
||||
@${MKDIR} ${DOCSDIR}/tech
|
||||
.for docs in ${TECHDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/${docs} ${DOCSDIR}/tech
|
||||
.endfor
|
||||
@${MKDIR} ${DOCSDIR}/tech/cpu
|
||||
.for docs in ${TECHCPUDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/cpu/${docs} \
|
||||
${DOCSDIR}/tech/cpu
|
||||
.endfor
|
||||
@${MKDIR} ${DOCSDIR}/tech/exp
|
||||
.for docs in ${TECHEXPDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/exp/${docs} \
|
||||
${DOCSDIR}/tech/exp
|
||||
.endfor
|
||||
@${MKDIR} ${DOCSDIR}/tech/ppu
|
||||
.for docs in ${TECHPPUDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S|_| |g} \
|
||||
${DOCSDIR}/tech/ppu/${docs}
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/cheat.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/faq.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/fceultra.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/fcm.txt ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/fcs.txt ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/protocol.txt ${DOCSDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (fceu-0.98.12.src.tar.bz2) = 0fd2175b1f929e8b4d456789c4d7fc2b
|
||||
SIZE (fceu-0.98.12.src.tar.bz2) = 559571
|
||||
MD5 (fceu-0.98.13-pre.src.tar.bz2) = 1977214a15a341a4fd8bad14eda76866
|
||||
SIZE (fceu-0.98.13-pre.src.tar.bz2) = 570842
|
||||
|
11
emulators/fceu/files/patch-configure
Normal file
11
emulators/fceu/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Tue Dec 21 13:25:09 2004
|
||||
+++ configure Tue Dec 21 13:25:36 2004
|
||||
@@ -5130,7 +5130,7 @@
|
||||
fi
|
||||
|
||||
|
||||
-if expr match "$target_cpu" 'i.86' > /dev/null; then
|
||||
+if echo ${target_cpu} | grep -q 'i.86' > /dev/null; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define C80x86 1
|
||||
_ACEOF
|
11
emulators/fceu/files/patch-src-drivers-common-vidblit.c
Normal file
11
emulators/fceu/files/patch-src-drivers-common-vidblit.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/drivers/common/vidblit.c.orig Tue Dec 21 15:43:20 2004
|
||||
+++ src/drivers/common/vidblit.c Tue Dec 21 15:43:44 2004
|
||||
@@ -79,7 +79,7 @@
|
||||
{
|
||||
if(specfilt == 2 || specfilt == 4) // scale2x and scale3x
|
||||
{
|
||||
- int multi;
|
||||
+ int multi = 0;
|
||||
|
||||
if(specfilt == 2) multi = 2 * 2;
|
||||
else if(specfilt == 4) multi = 3 * 3;
|
@ -1,38 +0,0 @@
|
||||
--- src/drivers/pc/unix-netplay.c.orig Mon May 17 07:28:06 2004
|
||||
+++ src/drivers/pc/unix-netplay.c Fri May 21 10:20:13 2004
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/time.h>
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <arpa/inet.h>
|
||||
@@ -43,6 +43,8 @@
|
||||
#define socklen_t int
|
||||
#endif
|
||||
|
||||
+#define SOL_TCP IPPROTO_TCP
|
||||
+
|
||||
char *netplayhost=0;
|
||||
char *netplaynick=0;
|
||||
char *netgamekey = 0;
|
||||
@@ -76,7 +78,8 @@
|
||||
unsigned long hadr;
|
||||
int TSocket;
|
||||
int netdivisor;
|
||||
-
|
||||
+ int tcpopt = 1;
|
||||
+
|
||||
if(!netplayhost) return(0);
|
||||
|
||||
if( (TSocket=socket(AF_INET,SOCK_STREAM,0))==-1)
|
||||
@@ -85,7 +88,6 @@
|
||||
FCEUD_NetworkClose();
|
||||
return(0);
|
||||
}
|
||||
- int tcpopt = 1;
|
||||
if(setsockopt(TSocket, SOL_TCP, TCP_NODELAY, &tcpopt, sizeof(int)))
|
||||
puts("Nodelay fail");
|
||||
|
File diff suppressed because it is too large
Load Diff
11
emulators/fceu/files/patch-src-mappers-simple.c
Normal file
11
emulators/fceu/files/patch-src-mappers-simple.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/mappers/simple.c.orig Tue Dec 21 13:34:28 2004
|
||||
+++ src/mappers/simple.c Tue Dec 21 13:35:20 2004
|
||||
@@ -283,7 +283,7 @@
|
||||
|
||||
static void M185Sync(int version)
|
||||
{
|
||||
- int x;
|
||||
+ //int x;
|
||||
|
||||
//printf("%02x\n",mapbyte1[0]);
|
||||
//if((mapbyte1[0]&3)==3)
|
@ -1,20 +0,0 @@
|
||||
--- src/movie.c.orig Tue Aug 31 07:35:21 2004
|
||||
+++ src/movie.c Tue Aug 31 07:35:57 2004
|
||||
@@ -154,7 +154,7 @@
|
||||
|
||||
void FCEUMOV_AddJoy(uint8 *js)
|
||||
{
|
||||
- int x,y;
|
||||
+ int x,y,tmpfix;
|
||||
|
||||
if(!current) return; /* Not playback nor recording. */
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
tmp &= 0x3;
|
||||
ti=0;
|
||||
|
||||
- int tmpfix = tmp;
|
||||
+ tmpfix = tmp;
|
||||
while(tmp--) { nextts |= fgetc(slots[-1 - current]) << (ti * 8); ti++; }
|
||||
|
||||
// This fixes a bug in movies recorded before version 0.98.11
|
@ -1,32 +0,0 @@
|
||||
bin/fceu
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cheat.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/faq.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fceultra.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fcm.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fcs.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/protocol.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.now
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.sound
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/UNIF_current.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/nsfspec.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/4017.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/6502_cpu.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND-4th.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/dmc.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/SMB2j.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5-e.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5_bank_switch.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/namco.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/taito.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/tengen.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvi.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvii.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/2C02_technical_operation.TXT
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy1.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy2.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/ppu
|
||||
%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/exp
|
||||
%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/cpu
|
||||
%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
@ -6,86 +6,58 @@
|
||||
#
|
||||
|
||||
PORTNAME= fceu
|
||||
PORTVERSION= 0.98.12
|
||||
PORTVERSION= 0.98.13
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://www.mavetju.org/download/adopted/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
MASTER_SITES= http://bsd-unix.org/downloads/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-pre.src
|
||||
|
||||
MAINTAINER= xcas@cox.net
|
||||
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
|
||||
|
||||
USE_SDL= sdl
|
||||
MAN6= fceu.6
|
||||
WRKSRC= ${WRKDIR}/fceu
|
||||
USE_X_PREFIX= yes
|
||||
USE_BZIP2= yes
|
||||
USE_GCC= 3.4
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_SDL= sdl
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/fceu
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
DOCS= cheat.html faq.html fceultra.html fcm.txt fcs.txt protocol.txt
|
||||
TECHDOCS= README.now README.sound UNIF_current.txt nsfspec.txt
|
||||
TECHCPUDOCS= 4017.txt 6502_cpu.txt NESSOUND-4th.txt NESSOUND.txt dmc.txt
|
||||
TECHEXPDOCS= SMB2j.txt mmc5-e.txt mmc5_bank_switch.txt namco.txt taito.txt \
|
||||
tengen.txt vrcvi.txt vrcvii.txt
|
||||
TECHPPUDOCS= "2C02_technical_operation.TXT" loopy1.txt loopy2.txt
|
||||
MAN6= fceu.6
|
||||
|
||||
PLIST_FILES= bin/fceu %%DOCSDIR%%/cheat.html %%DOCSDIR%%/faq.html \
|
||||
%%DOCSDIR%%/fceultra.html %%DOCSDIR%%/fcm.txt \
|
||||
%%DOCSDIR%%/fcs.txt %%DOCSDIR%%/protocol.txt
|
||||
PLIST_DIRS= %%DOCSDIR%%
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
BROKEN= "Does not configure"
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= "Does not compile on sparc64"
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.if !defined(NOPORTDOCS) && !defined(TECH_DOC_INSTALL)
|
||||
@${ECHO_MSG} "You can install technical documents"
|
||||
@${ECHO_MSG} "by defining TECH_DOC_INSTALL"
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS) && defined(TECH_DOC_INSTALL)
|
||||
PLIST_SUB= TECHDOCS=""
|
||||
.else
|
||||
PLIST_SUB= TECHDOCS="@comment "
|
||||
.endif
|
||||
post-extract:
|
||||
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/src/drivers/common/vidblit.c
|
||||
|
||||
pre-build:
|
||||
@${CP} ${WRKSRC}/Documentation/fceu-sdl.6 ${WRKSRC}/Documentation/fceu.6
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/fceu ${PREFIX}/bin
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
.for docs in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6
|
||||
.if defined(TECH_DOC_INSTALL)
|
||||
@${MKDIR} ${DOCSDIR}/tech
|
||||
.for docs in ${TECHDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/${docs} ${DOCSDIR}/tech
|
||||
.endfor
|
||||
@${MKDIR} ${DOCSDIR}/tech/cpu
|
||||
.for docs in ${TECHCPUDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/cpu/${docs} \
|
||||
${DOCSDIR}/tech/cpu
|
||||
.endfor
|
||||
@${MKDIR} ${DOCSDIR}/tech/exp
|
||||
.for docs in ${TECHEXPDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/exp/${docs} \
|
||||
${DOCSDIR}/tech/exp
|
||||
.endfor
|
||||
@${MKDIR} ${DOCSDIR}/tech/ppu
|
||||
.for docs in ${TECHPPUDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S|_| |g} \
|
||||
${DOCSDIR}/tech/ppu/${docs}
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/cheat.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/faq.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/fceultra.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/fcm.txt ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/fcs.txt ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Documentation/protocol.txt ${DOCSDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (fceu-0.98.12.src.tar.bz2) = 0fd2175b1f929e8b4d456789c4d7fc2b
|
||||
SIZE (fceu-0.98.12.src.tar.bz2) = 559571
|
||||
MD5 (fceu-0.98.13-pre.src.tar.bz2) = 1977214a15a341a4fd8bad14eda76866
|
||||
SIZE (fceu-0.98.13-pre.src.tar.bz2) = 570842
|
||||
|
11
emulators/fceux/files/patch-configure
Normal file
11
emulators/fceux/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Tue Dec 21 13:25:09 2004
|
||||
+++ configure Tue Dec 21 13:25:36 2004
|
||||
@@ -5130,7 +5130,7 @@
|
||||
fi
|
||||
|
||||
|
||||
-if expr match "$target_cpu" 'i.86' > /dev/null; then
|
||||
+if echo ${target_cpu} | grep -q 'i.86' > /dev/null; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define C80x86 1
|
||||
_ACEOF
|
11
emulators/fceux/files/patch-src-drivers-common-vidblit.c
Normal file
11
emulators/fceux/files/patch-src-drivers-common-vidblit.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/drivers/common/vidblit.c.orig Tue Dec 21 15:43:20 2004
|
||||
+++ src/drivers/common/vidblit.c Tue Dec 21 15:43:44 2004
|
||||
@@ -79,7 +79,7 @@
|
||||
{
|
||||
if(specfilt == 2 || specfilt == 4) // scale2x and scale3x
|
||||
{
|
||||
- int multi;
|
||||
+ int multi = 0;
|
||||
|
||||
if(specfilt == 2) multi = 2 * 2;
|
||||
else if(specfilt == 4) multi = 3 * 3;
|
@ -1,38 +0,0 @@
|
||||
--- src/drivers/pc/unix-netplay.c.orig Mon May 17 07:28:06 2004
|
||||
+++ src/drivers/pc/unix-netplay.c Fri May 21 10:20:13 2004
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/time.h>
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <arpa/inet.h>
|
||||
@@ -43,6 +43,8 @@
|
||||
#define socklen_t int
|
||||
#endif
|
||||
|
||||
+#define SOL_TCP IPPROTO_TCP
|
||||
+
|
||||
char *netplayhost=0;
|
||||
char *netplaynick=0;
|
||||
char *netgamekey = 0;
|
||||
@@ -76,7 +78,8 @@
|
||||
unsigned long hadr;
|
||||
int TSocket;
|
||||
int netdivisor;
|
||||
-
|
||||
+ int tcpopt = 1;
|
||||
+
|
||||
if(!netplayhost) return(0);
|
||||
|
||||
if( (TSocket=socket(AF_INET,SOCK_STREAM,0))==-1)
|
||||
@@ -85,7 +88,6 @@
|
||||
FCEUD_NetworkClose();
|
||||
return(0);
|
||||
}
|
||||
- int tcpopt = 1;
|
||||
if(setsockopt(TSocket, SOL_TCP, TCP_NODELAY, &tcpopt, sizeof(int)))
|
||||
puts("Nodelay fail");
|
||||
|
File diff suppressed because it is too large
Load Diff
11
emulators/fceux/files/patch-src-mappers-simple.c
Normal file
11
emulators/fceux/files/patch-src-mappers-simple.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/mappers/simple.c.orig Tue Dec 21 13:34:28 2004
|
||||
+++ src/mappers/simple.c Tue Dec 21 13:35:20 2004
|
||||
@@ -283,7 +283,7 @@
|
||||
|
||||
static void M185Sync(int version)
|
||||
{
|
||||
- int x;
|
||||
+ //int x;
|
||||
|
||||
//printf("%02x\n",mapbyte1[0]);
|
||||
//if((mapbyte1[0]&3)==3)
|
@ -1,20 +0,0 @@
|
||||
--- src/movie.c.orig Tue Aug 31 07:35:21 2004
|
||||
+++ src/movie.c Tue Aug 31 07:35:57 2004
|
||||
@@ -154,7 +154,7 @@
|
||||
|
||||
void FCEUMOV_AddJoy(uint8 *js)
|
||||
{
|
||||
- int x,y;
|
||||
+ int x,y,tmpfix;
|
||||
|
||||
if(!current) return; /* Not playback nor recording. */
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
tmp &= 0x3;
|
||||
ti=0;
|
||||
|
||||
- int tmpfix = tmp;
|
||||
+ tmpfix = tmp;
|
||||
while(tmp--) { nextts |= fgetc(slots[-1 - current]) << (ti * 8); ti++; }
|
||||
|
||||
// This fixes a bug in movies recorded before version 0.98.11
|
@ -1,32 +0,0 @@
|
||||
bin/fceu
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cheat.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/faq.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fceultra.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fcm.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/fcs.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/protocol.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.now
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.sound
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/UNIF_current.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/nsfspec.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/4017.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/6502_cpu.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND-4th.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/dmc.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/SMB2j.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5-e.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5_bank_switch.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/namco.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/taito.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/tengen.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvi.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvii.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/2C02_technical_operation.TXT
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy1.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy2.txt
|
||||
%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/ppu
|
||||
%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/exp
|
||||
%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/cpu
|
||||
%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user