FreeBSD Bugzilla – Attachment 200614 Details for
Bug 234497
emulators/vba: Mark Un'BROKEN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
D18687.diff (text/plain), 1.17 KB, created by
Mateusz Piotrowski
on 2018-12-30 02:25:07 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Mateusz Piotrowski
Created:
2018-12-30 02:25:07 UTC
Size:
1.17 KB
patch
obsolete
>Index: emulators/vba/Makefile >=================================================================== >--- emulators/vba/Makefile >+++ 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: emulators/vba/files/patch-src_Cheats.cpp >=================================================================== >--- /dev/null >+++ 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 >+ };
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 234497
: 200614