mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
emulators/vba: Mark Un'BROKEN
While here, set LICENSE_FILE. PR: 234497 Reviewed by: koobs, mat Approved by: mat (mentor) Approved by: portmgr (blanket: build/run fixes, ports compliance) Differential Revision: https://reviews.freebsd.org/D18687
This commit is contained in:
parent
e7bf1ff75c
commit
4efac98070
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489566
@ -12,8 +12,7 @@ MAINTAINER= arundel@h3c.de
|
||||
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
|
||||
|
21
emulators/vba/files/patch-src_Cheats.cpp
Normal file
21
emulators/vba/files/patch-src_Cheats.cpp
Normal file
@ -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
|
||||
};
|
Loading…
Reference in New Issue
Block a user