Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add patch to remove the 80010019 error for games requiring 3.42 (MOH …

…for example)
  • Loading branch information...
commit b14e914cead4f71d6e5e58b307b7ccb1601db32d 1 parent a530cdc
authored October 22, 2010 kakaroto committed October 22, 2010
1  default_payload.S
@@ -120,6 +120,7 @@ patch_table:
120 120
 	// disable calls in lv2open to lv1_send_event_locally which makes
121 121
 	// the system crash
122 122
 	PATCH_INST(patch_func8 + patch_func8_offset2, nop)
  123
+	PATCH_INST(patch_func9 + patch_func9_offset, nop)
123 124
 	.long	0
124 125
 
125 126
 
8  firmware_symbols.h.S
@@ -48,6 +48,8 @@
48 48
 #define patch_func8		0x057214 //lv2open update patch
49 49
 #define patch_func8_offset1	0xA4 //lv2open update patch
50 50
 #define patch_func8_offset2	0x208 //lv2open update patch
  51
+#define patch_func9		0x4FC2C // must upgrade error
  52
+#define patch_func9_offset	0x0
51 53
 #define patch_data1		0x3ba890
52 54
 #define rtoc_entry_1		0xf08
53 55
 #define rtoc_entry_2		-0x6a00
@@ -125,6 +127,8 @@
125 127
 #define patch_func8		0x56C3C
126 128
 #define patch_func8_offset1	0x68
127 129
 #define patch_func8_offset2	0x1CC
  130
+#define patch_func9		0x4F6F8 // must upgrade error
  131
+#define patch_func9_offset	0x0
128 132
 #define patch_data1		0x3B9910
129 133
 #define rtoc_entry_1		0xd58
130 134
 #define rtoc_entry_2		-0x6b08
@@ -178,6 +182,8 @@
178 182
 #define patch_func7_offset	0
179 183
 #define patch_func8		0
180 184
 #define patch_func8_offset	0
  185
+#define patch_func9		0
  186
+#define patch_func9_offset	0
181 187
 #define patch_data1		0x3B9990
182 188
 #define rtoc_entry_1		0xD60
183 189
 #define rtoc_entry_2		-0x6B08
@@ -235,6 +241,8 @@
235 241
 #define patch_func7_offset	0
236 242
 #define patch_func8		0
237 243
 #define patch_func8_offset	0
  244
+#define patch_func9		0
  245
+#define patch_func9_offset	0
238 246
 #define patch_data1		0x39C010
239 247
 #define rtoc_entry_1		0xD00
240 248
 #define rtoc_entry_2		-0x6B30
2  open_hook.h.S
@@ -137,7 +137,7 @@ l_hook_open_next_table_entry:
137 137
 	cmplwi	%r5, 0
138 138
 	beq	l_hook_open_next_table_entry	// if size is 0, then try next
139 139
 	mr	%r3, %r29			// Load the path to compare in %r3
140  
-	mr	%r31, %r5			// Store the size in %r30
  140
+	mr	%r31, %r5			// Store the size in %r31
141 141
 	bl	ABSOLUTE_MEM2(strncmp)
142 142
 	cmpldi	%r3, 0
143 143
 	bne	l_hook_open_next_table_entry	// If different, then go to next entry

0 notes on commit b14e914

Please sign in to comment.
Something went wrong with that request. Please try again.