mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
sceMpeg : Remove obsolete getMpegHandle()
This commit is contained in:
parent
ef6e6083dc
commit
82add9725e
1 changed files with 3 additions and 4 deletions
|
@ -197,6 +197,9 @@ static std::map<u32, MpegContext *> mpegMap;
|
|||
static u32 lastMpegHandle = 0;
|
||||
|
||||
MpegContext *getMpegCtx(u32 mpegAddr) {
|
||||
if (!Memory::IsValidAddress(mpegAddr))
|
||||
return NULL;
|
||||
|
||||
u32 mpeg = Memory::Read_U32(mpegAddr);
|
||||
|
||||
if (mpegMap.find(mpeg) == mpegMap.end())
|
||||
|
@ -205,10 +208,6 @@ MpegContext *getMpegCtx(u32 mpegAddr) {
|
|||
return mpegMap[mpeg];
|
||||
}
|
||||
|
||||
u32 getMpegHandle(u32 mpeg) {
|
||||
return Memory::Read_U32(mpeg);
|
||||
}
|
||||
|
||||
static void InitRingbuffer(SceMpegRingBuffer *buf, int packets, int data, int size, int callback_addr, int callback_args) {
|
||||
buf->packets = packets;
|
||||
buf->packetsRead = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue