From fd21d7a41c31028bf2861f28519fd603a5bc6cb0 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 24 Jan 2024 11:49:45 -0500 Subject: [PATCH] Fixes --- CMakeLists.txt | 4 ++-- LEGO1/lego/legoomni/include/legoworld.h | 5 ++--- LEGO1/lego/sources/misc/legostorage.h | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f109c22d..9192c542 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,9 +147,9 @@ add_library(lego1 SHARED LEGO1/lego/sources/3dmanager/lego3dview.cpp LEGO1/lego/sources/3dmanager/legoview1.cpp LEGO1/lego/sources/3dmanager/tglsurface.cpp - LEGO1/lego/sources/misc/legotexture.cpp - LEGO1/lego/sources/misc/legostorage.cpp LEGO1/lego/sources/misc/legoimage.cpp + LEGO1/lego/sources/misc/legostorage.cpp + LEGO1/lego/sources/misc/legotexture.cpp LEGO1/lego/sources/roi/legoroi.cpp LEGO1/main.cpp LEGO1/mxdirectx/mxdirect3d.cpp diff --git a/LEGO1/lego/legoomni/include/legoworld.h b/LEGO1/lego/legoomni/include/legoworld.h index 93547222..4fea4672 100644 --- a/LEGO1/lego/legoomni/include/legoworld.h +++ b/LEGO1/lego/legoomni/include/legoworld.h @@ -119,7 +119,6 @@ class LegoWorld : public LegoEntity { // TEMPLATE: LEGO1 0x1001df00 // Set::~Set -// clang-format on // SYNTHETIC: LEGO1 0x1001eed0 // MxPresenterListCursor::`scalar deleting destructor' @@ -143,7 +142,7 @@ class LegoWorld : public LegoEntity { // MxListCursor::MxListCursor // GLOBAL: LEGO1 0x100f11a0 -// _Tree -// >::_Kfn,PresenterSetCompare,allocator >::_Nil +// _Tree>::_Kfn,PresenterSetCompare,allocator >::_Nil +// clang-format on #endif // LEGOWORLD_H diff --git a/LEGO1/lego/sources/misc/legostorage.h b/LEGO1/lego/sources/misc/legostorage.h index 1aff1351..9b7f3077 100644 --- a/LEGO1/lego/sources/misc/legostorage.h +++ b/LEGO1/lego/sources/misc/legostorage.h @@ -27,10 +27,10 @@ class LegoStorage { virtual LegoResult SetPosition(LegoU32 p_position) = 0; // FUNCTION: LEGO1 0x10045ae0 - virtual LegoBool IsWriteMode() { return m_mode == c_read; } + virtual LegoBool IsWriteMode() { return m_mode == c_write; } // FUNCTION: LEGO1 0x10045af0 - virtual LegoBool IsReadMode() { return m_mode == c_write; } + virtual LegoBool IsReadMode() { return m_mode == c_read; } // SYNTHETIC: LEGO1 0x10045b00 // LegoStorage::`scalar deleting destructor'