From 1c69696a9a8878971c4fa925b074498dab757857 Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Tue, 21 Jun 2005 22:08:21 +0000 Subject: Patches needed to build for SYMBIAN32 WINS/GCC added. Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430 --- gui/console.cpp | 2 ++ gui/credits.h | 6 ++++++ gui/newgui.cpp | 5 +++++ 3 files changed, 13 insertions(+) (limited to 'gui') diff --git a/gui/console.cpp b/gui/console.cpp index 03163fb7ca..34dd303a31 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -542,6 +542,8 @@ int ConsoleDialog::vprintf(const char *format, va_list argptr) { #if defined(WIN32) int count = _vsnprintf(buf, sizeof(buf), format, argptr); +#elif defined(__SYMBIAN32__) + int count = vsprintf(buf, format, argptr); #else int count = vsnprintf(buf, sizeof(buf), format, argptr); #endif diff --git a/gui/credits.h b/gui/credits.h index 305b589dfa..51e7a17726 100644 --- a/gui/credits.h +++ b/gui/credits.h @@ -40,6 +40,8 @@ static const char *credits[] = { "\\L\\c2"" MT-32 emulator", "\\L\\c0"" Jochen Hoenicke", "\\L\\c2"" Speaker & PCjr sound support, Adlib work", +"\\L\\c0"" Jurgen Braam", +"\\L\\c2"" Port: EPOC/SymbianOS maintainer", "\\L\\c0""", "\\C\\c1""Retired Team Members:", "\\L\\c0"" Ralph Brorsen", @@ -105,6 +107,10 @@ static const char *credits[] = { "\\L\\c2"" SDL-based OpenGL renderer", "\\L\\c0"" Tim ???", "\\L\\c2"" Initial MI1 CD music support", +"\\L\\c0"" Andreas Karlsson", +"\\L\\c2"" Port: EPOC/SymbianOS, ESDL", +"\\L\\c0"" Lars Persson", +"\\L\\c2"" Port: EPOC/SymbianOS, Audio System, Alignment fixes, ESDL", "\\L\\c0""", "\\L\\c0""And to all the contributors, users, and beta testers we've missed. Thanks!", "\\L\\c0""", diff --git a/gui/newgui.cpp b/gui/newgui.cpp index fcaa45c819..5b8ab36ffc 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -48,6 +48,11 @@ enum { kKeyRepeatSustainDelay = 100 }; +#if defined(__SYMBIAN32__) // Testing: could be removed? Just making sure that an CVS update doesn't break my code :P +#define USE_AUTO_SCALING false +#else +#define USE_AUTO_SCALING false +#endif // Constructor NewGui::NewGui() : _needRedraw(false), -- cgit v1.2.3