summaryrefslogtreecommitdiff
path: root/src/tilesetfixer.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-02-07 04:42:33 +0100
committerTreeki <treeki@gmail.com>2012-02-07 04:42:33 +0100
commitc6192702e683e1557f6fcc4393cab6363fd1bc0a (patch)
tree6ed3c04fb1427bc8adae139552b66f9e6a46e522 /src/tilesetfixer.cpp
parent71dead0e23b18b7be58e74755cfe95fabda85a21 (diff)
downloadkamek-c6192702e683e1557f6fcc4393cab6363fd1bc0a.tar.gz
kamek-c6192702e683e1557f6fcc4393cab6363fd1bc0a.zip
lots of header updates, plus a new dCourse.h
Diffstat (limited to '')
-rw-r--r--src/tilesetfixer.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/tilesetfixer.cpp b/src/tilesetfixer.cpp
index a66fc14..73615a1 100644
--- a/src/tilesetfixer.cpp
+++ b/src/tilesetfixer.cpp
@@ -1,19 +1,8 @@
#include <common.h>
#include <game.h>
-extern void *BGDatClass, *StagePtr;
const char *GetTilesetName(void *cls, int areaNum, int slotNum);
-asm int GetAreaNum() {
- nofralloc
- lis r9, StagePtr@h
- ori r9, r9, StagePtr@l
- lwz r9, 0(r9)
- lbz r3, 0x120E(r9)
- blr
-}
-
-
void DoFixes(int slotNumber);
void SwapObjData(u8 *data, int slotNumber);