mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
declCPU removed, PPUThread& is passed as argument
Added experimental feature: passing PPUThread& to syscall
This commit is contained in:
parent
8cc09d1c91
commit
626133c0eb
15 changed files with 111 additions and 81 deletions
|
@ -529,8 +529,7 @@ int cellSurMixerStart()
|
|||
|
||||
int cellSurMixerSetParameter(u32 param, float value)
|
||||
{
|
||||
declCPU();
|
||||
libmixer->Todo("cellSurMixerSetParameter(param=0x%x, value=%f, FPR[1]=%f, FPR[2]=%f)", param, value, (float&)CPU.FPR[1], (float&)CPU.FPR[2]);
|
||||
libmixer->Todo("cellSurMixerSetParameter(param=0x%x, value=%f)", param, value);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
@ -616,28 +615,25 @@ void cellSurMixerBeep(u32 arg)
|
|||
return;
|
||||
}
|
||||
|
||||
void cellSurMixerUtilGetLevelFromDB(float dB)
|
||||
float cellSurMixerUtilGetLevelFromDB(float dB)
|
||||
{
|
||||
// not hooked, probably unnecessary
|
||||
libmixer->Todo("cellSurMixerUtilGetLevelFromDB(dB=%f)", dB);
|
||||
declCPU();
|
||||
(float&)CPU.FPR[0] = 0.0f;
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
void cellSurMixerUtilGetLevelFromDBIndex(int index)
|
||||
float cellSurMixerUtilGetLevelFromDBIndex(s32 index)
|
||||
{
|
||||
// not hooked, probably unnecessary
|
||||
libmixer->Todo("cellSurMixerUtilGetLevelFromDBIndex(index=%d)", index);
|
||||
declCPU();
|
||||
(float&)CPU.FPR[0] = 0.0f;
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
void cellSurMixerUtilNoteToRatio(u8 refNote, u8 note)
|
||||
float cellSurMixerUtilNoteToRatio(u8 refNote, u8 note)
|
||||
{
|
||||
// not hooked, probably unnecessary
|
||||
libmixer->Todo("cellSurMixerUtilNoteToRatio(refNote=%d, note=%d)", refNote, note);
|
||||
declCPU();
|
||||
(float&)CPU.FPR[0] = 0.0f;
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
void libmixer_init(Module *pxThis)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue