From 66d60bafddffc83e96ca02b9fcd67c404571eab4 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 14 Nov 2010 19:07:31 +0100 Subject: [PATCH] update config --- config.h | 14 +++++++------- config.mk | 5 ++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/config.h b/config.h index 705b4ecc73..d694c9ce8b 100644 --- a/config.h +++ b/config.h @@ -54,19 +54,19 @@ static const float yscale = 4.0; // Real y res = 224 * yscale // Fullscreen static bool fullscreen = false; // To start in Fullscreen or not -static const unsigned fullscreen_x = 1280; -static const unsigned fullscreen_y = 720; +static const unsigned fullscreen_x = 1920; +static const unsigned fullscreen_y = 1200; // Video VSYNC (recommended) static const bool vsync = true; // Smooths picture -static const bool video_smooth = true; +static const bool video_smooth = false; // Path to custom Cg shader. If using custom shaders, it is recommended to disable video_smooth. #ifdef HAVE_CG extern char cg_shader_path[]; -#define DEFAULT_CG_SHADER "hqflt/cg/hq2x.cg" +#define DEFAULT_CG_SHADER "hqflt/cg/2xSaI.cg" #endif // On resize and fullscreen, rendering area will stay 4:3 @@ -93,17 +93,17 @@ static const bool force_aspect = true; static const bool audio_enable = true; // Output samplerate -static const unsigned out_rate = 48000; +static const unsigned out_rate = 44100; // Input samplerate from libSNES. // Lower this (slightly) if you are experiencing frequent audio dropouts while vsync is enabled. static const unsigned in_rate = 31950; // Audio device (e.g. hw:0,0 or /dev/audio). If NULL, will use defaults. -static const char* audio_device = NULL; +static const char* audio_device = "hw:0"; // Desired audio latency in milliseconds. Might not be honored if driver can't provide given latency. -static const int out_latency = 64; +static const int out_latency = 16; // Will sync audio. (recommended) static const bool audio_sync = true; diff --git a/config.mk b/config.mk index 64e9c95494..65face463c 100644 --- a/config.mk +++ b/config.mk @@ -1,6 +1,6 @@ BUILD_OPENGL = 1 -BUILD_CG = 0 +BUILD_CG = 1 BUILD_FILTER = 0 BUILD_RSOUND = 0 @@ -10,5 +10,4 @@ BUILD_ROAR = 0 BUILD_AL = 0 -PREFIX = /usr/local - +PREFIX = /usr