From 1256d0dd4c92fe2a8e553c2b69bdb53447ec1736 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Thu, 3 Jul 2008 06:50:46 +0000 Subject: [PATCH] now saves to ~/.fceultra/movie/#.fc2 --- src/drivers/sdl/config.cpp | 2 +- src/drivers/sdl/input.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/drivers/sdl/config.cpp b/src/drivers/sdl/config.cpp index 850af7f3..267f5ae2 100644 --- a/src/drivers/sdl/config.cpp +++ b/src/drivers/sdl/config.cpp @@ -51,7 +51,7 @@ LoadCPalette(const std::string &file) static void CreateDirs(const std::string &dir) { - char *subs[7]={"fcs","fcm","snaps","gameinfo","sav","cheats","movie"}; + char *subs[7]={"fcs","snaps","gameinfo","sav","cheats","movie"}; std::string subdir; int x; diff --git a/src/drivers/sdl/input.cpp b/src/drivers/sdl/input.cpp index 91056b5c..d958d3d9 100644 --- a/src/drivers/sdl/input.cpp +++ b/src/drivers/sdl/input.cpp @@ -224,10 +224,10 @@ KeyboardCommands() if(is_shift) { char* fname = g_config->getConfigDirectory(); char fnum[2]; - strcat(fname, "/fcm/"); + strcat(fname, "/movie/"); sprintf(fnum, "%d", movie_slot); strcat(fname, fnum); - strcat(fname, ".fcm"); + strcat(fname, ".fc2"); FCEUI_printf("Recording movie to %s\n", fname); FCEUI_SaveMovie(fname, MOVIE_FLAG_NONE); @@ -242,10 +242,10 @@ KeyboardCommands() if(is_shift) { char* fname = g_config->getConfigDirectory(); char fnum[2]; - strcat(fname, "/fcm/"); + strcat(fname, "/movie/"); sprintf(fnum, "%d", movie_slot); strcat(fname, fnum); - strcat(fname, ".fcm"); + strcat(fname, ".fc2"); FCEUI_printf("Playing back movie located at %s\n", fname); FCEUI_LoadMovie(fname , false, false, false);