mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Tier0: use cached results from GetInternalStreamMode()
No need to call it again.
This commit is contained in:
parent
e63660b549
commit
b288d072db
@ -54,7 +54,7 @@ bool CIOStream::Open(const char* const filePath, const Mode_e mode)
|
|||||||
m_stream.close();
|
m_stream.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_stream.open(filePath, GetInternalStreamMode(mode));
|
m_stream.open(filePath, m_flags);
|
||||||
|
|
||||||
if (!m_stream.is_open() || !m_stream.good())
|
if (!m_stream.is_open() || !m_stream.good())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user