summaryrefslogtreecommitdiff
path: root/src/layouthax.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-11-24 04:52:09 +0100
committerTreeki <treeki@gmail.com>2012-11-24 04:52:09 +0100
commit663494a33bd84f4c3915297d89a5265c69c0bcaa (patch)
tree624b3744da4676a8d6822c6813508ca496ff9a51 /src/layouthax.cpp
parente37a44245428c5809de867f20c6473c71c05b154 (diff)
downloadkamek-663494a33bd84f4c3915297d89a5265c69c0bcaa.tar.gz
kamek-663494a33bd84f4c3915297d89a5265c69c0bcaa.zip
added pause menu
Diffstat (limited to 'src/layouthax.cpp')
-rw-r--r--src/layouthax.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/layouthax.cpp b/src/layouthax.cpp
new file mode 100644
index 0000000..5e68f48
--- /dev/null
+++ b/src/layouthax.cpp
@@ -0,0 +1,8 @@
+#include <game.h>
+
+void LoadPregameStyleNameAndNumber(m2d::EmbedLayout_c *layout);
+extern "C" void InsertPauseWindowText(void *thing) {
+ m2d::EmbedLayout_c *el = (m2d::EmbedLayout_c*)(((u8*)thing)+0x70);
+ LoadPregameStyleNameAndNumber(el);
+}
+