Skip to content

Commit 694221a

Browse files
committed
Fix compile for Goke
1 parent ad1af38 commit 694221a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bmp/region.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const double inv16 = 1.0 / 16.0;
2121

2222

2323

24-
int InitRGN_SigmaStar(){
24+
int InitRGN_SigmaStar(){
25+
#if __SIGMASTAR__
2526
#if __INFINITY6C__
2627
if (i6c_hal_init())
2728
fprintf(stderr, "[%s:%d]MI_SYS_Init failed with!\n", __func__, __LINE__);
@@ -39,6 +40,7 @@ int InitRGN_SigmaStar(){
3940
if (s32Ret)
4041
fprintf(stderr, "[%s:%d]RGN_Init failed with %#x!\n", __func__, __LINE__, s32Ret);
4142
#endif
43+
#endif
4244
}
4345

4446
int create_region(int *handle, int x, int y, int width, int height) {

0 commit comments

Comments
 (0)