Skip to content

Commit

Permalink
Add support for lv2open for firmware 3.15, thanks to kkk
Browse files Browse the repository at this point in the history
  • Loading branch information
kakaroto committed Oct 15, 2010
1 parent 2f18e68 commit 6f94721
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 0 additions & 2 deletions default_payload.S
Expand Up @@ -114,9 +114,7 @@ patch_table:
PATCH_INST(patch_func5 + patch_func5_offset + 4, blr)
PATCH_INST(patch_func6 + patch_func6_offset, li %r3, 0)
PATCH_INST(patch_func7 + patch_func7_offset, li %r3, 0)
#ifdef FIRMWARE_3_41
PATCH_INST(patch_func8 + patch_func8_offset, li %r31, 0) //lv2open update patch
#endif
.long 0


Expand Down
14 changes: 10 additions & 4 deletions macros.h.S
Expand Up @@ -100,10 +100,12 @@
#define patch_func4_offset 0x0
#define patch_func5 0x05009c
#define patch_func5_offset 0x0
#define patch_func6 0
#define patch_func6_offset 0
#define patch_func7 0
#define patch_func7_offset 0
#define patch_func6 0x237E0
#define patch_func6_offset 0x0
#define patch_func7 0xE8E98
#define patch_func7_offset 0x0
#define patch_func8 0x56E48
#define patch_func8_offset 0x0
#define patch_data1 0x3B9910
#define rtoc_entry_1 0xd58
#define rtoc_entry_2 -0x6b08
Expand Down Expand Up @@ -155,6 +157,8 @@
#define patch_func6_offset 0
#define patch_func7 0
#define patch_func7_offset 0
#define patch_func8 0
#define patch_func8_offset 0
#define patch_data1 0x3B9990
#define rtoc_entry_1 0xD60
#define rtoc_entry_2 -0x6B08
Expand Down Expand Up @@ -210,6 +214,8 @@
#define patch_func6_offset 0
#define patch_func7 0
#define patch_func7_offset 0
#define patch_func8 0
#define patch_func8_offset 0
#define patch_data1 0x39C010
#define rtoc_entry_1 0xD00
#define rtoc_entry_2 -0x6B30
Expand Down

0 comments on commit 6f94721

Please sign in to comment.