Disable the button ok in vs mode
#16
i make a C0 and doesn't work to maybe is just the code

the code:
lis r12, 0x8035
lhz r12, 0x57E2 (r12)
li r11, 0x0880
and r0, r11, r12
cmpw r0, r11
lis r12, 0x8000
beq- button_pressed

#Nothing Pressed, Reset Button Status, End C0
li r0, 0
stb r0, 0x3FF (r12)
blr


button_pressed:
.set InputManager_s_instance, 0x809bd70c

lis r3, InputManager_s_instance@ha
lwz r3, InputManager_s_instance@l (r3)
lwz r3, 0x8 (r3)
lhz r4, 0x20 (r3)
ori r4, r4, 0x1
sth r4, 0x20 (r3)

blr
Reply


Messages In This Thread
Disable the button ok in vs mode - by coco - 11-19-2021, 11:58 AM
RE: Disable the button ok in vs mode - by Vega - 11-19-2021, 04:18 PM
RE: Disable the button ok in vs mode - by coco - 11-19-2021, 05:31 PM
RE: Disable the button ok in vs mode - by coco - 11-20-2021, 10:17 AM
RE: Disable the button ok in vs mode - by Vega - 11-19-2021, 11:06 PM
RE: Disable the button ok in vs mode - by coco - 11-20-2021, 10:22 AM
RE: Disable the button ok in vs mode - by stebler - 11-20-2021, 06:18 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 12:25 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 03:13 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 04:42 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 05:30 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 05:42 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 05:51 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 05:52 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 06:21 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 10:31 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 02:03 AM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 12:13 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 03:35 PM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 06:19 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 06:59 PM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 07:03 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)