Skip to content

Commit e8da1d0

Browse files
Apply suggestions from code review
Co-authored-by: Hyper <[email protected]>
1 parent 72b3314 commit e8da1d0

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

MarathonRecomp/api/Sonicteam/MyRenderProcess.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ namespace Sonicteam
99
class MyRenderProcess : public SoX::Engine::RenderProcess
1010
{
1111
public:
12-
xpointer<RenderProcess> m_pParentProcess;
12+
xpointer<RenderProcess> m_pParent;
1313
xpointer<MyGraphicsDevice> m_pMyGraphicsDevice;
1414
};
1515

1616
MARATHON_ASSERT_SIZEOF(MyRenderProcess, 0x38);
17-
MARATHON_ASSERT_OFFSETOF(MyRenderProcess, m_pParentProcess, 0x30);
17+
MARATHON_ASSERT_OFFSETOF(MyRenderProcess, m_pParent, 0x30);
1818
MARATHON_ASSERT_OFFSETOF(MyRenderProcess, m_pMyGraphicsDevice, 0x34);
1919
}

MarathonRecomp/api/Sonicteam/RenderAction/CopyTexture.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ namespace Sonicteam::RenderAction
99
{
1010
public:
1111
MARATHON_INSERT_PADDING(0x4);
12-
xpointer<void> m_pTextureXenon;
12+
xpointer<SoX::Graphics::Texture> m_pTexture;
1313
MARATHON_INSERT_PADDING(0x4);
1414
};
1515

1616
MARATHON_ASSERT_SIZEOF(CopyTexture, 0x44);
17-
MARATHON_ASSERT_OFFSETOF(CopyTexture, m_pTextureXenon, 0x3C);
17+
MARATHON_ASSERT_OFFSETOF(CopyTexture, m_pTexture, 0x3C);
1818
}

MarathonRecomp/api/Sonicteam/RenderAction/Rasterize.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Sonicteam::RenderAction
99
{
1010
public:
1111
MARATHON_INSERT_PADDING(0x4);
12-
xpointer<SoX::Graphics::Xenon::TextureXenon> m_pTexture;
12+
xpointer<SoX::Graphics::Texture> m_pTexture;
1313
bool m_Flag;
1414
};
1515

MarathonRecomp/api/Sonicteam/SoX/Engine/RenderProcess.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
namespace Sonicteam::SoX::Engine
66
{
77
class RenderScheduler;
8+
89
class RenderProcess
910
{
1011
public:
1112
struct Vftable
1213
{
1314
be<uint32_t> fpDestroy;
14-
be<uint32_t> fpFunc4;
15-
be<uint32_t> fpFunc8;
15+
be<uint32_t> fpFunc04;
16+
be<uint32_t> fpFunc08;
1617
be<uint32_t> fpPerformProcess;
1718
};
1819

0 commit comments

Comments
 (0)