mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
mem64_t replaced
Added conversion from vm::var to vm::ptr of the same type.
This commit is contained in:
parent
0d94c78e63
commit
0b5ef1d8f9
22 changed files with 177 additions and 169 deletions
|
@ -574,19 +574,19 @@ int cellSurMixerPause(u32 type)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellSurMixerGetCurrentBlockTag(mem64_t tag)
|
||||
int cellSurMixerGetCurrentBlockTag(vm::ptr<be_t<u64>> tag)
|
||||
{
|
||||
libmixer->Log("cellSurMixerGetCurrentBlockTag(tag_addr=0x%x)", tag.GetAddr());
|
||||
libmixer->Log("cellSurMixerGetCurrentBlockTag(tag_addr=0x%x)", tag.addr());
|
||||
|
||||
tag = mixcount;
|
||||
*tag = mixcount;
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellSurMixerGetTimestamp(u64 tag, mem64_t stamp)
|
||||
int cellSurMixerGetTimestamp(u64 tag, vm::ptr<be_t<u64>> stamp)
|
||||
{
|
||||
libmixer->Log("cellSurMixerGetTimestamp(tag=0x%llx, stamp_addr=0x%x)", tag, stamp.GetAddr());
|
||||
libmixer->Log("cellSurMixerGetTimestamp(tag=0x%llx, stamp_addr=0x%x)", tag, stamp.addr());
|
||||
|
||||
stamp = m_config.start_time + (tag) * 256000000 / 48000; // ???
|
||||
*stamp = m_config.start_time + (tag) * 256000000 / 48000; // ???
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue