Posts: 14
	Threads: 3
	
	Joined: Mar 2018
	
	
 
	
		
		
		06-16-2018, 08:16 PM 
(This post was last modified: 06-16-2018, 08:43 PM by Drahnokks.)
 
	
	 
	
		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 ^^
	
	
	
	
	
 
 
	
	
	
		
	Posts: 4
	Threads: 0
	
	Joined: Apr 2018
	
	
 
	
	
		 (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
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 14
	Threads: 3
	
	Joined: Mar 2018
	
	
 
	
	
		Thanks a lot ^^ but I have a white screen now :/
	
	
	
	
	
 
 
	
	
	
		
	Posts: 4
	Threads: 0
	
	Joined: Apr 2018
	
	
 
	
		
		
		06-28-2018, 02:55 PM 
(This post was last modified: 06-28-2018, 02:56 PM by aglab2.)
 
	
	 
	
		 (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
 
	
	
	
	
 
 
	
	
	
		
	Posts: 14
	Threads: 3
	
	Joined: Mar 2018
	
	
 
	
	
		That's work 

 thanks again Aglab