Match CSPane get_size

This commit is contained in:
coah
2026-09-20 03:27:31 +00:00
parent 87aaf4ce7e
commit 65331d1af2

View File

@@ -10,6 +10,7 @@
#include "math/iplMathTypes.h"
extern f32 lbl_81694FC0;
namespace ipl {
namespace cs {
@@ -518,7 +519,7 @@ namespace ipl {
nw4r::lyt::Size get_size_(CHANSVm* vm) {
u32 argc = CHANSVmGetArgc(vm);
CHANSVmObjHdr* arg = CHANSVmGetArg(vm, 0);
nw4r::lyt::Size out(0.0f, 0.0f);
nw4r::lyt::Size out(lbl_81694FC0, lbl_81694FC0);
if (argc == 1 && util::is_valid_class(arg, "Size")) {
f32* src = static_cast<f32*>(*arg->value.ptr_v);
out.width = src[0];