From 46be5796d3bccfaa98024381c226a8ff0b7950ca Mon Sep 17 00:00:00 2001 From: skidau Date: Wed, 8 Apr 2015 05:05:12 +0000 Subject: [PATCH] Enabled the RTC and rom mirroring by default. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1337 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/gba/Globals.cpp | 2 +- src/gba/RTC.cpp | 2 +- src/win32/MainWnd.cpp | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gba/Globals.cpp b/src/gba/Globals.cpp index 67bef6b8..2c6ce227 100644 --- a/src/gba/Globals.cpp +++ b/src/gba/Globals.cpp @@ -31,7 +31,7 @@ int layerEnable = 0xff00; bool speedHack = false; int cpuSaveType = 0; bool cheatsEnabled = true; -bool mirroringEnable = false; +bool mirroringEnable = true; bool skipSaveGameBattery = false; bool skipSaveGameCheats = false; diff --git a/src/gba/RTC.cpp b/src/gba/RTC.cpp index 5249b7ec..b5c6ec45 100644 --- a/src/gba/RTC.cpp +++ b/src/gba/RTC.cpp @@ -33,7 +33,7 @@ typedef struct { } RTCCLOCKDATA; static RTCCLOCKDATA rtcClockData; -static bool rtcEnabled = false; +static bool rtcEnabled = true; void rtcEnable(bool e) { diff --git a/src/win32/MainWnd.cpp b/src/win32/MainWnd.cpp index 8654c87e..8272e128 100644 --- a/src/win32/MainWnd.cpp +++ b/src/win32/MainWnd.cpp @@ -544,8 +544,8 @@ bool MainWnd::FileRun() "rtcEnabled", -1, tempName); - if(i != (UINT)-1) - rtcEnable(i == 0 ? false : true); + + rtcEnable(i == 0 ? false : true); i = GetPrivateProfileInt(buffer, "flashSize", @@ -564,8 +564,8 @@ bool MainWnd::FileRun() "mirroringEnabled", -1, tempName); - if(i != (UINT)-1) - doMirroring (i == 0 ? false : true); + + doMirroring(i == 0 ? false : true); theApp.emulator = GBASystem;