mirror of
https://github.com/zeldaret/tp
synced 2026-07-08 22:44:44 -04:00
Work on d_msg_object (#2186)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define JMESSAGE_PROCESSOR_H
|
||||
|
||||
#include "JSystem/JMessage/resource.h"
|
||||
#include "algorithm.h"
|
||||
|
||||
namespace JMessage {
|
||||
struct TResource;
|
||||
@@ -63,6 +64,14 @@ struct TProcessor {
|
||||
|
||||
void pop() { upsz_--; }
|
||||
|
||||
TStack_& operator=(const TStack_& other) {
|
||||
upsz_ = other.upsz_;
|
||||
char** start = (char**)other.stack;
|
||||
char** end = (char**)(other.stack + other.upsz_);
|
||||
std::copy(start, end, stack);
|
||||
return *this;
|
||||
}
|
||||
|
||||
/* 0x0 */ u32 upsz_; // stack size
|
||||
/* 0x4 */ const char* stack[4];
|
||||
}; // Size: 0x14
|
||||
|
||||
Reference in New Issue
Block a user