rtoss - Diff between revs 302 and 345

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 302 Rev 345
Line 7... Line 7...
7 #include "ConfigDlg.h" 7 #include "ConfigDlg.h"
8 8
9 #ifdef _DEBUG 9 #ifdef _DEBUG
10 #define new DEBUG_NEW 10 #define new DEBUG_NEW
11 #endif 11 #endif
-   12
-   13 DWORD   g_dwExtraBreeds = 0;
12 14
13 StringEntry * GetEncNameEntry(WORD wAreaId) 15 StringEntry * GetEncNameEntry(WORD wAreaId)
14 { 16 {
15         static DWORD    dwPreIndex = 0; 17         static DWORD    dwPreIndex = 0;
16         DWORD                   dwIndex; 18         DWORD                   dwIndex;
Line 266... Line 268...
266 #define REG_KEY_NAME    _T("PokemonRomViewer") 268 #define REG_KEY_NAME    _T("PokemonRomViewer")
267 #define SECTION_NAME    _T("Configurations") 269 #define SECTION_NAME    _T("Configurations")
268 #define VAL_ROM_PATH    _T("Rom Path") 270 #define VAL_ROM_PATH    _T("Rom Path")
269 #define VAL_UI_LANG             _T("UI Language") 271 #define VAL_UI_LANG             _T("UI Language")
270 #define VAL_UI_COUNT    _T("UI Count") 272 #define VAL_UI_COUNT    _T("UI Count")
-   273 #define VAL_EXTRABREEDS _T("ExtraBreeds")
271 274
272 // CPokemonRomViewerApp ³õʼ»¯ 275 // CPokemonRomViewerApp ³õʼ»¯
273 BOOL CPokemonRomViewerApp::InitInstance() 276 BOOL CPokemonRomViewerApp::InitInstance()
274 { 277 {
275         BOOL    bResult = TRUE; 278         BOOL    bResult = TRUE;
Line 657... Line 660...
657 VOID CPokemonRomViewerApp::ReadConfig() 660 VOID CPokemonRomViewerApp::ReadConfig()
658 { 661 {
659         cfg.szRomPath = GetProfileString(SECTION_NAME, VAL_ROM_PATH, NULL); 662         cfg.szRomPath = GetProfileString(SECTION_NAME, VAL_ROM_PATH, NULL);
660         cfg.dwCount = GetProfileInt(SECTION_NAME, VAL_UI_COUNT, ui_count_none); 663         cfg.dwCount = GetProfileInt(SECTION_NAME, VAL_UI_COUNT, ui_count_none);
661         cfg.dwLang = GetProfileInt(SECTION_NAME, VAL_UI_LANG, ui_lang_jp); 664         cfg.dwLang = GetProfileInt(SECTION_NAME, VAL_UI_LANG, ui_lang_jp);
-   665         g_dwExtraBreeds = GetProfileInt(SECTION_NAME, VAL_EXTRABREEDS, 0);
662 } 666 }
663 667
664 VOID CPokemonRomViewerApp::WriteConfig() 668 VOID CPokemonRomViewerApp::WriteConfig()
665 { 669 {
666         if(m_bFirstInstance) 670         if(m_bFirstInstance)