mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +01:00
SPURS: Disable the SPURS kernel
This commit is contained in:
parent
853234f7d7
commit
d675c67f79
@ -524,6 +524,13 @@ bool spursKernelWorkloadExit(SPUThread & spu) {
|
|||||||
|
|
||||||
/// SPURS kernel entry point
|
/// SPURS kernel entry point
|
||||||
bool spursKernelEntry(SPUThread & spu) {
|
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);
|
auto ctxt = vm::get_ptr<SpursKernelContext>(spu.ls_offset + 0x100);
|
||||||
memset(ctxt, 0, sizeof(SpursKernelContext));
|
memset(ctxt, 0, sizeof(SpursKernelContext));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user