mirror of https://github.com/OpenRCT2/OpenRCT2.git
GCC fixes
This commit is contained in:
parent
88a0359cf6
commit
277f0ff4a5
|
@ -83,7 +83,7 @@ int gfx_load_g1()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unsuccessful
|
// Unsuccessful
|
||||||
RCT2_ERROR("Unable to load g1.dat");
|
RCT2_ERR("Unable to load g1.dat");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,11 @@
|
||||||
int object_load(int groupIndex, rct_object_entry *entry)
|
int object_load(int groupIndex, rct_object_entry *entry)
|
||||||
{
|
{
|
||||||
RCT2_CALLPROC_X(0x006A985D, 0, 0, groupIndex, 0, 0, 0, (int)entry);
|
RCT2_CALLPROC_X(0x006A985D, 0, 0, groupIndex, 0, 0, 0, (int)entry);
|
||||||
|
#ifdef _MSC_VER
|
||||||
__asm jb fail
|
__asm jb fail
|
||||||
|
#else
|
||||||
|
__asm__ goto ( "jb %l0" : : : : fail );
|
||||||
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
fail:
|
fail:
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue