mirror of
https://github.com/project-slippi/slippi-ssbm-asm.git
synced 2025-10-05 23:52:43 +02:00
add code to force ecb crash to test display
This commit is contained in:
16
Debugging/ForceECBCrash/ForceECBCrash.asm
Normal file
16
Debugging/ForceECBCrash/ForceECBCrash.asm
Normal file
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
# Address: 80043230
|
||||
################################################################################
|
||||
|
||||
.include "Common/Common.s"
|
||||
|
||||
loadGlobalFrame r12
|
||||
cmpwi r12, 180
|
||||
blt EXIT
|
||||
|
||||
# Force crash
|
||||
li r0, 1
|
||||
|
||||
EXIT:
|
||||
# replaced codeline
|
||||
cmpwi r0, 1
|
28
force-ecb-crash.json
Normal file
28
force-ecb-crash.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"outputFiles": [
|
||||
{
|
||||
"file": "Output/Debug/force-ecb-crash.gct"
|
||||
},
|
||||
{
|
||||
"file": "Output/Debug/force-ecb-crash.txt"
|
||||
}
|
||||
],
|
||||
"codes": [
|
||||
{
|
||||
"name": "Force crash",
|
||||
"authors": [
|
||||
"Fizzi"
|
||||
],
|
||||
"description": [
|
||||
"Forces ecb crash 3 seconds into game"
|
||||
],
|
||||
"build": [
|
||||
{
|
||||
"type": "injectFolder",
|
||||
"sourceFolder": "Debugging/ForceECBCrash",
|
||||
"isRecursive": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user