Skip to content

Commit bc10e75

Browse files
committed
cellGam: Add more wait flags
1 parent 512215e commit bc10e75

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

rpcs3/Emu/Cell/Modules/cellGem.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2308,8 +2308,10 @@ error_code cellGemConvertVideoFinish(ppu_thread& ppu)
23082308
return CELL_OK;
23092309
}
23102310

2311-
error_code cellGemConvertVideoStart(vm::cptr<void> video_frame)
2311+
error_code cellGemConvertVideoStart(ppu_thread& ppu, vm::cptr<void> video_frame)
23122312
{
2313+
ppu.state += cpu_flag::wait;
2314+
23132315
cellGem.warning("cellGemConvertVideoStart(video_frame=*0x%x)", video_frame);
23142316

23152317
auto& gem = g_fxo->get<gem_config>();
@@ -2461,6 +2463,8 @@ error_code cellGemEnableMagnetometer2(u32 gem_num, u32 enable)
24612463

24622464
error_code cellGemEnd(ppu_thread& ppu)
24632465
{
2466+
ppu.state += cpu_flag::wait;
2467+
24642468
cellGem.warning("cellGemEnd()");
24652469

24662470
auto& gem = g_fxo->get<gem_config>();
@@ -3605,6 +3609,8 @@ error_code cellGemTrackHues(vm::cptr<u32> req_hues, vm::ptr<u32> res_hues)
36053609

36063610
error_code cellGemUpdateFinish(ppu_thread& ppu)
36073611
{
3612+
ppu.state += cpu_flag::wait;
3613+
36083614
cellGem.warning("cellGemUpdateFinish()");
36093615

36103616
auto& gem = g_fxo->get<gem_config>();

0 commit comments

Comments
 (0)