SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
DemoFunction.cpp
1#include "Game/Demo/DemoFunction.hpp"
2#include <cstdio>
3#include <cstring>
4
5void* DemoFunction::loadDemoArchive() {
6 char buf[0x100];
7 snprintf(buf, 0x100, "DemoSheet.arc");
8 return MR::createAndAddResourceHolder(buf);
9}
10
11bool DemoFunction::isDemoPartTalk(const char *pDemoName) {
12 return MR::isEqualSubString(pDemoName, "会話");
13}