GCC fixes

This commit is contained in:
anyc 2014-05-24 19:44:19 +02:00
parent 88a0359cf6
commit 277f0ff4a5
2 changed files with 5 additions and 1 deletions

View File

@ -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;
} }

View File

@ -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;