Skip to content

Commit

Permalink
SPURS: Disable the SPURS kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
gopalsr83 committed Feb 11, 2015
1 parent 853234f commit d675c67
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,13 @@ bool spursKernelWorkloadExit(SPUThread & spu) {

/// SPURS kernel entry point
bool spursKernelEntry(SPUThread & spu) {
while (true) {
std::this_thread::sleep_for(std::chrono::milliseconds(100));
if (Emu.IsStopped()) {
return false;
}
}

auto ctxt = vm::get_ptr<SpursKernelContext>(spu.ls_offset + 0x100);
memset(ctxt, 0, sizeof(SpursKernelContext));

Expand Down

0 comments on commit d675c67

Please sign in to comment.