From 7c5c8b4fc5ad1370a29b6d59fff488c661cd9d9d Mon Sep 17 00:00:00 2001 From: dinkc64 <12570148+dinkc64@users.noreply.github.com> Date: Fri, 22 Aug 2014 18:56:55 +0000 Subject: [PATCH] sg1000 and coleco default rompaths --- src/burner/win32/drv.cpp | 2 +- src/burner/win32/main.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/burner/win32/drv.cpp b/src/burner/win32/drv.cpp index 91bab3dbc..ba32989ee 100644 --- a/src/burner/win32/drv.cpp +++ b/src/burner/win32/drv.cpp @@ -5,7 +5,7 @@ int bDrvOkay = 0; // 1 if the Driver has been initted okay, and it's okay t TCHAR szAppRomPaths[DIRS_MAX][MAX_PATH] = { { _T("") }, { _T("") }, { _T("") }, { _T("") }, { _T("") }, { _T("") }, { _T("") }, { _T("") }, { _T("") }, { _T("") }, - { _T("") }, { _T("") }, { _T("") }, { _T("") }, { _T("") }, + { _T("") }, { _T("") }, { _T("") }, { _T("sg1000/") }, { _T("coleco/") }, { _T("tg16/") }, { _T("sgx/") }, { _T("pce/") }, { _T("megadriv/") }, { _T("roms/") } }; static bool bSaveRAM = false; diff --git a/src/burner/win32/main.cpp b/src/burner/win32/main.cpp index 573b1ea1e..5c37eb8c1 100644 --- a/src/burner/win32/main.cpp +++ b/src/burner/win32/main.cpp @@ -844,7 +844,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, int nShowCmd AppDirectory(); // Set current directory to be the applications directory // Make sure there are roms and cfg subdirectories - TCHAR szDirs[23][MAX_PATH] = { + TCHAR szDirs[25][MAX_PATH] = { {_T("config")}, {_T("config/games")}, {_T("config/ips")}, @@ -869,9 +869,11 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, int nShowCmd {_T("pce/")}, {_T("sgx/")}, {_T("tg16/")}, + {_T("sg1000/")}, + {_T("coleco/")}, }; - for(int x = 0; x < 23; x++) { + for(int x = 0; x < 25; x++) { CreateDirectory(szDirs[x], NULL); }