Page MenuHomeFreeBSD

D18687.id52620.diff
No OneTemporary

D18687.id52620.diff

Index: head/emulators/vba/Makefile
===================================================================
--- head/emulators/vba/Makefile
+++ head/emulators/vba/Makefile
@@ -12,8 +12,7 @@
COMMENT= Open source Gameboy Advance emulator
LICENSE= GPLv2
-
-BROKEN= fails to build
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= nasm:devel/nasm
LIB_DEPENDS= libpng.so:graphics/png
Index: head/emulators/vba/files/patch-src_Cheats.cpp
===================================================================
--- head/emulators/vba/files/patch-src_Cheats.cpp
+++ head/emulators/vba/files/patch-src_Cheats.cpp
@@ -0,0 +1,21 @@
+--- src/Cheats.cpp.orig 2018-12-29 21:27:02 UTC
++++ src/Cheats.cpp
+@@ -1344,12 +1344,12 @@ void cheatsAddCBACode(const char *code, const char *de
+ sscanf(buffer, "%x", &value);
+
+ u8 array[8] = {
+- address & 255,
+- (address >> 8) & 255,
+- (address >> 16) & 255,
+- (address >> 24) & 255,
+- (value & 255),
+- (value >> 8) & 255,
++ static_cast<u8>(address & 255),
++ static_cast<u8>((address >> 8) & 255),
++ static_cast<u8>((address >> 16) & 255),
++ static_cast<u8>((address >> 24) & 255),
++ static_cast<u8>((value & 255)),
++ static_cast<u8>((value >> 8) & 255),
+ 0,
+ 0
+ };

File Metadata

Mime Type
text/plain
Expires
Mon, Jul 27, 3:01 PM (8 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35596852
Default Alt Text
D18687.id52620.diff (1 KB)

Event Timeline