mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-01-28 12:39:10 +00:00
Get rid of some address translation
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
extern struct Library *A314Base;
|
||||
|
||||
ULONG __TranslateAddressA314(__reg("a6") void *, __reg("a0") void *)="\tjsr\t-42(a6)";
|
||||
#define TranslateAddressA314(address) __TranslateAddressA314(A314Base, address)
|
||||
//ULONG __TranslateAddressA314(__reg("a6") void *, __reg("a0") void *)="\tjsr\t-42(a6)";
|
||||
#define TranslateAddressA314(address) (ULONG)address
|
||||
|
||||
#endif
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
with open('a314fs', 'r+b') as f:
|
||||
with open('../a314fs', 'r+b') as f:
|
||||
f.seek(0x1c)
|
||||
b = f.read(4)
|
||||
f.seek(0x20)
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user