A log was added that creates a re3_log.txt file on the memory card for debugging purposes

This commit is contained in:
Dante Leoncini 2026-05-01 07:43:23 -03:00
commit e76ad572cb
4 changed files with 5 additions and 16 deletions

1
.gitignore vendored
View file

@ -2,6 +2,7 @@
.project
*.bat
*.sis
*.sisx
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

Binary file not shown.

View file

@ -80,7 +80,8 @@ void TransformPoints(CVuVector *out, int n, const CMatrix &mat, const RwV3d *in,
": : "r" (out) , "r" (n), "r" (&mat), "r" (in), "r" (stride): "memory");
#else
while(n--){
*out = mat * *in;
const RwV3d i = *in;
*out = mat * i;
in = (RwV3d*)((uint8*)in + stride);
out++;
}
@ -110,7 +111,8 @@ void TransformPoints(CVuVector *out, int n, const CMatrix &mat, const CVuVector
": : "r" (out) , "r" (n), "r" (&mat) ,"r" (in): "memory");
#else
while(n--){
*out = mat * *in;
const RwV3d i = *in;
*out = mat * i;
in++;
out++;
}

View file

@ -19,20 +19,6 @@ namespace gles1 {
uint32 im2DVbo, im2DIbo;
static AttribDesc im2dattribDesc[3] = {
{ ATTRIB_POS, GL_FLOAT, GL_FALSE, 4,
sizeof(Im2DVertex), 0 },
{ ATTRIB_COLOR, GL_UNSIGNED_BYTE, GL_TRUE, 4,
#ifdef S60V5
dcl[i].offset = OFFSET_OF(VertexConstantData, texCoors);
#else
dcl[i].offset = offsetof(VertexConstantData, texCoors);
#endif
{ ATTRIB_TEXCOORDS0, GL_FLOAT, GL_FALSE, 2,
sizeof(Im2DVertex), offsetof(Im2DVertex, u) },
};
static int primTypeMap[] = {
GL_POINTS, // invalid
GL_LINES,