From a960ec7adf0547e4a872f29cb645b5f02dc7558c Mon Sep 17 00:00:00 2001 From: Max Lingua Date: Fri, 10 Jan 2014 18:48:48 -0500 Subject: PS2: snprintf hack to fix scumm.plg --- engines/dialogs.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/dialogs.cpp') diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp index c884075093..1713b99dd1 100644 --- a/engines/dialogs.cpp +++ b/engines/dialogs.cpp @@ -216,6 +216,11 @@ void MainMenuDialog::reflowLayout() { void MainMenuDialog::save() { int slot = _saveDialog->runModalWithCurrentTarget(); + #if defined(__PLAYSTATION2__) && defined(DYNAMIC_MODULES) + char pokeme[32]; + snprintf(pokeme,32,"hack"); + #endif + if (slot >= 0) { Common::String result(_saveDialog->getResultString()); if (result.empty()) { -- cgit v1.2.3 From 53e83147be4c645f8ff981f1c7397c3da9d35b13 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 18 Feb 2014 02:34:20 +0100 Subject: ENGINES: Make GPL headers consistent in themselves. --- engines/dialogs.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/dialogs.cpp') diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp index c884075093..65840ae174 100644 --- a/engines/dialogs.cpp +++ b/engines/dialogs.cpp @@ -17,6 +17,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * */ #include "base/version.h" -- cgit v1.2.3