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:
20
Runtime/CCallStack.hpp
Normal file
20
Runtime/CCallStack.hpp
Normal 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__
|
||||
Reference in New Issue
Block a user