Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163848335
D18687.id52620.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D18687.id52620.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18687: emulators/vba: Mark Un'BROKEN
Attached
Detach File
Event Timeline
Log In to Comment