mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
MxStream provider and controller vtables (#191)
* MxStreamProvider and MxRamStreamProvider vtable * Update mxramstreamprovider.h * Match IsA * Fixes, improvements --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -80,7 +80,7 @@ MxLong MxStreamer::Close(const char *p)
|
||||
for (list<MxStreamController *>::iterator it = m_openStreams.begin(); it != m_openStreams.end(); it++) {
|
||||
MxStreamController *c = *it;
|
||||
|
||||
if (!p || !strcmp(p, c->atom.GetInternal())) {
|
||||
if (!p || !strcmp(p, c->GetAtom().GetInternal())) {
|
||||
m_openStreams.erase(it);
|
||||
|
||||
if (!c->FUN_100c20d0(ds)) {
|
||||
@@ -109,7 +109,7 @@ MxStreamController *MxStreamer::GetOpenStream(const char *p_name)
|
||||
{
|
||||
for (list<MxStreamController *>::iterator it = m_openStreams.begin(); it != m_openStreams.end(); it++) {
|
||||
MxStreamController *c = *it;
|
||||
MxAtomId &atom = c->atom;
|
||||
MxAtomId &atom = c->GetAtom();
|
||||
if (p_name) {
|
||||
if (!strcmp(atom.GetInternal(), p_name)) {
|
||||
return *it;
|
||||
|
Reference in New Issue
Block a user