- host/android: Vulkan replay backend (nvn_vk.c) with pipeline/descriptor caching, ADPF, AChoreographer present link; Linux compat layer; Makefile.android (headless dmhost + APK lib) - android/app: GameActivity shell without Gradle (build_apk.sh), AAudio output, touch HUD port (touch_app.c + TouchOverlay.java, three layers: body / joystick / minimap goals), lifecycle save-on-background like iOS, art_from_ipa.py for touch / HUD / mapgoal art - touch: shared touch controls moved from ios/Sources to dm/touch - patch_nso.py Android ruleset, dmsh_vk.py shader pack, DM_TOUCH_PRODUCT defaults - hle_audio: AAudio resume waits through STARTING and reopens once on failure - .gitignore: local resources/ (original game data) never committed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
803 B
C
16 lines
803 B
C
// Linux 替身:CommonCrypto/CommonDigest.h —— 实际定义见 compat_linux.h(-include 强制先含)
|
||
// Linux stand-in: CommonCrypto/CommonDigest.h -- the actual definitions are in compat_linux.h (force-included with -include)
|
||
#pragma once
|
||
#include <stdint.h>
|
||
|
||
typedef uint32_t CC_LONG;
|
||
#define CC_MD5_DIGEST_LENGTH 16
|
||
#define CC_SHA1_DIGEST_LENGTH 20
|
||
#define CC_SHA256_DIGEST_LENGTH 32
|
||
typedef struct { uint32_t h[8]; uint64_t len; uint8_t buf[64]; uint32_t n; } CC_SHA256_CTX;
|
||
unsigned char *CC_MD5(const void *data, CC_LONG len, unsigned char *md);
|
||
unsigned char *CC_SHA1(const void *data, CC_LONG len, unsigned char *md);
|
||
int CC_SHA256_Init(CC_SHA256_CTX *c);
|
||
int CC_SHA256_Update(CC_SHA256_CTX *c, const void *data, CC_LONG len);
|
||
int CC_SHA256_Final(unsigned char *md, CC_SHA256_CTX *c);
|