mirror of
https://github.com/SMGCommunity/Petari.git
synced 2024-11-24 22:19:50 +00:00
13 lines
343 B
C++
13 lines
343 B
C++
#include "Game/Demo/DemoFunction.h"
|
|
#include <cstdio>
|
|
#include <cstring>
|
|
|
|
void* DemoFunction::loadDemoArchive() {
|
|
char buf[0x100];
|
|
snprintf(buf, 0x100, "DemoSheet.arc");
|
|
return MR::createAndAddResourceHolder(buf);
|
|
}
|
|
|
|
bool DemoFunction::isDemoPartTalk(const char *pDemoName) {
|
|
return MR::isEqualSubString(pDemoName, "会話");
|
|
} |