aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2013-01-13 00:26:15 +0200
committernotaz2013-01-13 00:42:12 +0200
commit9a11a883128d9df1fb3e6cce8bde69834c766266 (patch)
tree3d6a8786de39b57930f810710242a1fb33be8ebf
parenta2d3ccb80003794a38ee9183b6f01de189beaff0 (diff)
downloadpcsx_rearmed-9a11a883128d9df1fb3e6cce8bde69834c766266.tar.gz
pcsx_rearmed-9a11a883128d9df1fb3e6cce8bde69834c766266.tar.bz2
pcsx_rearmed-9a11a883128d9df1fb3e6cce8bde69834c766266.zip
frontend: save gamma too
-rw-r--r--frontend/menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/menu.c b/frontend/menu.c
index 7dab2e6..3a6ae9c 100644
--- a/frontend/menu.c
+++ b/frontend/menu.c
@@ -8,7 +8,7 @@
* See the COPYING file in the top-level directory.
*/
-#define _GNU_SOURCE
+#define _GNU_SOURCE 1
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -327,6 +327,7 @@ static void menu_set_defconfig(void)
g_opts = 0;
g_scaler = SCALE_4_3;
+ g_gamma = 100;
volume_boost = 0;
frameskip = 0;
analog_deadzone = 50;
@@ -391,6 +392,7 @@ static const struct {
CE_CONFIG_VAL(Cpu),
CE_INTVAL(region),
CE_INTVAL_V(g_scaler, 2),
+ CE_INTVAL(g_gamma),
CE_INTVAL(g_layer_x),
CE_INTVAL(g_layer_y),
CE_INTVAL(g_layer_w),