mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
MemoryBase::operator[] replaced
This commit is contained in:
parent
db9cbe6cdd
commit
12becc6120
19 changed files with 74 additions and 87 deletions
|
@ -175,7 +175,7 @@ int cellAudioInit()
|
|||
const u32 position = port.tag % port.block; // old value
|
||||
const u32 buf_addr = m_config.m_buffer + (i * 128 * 1024) + (position * block_size * sizeof(float));
|
||||
|
||||
auto buf = (be_t<float>*)&Memory[buf_addr];
|
||||
auto buf = vm::get_ptr<be_t<float>>(buf_addr);
|
||||
|
||||
static const float k = 1.0f; // may be 1.0f
|
||||
const float m = port.level;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue