forked from Ports/perfect_dark
Avoid UB in bondview's var800a41c0
This commit is contained in:
1 parent
e3d77e8086
commit
32d529e9b5
1 file changed
+5
@@ -21,7 +21,12 @@
|
|||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "gbiex.h"
|
#include "gbiex.h"
|
||||||
|
|
||||||
|
#ifdef AVOID_UB
|
||||||
|
char var800a41c0[26];
|
||||||
|
#else
|
||||||
char var800a41c0[24];
|
char var800a41c0[24];
|
||||||
|
#endif
|
||||||
|
|
||||||
u8 g_IrScanlines[2][480];
|
u8 g_IrScanlines[2][480];
|
||||||
|
|
||||||
#if VERSION < VERSION_NTSC_1_0
|
#if VERSION < VERSION_NTSC_1_0
|
||||||
|
|||||||
Reference in new issue
Block a user