summaryrefslogtreecommitdiff
path: root/games-emulation/fceux/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-13 14:17:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-13 14:17:04 +0000
commitfb12f951d1a9071b4ddf774f2d570de245c2d061 (patch)
tree12b4074e61af9ee7b74753f5249f2362dd1060bf /games-emulation/fceux/files
parent4a74938e510c0dad732ae4c48f815dd0f0cabb46 (diff)
gentoo auto-resync : 13:02:2023 - 14:17:03
Diffstat (limited to 'games-emulation/fceux/files')
-rw-r--r--games-emulation/fceux/files/fceux-2.2.2-warnings.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/games-emulation/fceux/files/fceux-2.2.2-warnings.patch b/games-emulation/fceux/files/fceux-2.2.2-warnings.patch
deleted file mode 100644
index 1d6c3ba46319..000000000000
--- a/games-emulation/fceux/files/fceux-2.2.2-warnings.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- fceux-2.2.2.orig/src/input.cpp 2013-06-15 15:44:11.000000000 -0400
-+++ fceux-2.2.2/src/input.cpp 2014-12-31 01:32:46.302001912 -0500
-@@ -1161,7 +1161,7 @@
- // FIXME this will always evaluate to true, should this be
- // if (*lastSavestateMade...) to check if it holds a string or just
- // a '\0'?
-- if (lastSavestateMade && (undoSS || redoSS))
-+ if (*lastSavestateMade && (undoSS || redoSS))
- SwapSaveState();
- }
-
---- fceux-2.2.2.orig/src/state.cpp 2013-09-18 19:03:59.000000000 -0400
-+++ fceux-2.2.2/src/state.cpp 2014-12-31 01:33:11.453155054 -0500
-@@ -1048,7 +1048,7 @@
- //Both files must exist
- //--------------------------------------------------------------------------------------------
-
-- if (!lastSavestateMade)
-+ if (!*lastSavestateMade)
- {
- FCEUI_DispMessage("Can't Undo",0);
- FCEUI_printf("Undo savestate was attempted but unsuccessful because there was not a recently used savestate.\n");
-@@ -1153,7 +1153,7 @@
- void RedoLoadState()
- {
- if (!redoLS) return;
-- if (lastLoadstateMade && redoLS)
-+ if (*lastLoadstateMade && redoLS)
- {
- FCEUSS_Load(lastLoadstateMade);
- FCEUI_printf("Redoing %s\n",lastLoadstateMade);