diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-emulation/gens/files/gens-2.15.5-ovflfix.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-emulation/gens/files/gens-2.15.5-ovflfix.patch')
-rw-r--r-- | games-emulation/gens/files/gens-2.15.5-ovflfix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games-emulation/gens/files/gens-2.15.5-ovflfix.patch b/games-emulation/gens/files/gens-2.15.5-ovflfix.patch new file mode 100644 index 000000000000..f5b98a54245f --- /dev/null +++ b/games-emulation/gens/files/gens-2.15.5-ovflfix.patch @@ -0,0 +1,13 @@ +--- src/gens/gens_core/cpu/68k/cpu_68k.c.old 2010-10-28 09:34:52.000000000 +0200 ++++ src/gens/gens_core/cpu/68k/cpu_68k.c 2010-10-28 09:35:53.000000000 +0200 +@@ -239,8 +239,8 @@ + memset (Ram_Word_2M, 0, 256 * 1024); + memset (Ram_Word_1M, 0, 256 * 1024); + +- memset (COMM.Command, 0, 8 * 5); +- memset (COMM.Status, 0, 8 * 5); ++ memset (COMM.Command, 0, sizeof (COMM.Command)); ++ memset (COMM.Status, 0, sizeof (COMM.Status)); + + LED_Status = S68K_State = S68K_Mem_WP = S68K_Mem_PM = Ram_Word_State = 0; + COMM.Flag = Init_Timer_INT3 = Timer_INT3 = Int_Mask_S68K = 0; |