mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- use documents path to store reverbs.
This commit is contained in:
parent
4c799af293
commit
6403f64a93
1 changed files with 4 additions and 1 deletions
|
@ -40,6 +40,7 @@
|
|||
#include "templates.h"
|
||||
#include "w_wad.h"
|
||||
#include "i_system.h"
|
||||
#include "m_misc.h"
|
||||
|
||||
#include "c_cvars.h"
|
||||
#include "c_dispatch.h"
|
||||
|
@ -836,7 +837,9 @@ FString SuggestNewName(const ReverbContainer *env)
|
|||
|
||||
void ExportEnvironments(const char *filename, uint32_t count, const ReverbContainer **envs)
|
||||
{
|
||||
FileWriter *f = FileWriter::Open(filename);
|
||||
FString dest = M_GetDocumentsPath() + filename;
|
||||
|
||||
FileWriter *f = FileWriter::Open(dest);
|
||||
|
||||
if (f != nullptr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue