mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Use the 1 bit in sceSasRevVON() and cleanup.
Not used yet anyway.
This commit is contained in:
parent
8e7c5be2e0
commit
8b4b4a6b8c
2 changed files with 4 additions and 2 deletions
|
@ -404,8 +404,8 @@ u32 sceSasRevEVOL(u32 core, int lv, int rv) {
|
|||
|
||||
u32 sceSasRevVON(u32 core, int dry, int wet) {
|
||||
DEBUG_LOG(HLE,"sceSasRevVON(%08x, %i, %i)", core, dry, wet);
|
||||
sas->waveformEffect.isDryOn = (dry > 0);
|
||||
sas->waveformEffect.isWetOn = (wet > 0);
|
||||
sas->waveformEffect.isDryOn = dry & 1;
|
||||
sas->waveformEffect.isWetOn = wet & 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -280,6 +280,8 @@ SasInstance::SasInstance()
|
|||
audioDump = fopen("D:\\audio.raw", "wb");
|
||||
#endif
|
||||
memset(&waveformEffect, 0, sizeof(waveformEffect));
|
||||
waveformEffect.type = -1;
|
||||
waveformEffect.isDryOn = 1;
|
||||
}
|
||||
|
||||
SasInstance::~SasInstance() {
|
||||
|
|
Loading…
Add table
Reference in a new issue