gcm_gfx.c: compatibility with recent psl1ght sdk

This commit is contained in:
barbudreadmon 2020-07-24 17:47:28 +02:00 committed by GitHub
parent d93cf0d9dc
commit 3f7895a668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ static gcmContextData *gcm_init_screen(gcm_video_t* gcm)
/* Initialise Reality, which sets up the
* command buffer and shared I/O memory */
context = rsxInit (CB_SIZE, HOST_SIZE, host_addr);
rsxInit (&context, CB_SIZE, HOST_SIZE, host_addr);
if (!context)
goto error;
saved_context = context;