X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fsave.c;h=fe52cc4982c6f3985774ed8da7d7aeb2c76e1381;hp=4ffb554521c490f7e198b70d056bdd48ecdff84f;hb=b56f1875b3e8f5c2dfe1f00e35bc3b103044870a;hpb=563dffaf02ff36da4054f937fcc9f99a072e15bf diff --git a/src/save.c b/src/save.c index 4ffb554..fe52cc4 100644 --- a/src/save.c +++ b/src/save.c @@ -1,3 +1,20 @@ +/* Copyright (C) 1996-1997 Aleksey Volynskov + * Copyright (C) 2011 Rambo + * Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "save.h" #include "dots.h" @@ -135,7 +152,7 @@ static void G_loadgame (FILE *h) { } cheat = myfread8(h); myfread(g_music, 8, 1, h); - F_loadmus(g_music); + MUS_load(g_music); } static void IT_savegame (FILE *h) { @@ -526,7 +543,7 @@ static char *getsavfpname (int n, int ro) { static char p[100]; char *e = getenv("HOME"); strncpy(p, e, 60); - strcat(p, "/.doom2d-rembo"); + strcat(p, "/.flatwaifu"); if (!ro) { mkdir(p, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH); }