MOP path and tweak conflict
#1
I have real problem, when you patch your rom with MOP from kaze and you apply the "Extend Bank 0x04" tweak the swithpanel star spawn immediatly when you enter in the level (no need to active switchpanels), this is very annoying :/
If someone have an idea how to fix that let me know. 

thanks ^^
Reply
#2
(06-16-2018, 08:16 PM)Drahnokks Wrote: I have real problem, when you patch your rom with MOP from kaze and you apply the "Extend Bank 0x04" tweak the swithpanel star spawn immediatly when you enter in the level (no need to active switchpanels), this is very annoying :/
If someone have an idea how to fix that let me know. 

thanks ^^

Code:
.orga 0x632D0
    LUI A0, 0x1300
    JAL 0x80277F50
    ORI A0, A0, 0x05D8

objects_loop:
    LUI T1, 0x8036
    ORI T1, T1, 0x0E88
    LW V1, 0x18(SP)
    BEQ T1, V1, 0x63314

    LW T2, 0x20C(V1)
    BNE T2, V0, wrong_object
    NOP

.orga 0x63304
wrong_object:
    ADDIU V1, V1, 0x260
    SW V1, 0x18(SP)
    B objects_loop
    NOP



.orga 0x63CE8
    NOP
    NOP
    BNE T2, V0, 0x63D04
Compile with armips
Reply
#3
Thanks a lot ^^ but I have a white screen now :/
Reply
#4
(06-28-2018, 12:25 PM)Drahnokks Wrote: Thanks a lot ^^ but I have a white screen now :/

Sorry, missed one instruction by accident. Here is working code
Code:
.orga 0x632D0
   LUI A0, 0x1300
   JAL 0x80277F50
   ORI A0, A0, 0x05D8

objects_loop:
   LUI T1, 0x8036
   ORI T1, T1, 0x0E88
   LW V1, 0x18(SP)
   BEQ T1, V1, 0x63314

   LW T2, 0x20C(V1)
   BNE T2, V0, wrong_object
   NOP

    LW T4, 0x0F0(V1)

.orga 0x63304
wrong_object:
   ADDIU V1, V1, 0x260
   SW V1, 0x18(SP)
   B objects_loop
   NOP

.orga 0x63CE8
   NOP
   NOP
   BNE T2, V0, 0x63D04
Reply
#5
That's work Big Grin thanks again Aglab
Reply




Users browsing this thread: 3 Guest(s)