From 93874bba834365532e9e4f430e2240b63af760ac Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 14 Dec 2011 00:41:06 +0100 Subject: [PATCH 1/3] Fixup makefile. --- Makefile.xenon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.xenon b/Makefile.xenon index 51a59612e4..63f78fa875 100644 --- a/Makefile.xenon +++ b/Makefile.xenon @@ -22,7 +22,7 @@ OBJ = fifo_buffer.o ssnes.o driver.o file.o settings.o message.o rewind.o movie. LIBS = -lsnes -lSDL -lxenon -lm -lc DEFINES = -std=gnu99 -DHAVE_CONFIGFILE=1 -DHAVE_SDL=1 -DPACKAGE_VERSION=\"0.9.3\" -DHAVE_GETOPT_LONG=1 -Dmain=ssnes_main -DEFINES += -mno-altivec -mhard-float -m32 -mpowerpc64 -mcpu=cell -mtune=cell -fno-pic -g -Wall -DSDL -DXENON $(INCDIRS) +DEFINES += -maltivec -mhard-float -m32 -mpowerpc64 -mcpu=cell -mtune=cell -fno-pic -g -Wall -DSDL -DXENON $(INCDIRS) DEFINES += -u read -u _start -u exc_base ifeq ($(DEBUG), 1) From 9aaad17c1a8278df2b5b6bfd5d6475ccb0b3a984 Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 14 Dec 2011 00:44:38 +0100 Subject: [PATCH 2/3] Update Makefile. --- config.def.h | 2 +- settings.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 8991ee10bb..4286f63642 100644 --- a/config.def.h +++ b/config.def.h @@ -176,7 +176,7 @@ static const bool font_enable = true; // This value should stay close to 60Hz to avoid large pitch changes. // If your monitor does not run at 60Hz, or something close to it, disable VSync, // and leave this at its default. -#ifdef __CELLOS_LV2__ +#if defined(__CELLOS_LV2__) || defined(XENON) static const float refresh_rate = 59.92; #else static const float refresh_rate = 59.95; diff --git a/settings.c b/settings.c index d0a4c2f6c7..619c83a317 100644 --- a/settings.c +++ b/settings.c @@ -99,7 +99,7 @@ static void set_defaults(void) def_audio = "ext"; break; case AUDIO_XENON360: - def_audio = "xenon360"; + def_audio = "xenon360"; default: break; } From bfee7986bd412a1fd867b739ba551bbdb36eac27 Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 14 Dec 2011 00:58:17 +0100 Subject: [PATCH 3/3] Fix missing break; --- settings.c | 1 + 1 file changed, 1 insertion(+) diff --git a/settings.c b/settings.c index 619c83a317..ee2fb3cb2f 100644 --- a/settings.c +++ b/settings.c @@ -100,6 +100,7 @@ static void set_defaults(void) break; case AUDIO_XENON360: def_audio = "xenon360"; + break; default: break; }