mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
ICB: Fix compilation on AmigaOS 4
This commit is contained in:
parent
6200935007
commit
cda348f885
@ -42,7 +42,7 @@ CpxGlobalScriptVariables g_globalScriptVariables;
|
||||
|
||||
// Information for the script program stack
|
||||
#define STACK_SIZE 10 // The size of the stack
|
||||
int stack[STACK_SIZE]; // The current stack
|
||||
int32 stack[STACK_SIZE]; // The current stack
|
||||
int stackPointer = 0; // Position within stack
|
||||
|
||||
#define _SCRIPT_ENGINE_ERROR(mess) Fatal_error("Script engine error\nObject %s\nScript %s\nMessage %s", object->GetName(), scriptSourceName, mess)
|
||||
|
@ -708,7 +708,7 @@ void _set::Init_base_bitmap_buffers() {
|
||||
decoder.ReadImage(ptr, bg_buffer_id);
|
||||
|
||||
// find the start of the weather data
|
||||
int32 *weatherPtr = (int *)(bgPtr + shadowTable[1]);
|
||||
int32 *weatherPtr = (int32 *)(bgPtr + shadowTable[1]);
|
||||
|
||||
InitWeather(*(weatherPtr), *(weatherPtr + 1), *(weatherPtr + 2), *(weatherPtr + 3), *(weatherPtr + 4), *(weatherPtr + 5));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user