1 |
tupone 10/11/29 16:01:44 |
2 |
|
3 |
Added: fceux-2.1.4a-ovflfix.patch |
4 |
Log: |
5 |
Overflow fix. Bug #329055 |
6 |
|
7 |
(Portage version: 2.1.9.25/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 games-emulation/fceux/files/fceux-2.1.4a-ovflfix.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.4a-ovflfix.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.4a-ovflfix.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: fceux-2.1.4a-ovflfix.patch |
16 |
=================================================================== |
17 |
--- src/input/bworld.cpp.old 2010-11-29 16:36:13.000000000 +0100 |
18 |
+++ src/input/bworld.cpp 2010-11-29 16:37:26.000000000 +0100 |
19 |
@@ -22,7 +22,7 @@ |
20 |
#include "share.h" |
21 |
|
22 |
static int seq,ptr,bit,cnt,have; |
23 |
-static uint8 bdata[20]; |
24 |
+static uint8 bdata[32]; |
25 |
|
26 |
|
27 |
static uint8 Read(int w, uint8 ret) |
28 |
--- src/drivers/common/cheat.cpp.old 2010-11-29 16:23:44.000000000 +0100 |
29 |
+++ src/drivers/common/cheat.cpp 2010-11-29 16:24:24.000000000 +0100 |
30 |
@@ -404,7 +404,7 @@ |
31 |
clo: |
32 |
|
33 |
printf("\nSelection [%d]> ",def+1); |
34 |
- fgets(tmp,256,stdin); |
35 |
+ fgets(tmp,16,stdin); |
36 |
if(tmp[0]=='\n') |
37 |
return def; |
38 |
c=tolower(tmp[0]); |