mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 04:21:15 +00:00
chore: match with upstream
This commit is contained in:
parent
84e6b11d10
commit
a49d60595d
@ -183,7 +183,11 @@ void IsleDebug_Init()
|
||||
}
|
||||
g_videoPalette =
|
||||
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);
|
||||
#endif
|
||||
if (!ImGui_ImplSDLRenderer3_Init(g_debugRenderer)) {
|
||||
g_debugEnabled = false;
|
||||
break;
|
||||
|
||||
@ -388,7 +388,7 @@ MxLong CarRace::HandleType0Notification(MxNotificationParam&)
|
||||
void CarRace::FUN_10017820(MxS32 p_param1, MxS16 p_param2)
|
||||
{
|
||||
MxS32 local4;
|
||||
MxStillPresenter* presenter;
|
||||
MxStillPresenter* presenter = NULL;
|
||||
MxS32 x, y;
|
||||
|
||||
if (p_param1 == 11) {
|
||||
|
||||
@ -24,8 +24,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#pragma warning(disable : 4703)
|
||||
|
||||
// Defined in legopathstruct.cpp
|
||||
extern MxBool g_unk0x100f119c;
|
||||
|
||||
@ -265,7 +263,7 @@ MxLong JetskiRace::HandlePathStruct(LegoPathStructNotificationParam& p_param)
|
||||
void JetskiRace::FUN_10016930(MxS32 p_param1, MxS16 p_param2)
|
||||
{
|
||||
MxS32 local4;
|
||||
MxStillPresenter* presenter;
|
||||
MxStillPresenter* presenter = NULL;
|
||||
MxS32 x, y;
|
||||
|
||||
if (p_param1 == 11) {
|
||||
|
||||
@ -7,8 +7,6 @@
|
||||
#include "mxstreamcontroller.h"
|
||||
#include "mxutilities.h"
|
||||
|
||||
#pragma warning(disable : 4703)
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxStreamProvider, 0x10)
|
||||
DECOMP_SIZE_ASSERT(MxRAMStreamProvider, 0x24)
|
||||
|
||||
@ -110,7 +108,7 @@ MxU32 ReadData(MxU8* p_buffer, MxU32 p_size)
|
||||
{
|
||||
MxU32 id;
|
||||
MxU8* data = p_buffer;
|
||||
MxU8* data2;
|
||||
MxU8* data2 = NULL;
|
||||
|
||||
while (data < p_buffer + p_size) {
|
||||
if (data + sizeof(MxU32) <= p_buffer + p_size && UnalignedRead<MxU32>(data) == FOURCC('M', 'x', 'O', 'b')) {
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user