summaryrefslogtreecommitdiffstats
path: root/src/render/RenderBuffer.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-04-17 07:54:14 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-04-17 07:54:14 +0200
commita4922d5cb77e31657768d5da4b286a2e67ee0e6f (patch)
treec54c73ac29fbde0233614c60423f662318d2a167 /src/render/RenderBuffer.cpp
parentMerge pull request #455 from erorcun/erorcun (diff)
downloadre3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar
re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.gz
re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.bz2
re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.lz
re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.xz
re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.zst
re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.zip
Diffstat (limited to '')
-rw-r--r--src/render/RenderBuffer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/render/RenderBuffer.cpp b/src/render/RenderBuffer.cpp
index f6499451..4225619f 100644
--- a/src/render/RenderBuffer.cpp
+++ b/src/render/RenderBuffer.cpp
@@ -2,14 +2,14 @@
#include "patcher.h"
#include "RenderBuffer.h"
-int32 &TempBufferVerticesStored = *(int32*)0x8F5F78;
-int32 &TempBufferIndicesStored = *(int32*)0x8F1A4C;
+int32 TempBufferVerticesStored;
+int32 TempBufferIndicesStored;
-RwIm3DVertex *TempBufferRenderVertices = (RwIm3DVertex*)0x862330;
-RwImVertexIndex *TempBufferRenderIndexList = (RwImVertexIndex*)0x846288;
+RwIm3DVertex TempBufferRenderVertices[TEMPBUFFERVERTSIZE];
+RwImVertexIndex TempBufferRenderIndexList[TEMPBUFFERINDEXSIZE];
-int &RenderBuffer::VerticesToBeStored = *(int*)0x8F59C4;
-int &RenderBuffer::IndicesToBeStored = *(int*)0x8E28B0;
+int RenderBuffer::VerticesToBeStored;
+int RenderBuffer::IndicesToBeStored;
void
RenderBuffer::ClearRenderBuffer(void)