Use VirtualProtect for PC WriteCodeBlocks
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
.meta visibility="all"
|
||||
.meta name="PC text noop"
|
||||
.meta description="PC-only test.\nWrites NOPs over\nexisting code NOPs."
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocks
|
||||
|
||||
|
||||
|
||||
.versions 2OJW
|
||||
|
||||
.data 0x004E03DE
|
||||
.data 2
|
||||
nop
|
||||
nop
|
||||
|
||||
|
||||
|
||||
.all_versions
|
||||
|
||||
.data 0x00000000
|
||||
.data 0x00000000
|
||||
@@ -43,8 +43,17 @@ start:
|
||||
|
||||
|
||||
|
||||
# PSO Peeps: PC 2OJW temporarily disabled while testing PC WriteCodeBlocks.
|
||||
# The disk-patched bytes work, but runtime menu delivery is crashing.
|
||||
.versions 2OJW
|
||||
|
||||
.data 0x004DFC9A
|
||||
.data 2
|
||||
nop
|
||||
nop
|
||||
|
||||
.data 0x004E03F4
|
||||
.data 2
|
||||
nop
|
||||
nop
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user