mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Fixed TLS for PPU threads
This commit is contained in:
parent
2be045593a
commit
4ea1b8cffc
4 changed files with 72 additions and 3 deletions
|
@ -356,7 +356,7 @@ namespace loader
|
|||
ppu_thr_stop_data[1] = BLR();
|
||||
Emu.SetCPUThreadStop(ppu_thr_stop_data.addr());
|
||||
|
||||
vm::write64(Memory.PRXMem.AllocAlign(0x10000), 0xDEADBEEFABADCAFE);
|
||||
//vm::write64(Memory.PRXMem.AllocAlign(0x10000), 0xDEADBEEFABADCAFE);
|
||||
/*
|
||||
//TODO
|
||||
static const int branch_size = 6 * 4;
|
||||
|
@ -423,7 +423,6 @@ namespace loader
|
|||
|
||||
case 0x00000007: //TLS
|
||||
Emu.SetTLSData(phdr.p_vaddr.addr(), phdr.p_filesz.value(), phdr.p_memsz.value());
|
||||
LOG_ERROR(LOADER, "TLS: addr=0x%x, filesz=0x%x, memsz=0x%x", Emu.GetTLSAddr(), Emu.GetTLSFilesz(), Emu.GetTLSMemsz());
|
||||
break;
|
||||
|
||||
case 0x60000001: //LOOS+1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue