mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
GCC fixes
This commit is contained in:
@@ -83,7 +83,7 @@ int gfx_load_g1()
|
||||
}
|
||||
|
||||
// Unsuccessful
|
||||
RCT2_ERROR("Unable to load g1.dat");
|
||||
RCT2_ERR("Unable to load g1.dat");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,11 @@
|
||||
int object_load(int groupIndex, rct_object_entry *entry)
|
||||
{
|
||||
RCT2_CALLPROC_X(0x006A985D, 0, 0, groupIndex, 0, 0, 0, (int)entry);
|
||||
#ifdef _MSC_VER
|
||||
__asm jb fail
|
||||
#else
|
||||
__asm__ goto ( "jb %l0" : : : : fail );
|
||||
#endif
|
||||
return 1;
|
||||
fail:
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user