mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- save cutscene recorder files to CUT<mission number> folder
This commit is contained in:
parent
489c47f654
commit
5b5a910af7
@ -13,6 +13,7 @@
|
||||
#include "replays.h"
|
||||
#include "overmap.h"
|
||||
#include "handling.h"
|
||||
#include "platform.h"
|
||||
#include "MemCard/main.h"
|
||||
|
||||
#include "STRINGS.H"
|
||||
@ -487,9 +488,13 @@ void SaveReplay(int direction)
|
||||
int cnt;
|
||||
cnt = 2;
|
||||
|
||||
// put files to folder
|
||||
sprintf(filename, "CUT%d", gCutsceneAsReplay);
|
||||
_mkdir(filename);
|
||||
|
||||
while(cnt < 14)
|
||||
{
|
||||
sprintf(filename, "CUT%d_%d.D2RP", gCutsceneAsReplay, cnt);
|
||||
sprintf(filename, "CUT%d/CUT%d_%d.D2RP", gCutsceneAsReplay, gCutsceneAsReplay, cnt);
|
||||
|
||||
temp = fopen(filename, "rb");
|
||||
if (temp)
|
||||
|
Loading…
Reference in New Issue
Block a user