mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
- fixed Blood cutscene playback.
Some merge from upstream must have broken the file name correction.
This commit is contained in:
parent
2c35f87925
commit
91a4e0a005
1 changed files with 4 additions and 1 deletions
|
@ -20,12 +20,15 @@
|
||||||
#include "FileStream.h"
|
#include "FileStream.h"
|
||||||
#include "filesystem/filesystem.h"
|
#include "filesystem/filesystem.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include "cmdlib.h"
|
||||||
|
|
||||||
namespace SmackerCommon {
|
namespace SmackerCommon {
|
||||||
|
|
||||||
bool FileStream::Open(const char *fileName)
|
bool FileStream::Open(const char *fileName)
|
||||||
{
|
{
|
||||||
file = fileSystem.OpenFileReader(fileName, 0);
|
FString fixedname = fileName;
|
||||||
|
FixPathSeperator(fixedname);
|
||||||
|
file = fileSystem.OpenFileReader(fixedname, 0);
|
||||||
if (!file.isOpen())
|
if (!file.isOpen())
|
||||||
{
|
{
|
||||||
// log error
|
// log error
|
||||||
|
|
Loading…
Reference in a new issue