mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Symbian^3 port
This commit is contained in:
parent
77cdaaf97e
commit
3eb71f2cc5
106 changed files with 2098 additions and 745 deletions
5
vendor/librw/src/base.cpp
vendored
5
vendor/librw/src/base.cpp
vendored
|
|
@ -18,6 +18,7 @@
|
|||
#include "rwpipeline.h"
|
||||
#include "rwobjects.h"
|
||||
#include "rwengine.h"
|
||||
#include "fcaseopen.h"
|
||||
|
||||
namespace rw {
|
||||
|
||||
|
|
@ -999,7 +1000,7 @@ StreamFile*
|
|||
StreamFile::open(const char *path, const char *mode)
|
||||
{
|
||||
assert(this->file == nil);
|
||||
this->file = fopen(path, mode);
|
||||
this->file = fcaseopen(path, mode);
|
||||
if(this->file == nil){
|
||||
RWERROR((ERR_FILE, path));
|
||||
return nil;
|
||||
|
|
@ -1106,7 +1107,7 @@ findPointer(void *p, void **list, int32 num)
|
|||
uint8*
|
||||
getFileContents(const char *name, uint32 *len)
|
||||
{
|
||||
FILE *cf = fopen(name, "rb");
|
||||
FILE *cf = fcaseopen(name, "rb");
|
||||
if(cf == nil)
|
||||
return nil;
|
||||
fseek(cf, 0, SEEK_END);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue