chore: match with upstream

This commit is contained in:
Helloyunho 2025-07-05 12:14:42 +09:00
parent 84e6b11d10
commit a49d60595d
5 changed files with 8 additions and 8 deletions

View File

@ -183,7 +183,11 @@ void IsleDebug_Init()
} }
g_videoPalette = g_videoPalette =
SDL_CreateTexture(g_debugRenderer, SDL_PIXELFORMAT_RGBX32, SDL_TEXTUREACCESS_STREAMING, 16, 16); SDL_CreateTexture(g_debugRenderer, SDL_PIXELFORMAT_RGBX32, SDL_TEXTUREACCESS_STREAMING, 16, 16);
#if SDL_VERSION_ATLEAST(3, 3, 0) && !defined(WINDOWS_STORE)
SDL_SetTextureScaleMode(g_videoPalette, SDL_SCALEMODE_PIXELART);
#else
SDL_SetTextureScaleMode(g_videoPalette, SDL_SCALEMODE_NEAREST); SDL_SetTextureScaleMode(g_videoPalette, SDL_SCALEMODE_NEAREST);
#endif
if (!ImGui_ImplSDLRenderer3_Init(g_debugRenderer)) { if (!ImGui_ImplSDLRenderer3_Init(g_debugRenderer)) {
g_debugEnabled = false; g_debugEnabled = false;
break; break;

View File

@ -388,7 +388,7 @@ MxLong CarRace::HandleType0Notification(MxNotificationParam&)
void CarRace::FUN_10017820(MxS32 p_param1, MxS16 p_param2) void CarRace::FUN_10017820(MxS32 p_param1, MxS16 p_param2)
{ {
MxS32 local4; MxS32 local4;
MxStillPresenter* presenter; MxStillPresenter* presenter = NULL;
MxS32 x, y; MxS32 x, y;
if (p_param1 == 11) { if (p_param1 == 11) {

View File

@ -24,8 +24,6 @@
#include <stdio.h> #include <stdio.h>
#pragma warning(disable : 4703)
// Defined in legopathstruct.cpp // Defined in legopathstruct.cpp
extern MxBool g_unk0x100f119c; extern MxBool g_unk0x100f119c;
@ -265,7 +263,7 @@ MxLong JetskiRace::HandlePathStruct(LegoPathStructNotificationParam& p_param)
void JetskiRace::FUN_10016930(MxS32 p_param1, MxS16 p_param2) void JetskiRace::FUN_10016930(MxS32 p_param1, MxS16 p_param2)
{ {
MxS32 local4; MxS32 local4;
MxStillPresenter* presenter; MxStillPresenter* presenter = NULL;
MxS32 x, y; MxS32 x, y;
if (p_param1 == 11) { if (p_param1 == 11) {

View File

@ -7,8 +7,6 @@
#include "mxstreamcontroller.h" #include "mxstreamcontroller.h"
#include "mxutilities.h" #include "mxutilities.h"
#pragma warning(disable : 4703)
DECOMP_SIZE_ASSERT(MxStreamProvider, 0x10) DECOMP_SIZE_ASSERT(MxStreamProvider, 0x10)
DECOMP_SIZE_ASSERT(MxRAMStreamProvider, 0x24) DECOMP_SIZE_ASSERT(MxRAMStreamProvider, 0x24)
@ -110,7 +108,7 @@ MxU32 ReadData(MxU8* p_buffer, MxU32 p_size)
{ {
MxU32 id; MxU32 id;
MxU8* data = p_buffer; MxU8* data = p_buffer;
MxU8* data2; MxU8* data2 = NULL;
while (data < p_buffer + p_size) { while (data < p_buffer + p_size) {
if (data + sizeof(MxU32) <= p_buffer + p_size && UnalignedRead<MxU32>(data) == FOURCC('M', 'x', 'O', 'b')) { if (data + sizeof(MxU32) <= p_buffer + p_size && UnalignedRead<MxU32>(data) == FOURCC('M', 'x', 'O', 'b')) {

View File

@ -1,4 +1,4 @@
# LEGO Island for Xbox One/Series X|S # LEGO Island, portable
[Development Vlog](https://www.youtube.com/playlist?list=PLbpl-gZkNl2Db4xcAsT_xOfOwRk-2DPHL) | [Contributing](/CONTRIBUTING.md) | [Matrix](https://matrix.to/#/#isledecomp:matrix.org) | [Forums](https://forum.mattkc.com/viewforum.php?f=1) | [Patreon](https://www.patreon.com/mattkc) [Development Vlog](https://www.youtube.com/playlist?list=PLbpl-gZkNl2Db4xcAsT_xOfOwRk-2DPHL) | [Contributing](/CONTRIBUTING.md) | [Matrix](https://matrix.to/#/#isledecomp:matrix.org) | [Forums](https://forum.mattkc.com/viewforum.php?f=1) | [Patreon](https://www.patreon.com/mattkc)