2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 11:47:43 +00:00

some CMemory additions

This commit is contained in:
Jack Andersen
2015-08-23 08:53:43 -10:00
parent f3b5b9f49a
commit 5784759b62
8 changed files with 161 additions and 13 deletions

20
Runtime/CCallStack.hpp Normal file
View File

@@ -0,0 +1,20 @@
#ifndef __RETRO_CCALLSTACK_HPP__
#define __RETRO_CCALLSTACK_HPP__
namespace Retro
{
class CCallStack
{
const char* x0_fileAndLineStr;
const char* x4_typeStr;
public:
CCallStack(char const* fileAndLineStr, char const* typeStr)
: x0_fileAndLineStr(fileAndLineStr), x4_typeStr(typeStr) {}
const char* GetFileAndLineText() const {return x0_fileAndLineStr;}
const char* GetTypeText() const {return x4_typeStr;}
};
}
#endif // __RETRO_CCALLSTACK_HPP__