mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
Implement Pause command in Cdvdfsv.
This commit is contained in:
parent
e16703ac58
commit
a50669af07
2 changed files with 8 additions and 0 deletions
|
@ -305,6 +305,13 @@ bool CCdvdfsv::Invoke595(uint32 method, uint32* args, uint32 argsSize, uint32* r
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 0x08:
|
||||||
|
CLog::GetInstance().Print(LOG_NAME, "Pause();\r\n");
|
||||||
|
assert(m_pendingCommand == COMMAND_NONE);
|
||||||
|
m_pendingCommand = COMMAND_PAUSE;
|
||||||
|
m_pendingCommandDelay = COMMAND_DEFAULT_DELAY;
|
||||||
|
return false;
|
||||||
|
|
||||||
case 0x09:
|
case 0x09:
|
||||||
return StreamCmd(args, argsSize, ret, retSize, ram);
|
return StreamCmd(args, argsSize, ret, retSize, ram);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -48,6 +48,7 @@ namespace Iop
|
||||||
COMMAND_READCHAIN,
|
COMMAND_READCHAIN,
|
||||||
COMMAND_STREAM_READ,
|
COMMAND_STREAM_READ,
|
||||||
COMMAND_NDISKREADY,
|
COMMAND_NDISKREADY,
|
||||||
|
COMMAND_PAUSE,
|
||||||
};
|
};
|
||||||
|
|
||||||
bool Invoke592(uint32, uint32*, uint32, uint32*, uint32, uint8*);
|
bool Invoke592(uint32, uint32*, uint32, uint32*, uint32, uint8*);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue