diff options
Diffstat (limited to 'Tools/WAD/Wad/main.cxx')
| -rw-r--r-- | Tools/WAD/Wad/main.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tools/WAD/Wad/main.cxx b/Tools/WAD/Wad/main.cxx new file mode 100644 index 0000000..1cf5ce9 --- /dev/null +++ b/Tools/WAD/Wad/main.cxx @@ -0,0 +1,14 @@ +extern "C" { +#include "wad.h" +} + +/* This is a sick hack to force initialization upon loading */ + +class StartDebug { +public: + StartDebug() { + wad_init(); + } +}; + +static StartDebug s; |
