zmovie.cfg is now created when ZSNES loads, and is only read then.

This commit is contained in:
n-a-c-h
2006-03-03 01:32:52 +00:00
parent def4a324eb
commit 85e0886b43
2 changed files with 2 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <zlib.h>
#define DIR_SLASH "\\"
#endif
#include "../psrhead/md.h"
extern unsigned char ComboHeader[23], ComboBlHeader[23], GUIRAdd;
extern unsigned char GUIsmallscreenon, ScreenScale, TimeChecker;
@@ -68,6 +69,7 @@ void GUIRestoreVars()
FILE *cfg_fp;
read_cfg_vars(GUIFName);
read_md_vars("zmovie.cfg");
smallscreenon = (unsigned int)GUIsmallscreenon;
ScreenScale = GUIScreenScale;

View File

@@ -2027,8 +2027,6 @@ static void raw_video_close()
static bool raw_video_open()
{
read_md_vars("zmovie.cfg");
chdir(ZStartPath);
switch (MovieVideoMode)