mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
vm::ptr for u8/char types, mem_list_ptr_t removed
This commit is contained in:
parent
ebc4fa3e81
commit
a8cfefac07
31 changed files with 208 additions and 362 deletions
|
|
@ -1136,8 +1136,8 @@ int CreateInterlaceTable(u32 ea_addr, float srcH, float dstH, CellRescTableEleme
|
|||
float bandwidth = 0.5f / (srcH / dstH);
|
||||
float phi_b = 2.f * PI * bandwidth;
|
||||
float window[4];
|
||||
mem16_ptr_t buf16(ea_addr);
|
||||
mem32_ptr_t buf32(ea_addr);
|
||||
auto buf16 = vm::ptr<be_t<u16>>::make(ea_addr);
|
||||
auto buf32 = vm::ptr<be_t<float>>::make(ea_addr);
|
||||
|
||||
blackman(window);
|
||||
|
||||
|
|
@ -1165,7 +1165,8 @@ int CreateInterlaceTable(u32 ea_addr, float srcH, float dstH, CellRescTableEleme
|
|||
buf16[3] = FloatToHalf(transient[3] / total4);
|
||||
buf16 += 4;
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
buf32[0] = transient[0] / total4;
|
||||
buf32[1] = transient[1] / total4;
|
||||
buf32[2] = transient[2] / total4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue