aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorYotam Barnoy2009-12-02 20:25:01 +0000
committerYotam Barnoy2009-12-02 20:25:01 +0000
commit6dad0ab29e6d2d290fc477ec17fce49287920408 (patch)
tree3c69bcf11c1915a38ff64a5be020b30ce779f909 /backends/platform
parent6ad031f74370d9406cd24b97ef13ec8ec71b0245 (diff)
downloadscummvm-rg350-6dad0ab29e6d2d290fc477ec17fce49287920408.tar.gz
scummvm-rg350-6dad0ab29e6d2d290fc477ec17fce49287920408.tar.bz2
scummvm-rg350-6dad0ab29e6d2d290fc477ec17fce49287920408.zip
PSP: experiment to help resolve flicker bug
svn-id: r46239
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/psp/main_prog.ld6
-rw-r--r--backends/platform/psp/trace.cpp1
2 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/psp/main_prog.ld b/backends/platform/psp/main_prog.ld
index b9ebf1284b..4216e7f0ab 100644
--- a/backends/platform/psp/main_prog.ld
+++ b/backends/platform/psp/main_prog.ld
@@ -198,11 +198,15 @@ SECTIONS
__plugin_hole_start = .;
. = _gp + 0x7ff0;
__plugin_hole_end = .;
+ COMMON :
+ {
+ *(COMMON)
+ }
+ . = ALIGN(32 / 8);
.bss :
{
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
/* Align here to ensure that the .bss section occupies space up to
_end. Align after .bss to ensure correct alignment even if the
.bss section disappears because there are no input sections. */
diff --git a/backends/platform/psp/trace.cpp b/backends/platform/psp/trace.cpp
index 752c0b8306..28696c30a6 100644
--- a/backends/platform/psp/trace.cpp
+++ b/backends/platform/psp/trace.cpp
@@ -27,6 +27,7 @@
#include "./trace.h"
+
void PSPDebugTrace (const char *format, ...) {
#ifdef __PSP_DEBUG__
va_list opt;