Initial public release

This commit is contained in:
jhaizhou
2026-10-12 16:51:08 +08:00
commit 46578a2b5d
997 changed files with 218713 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
// t_fs 的桩:前端存档失败通知的强实现(另一个编译单元,链接时替掉 hle_fs.c 的弱实现,同 iOS 前端的做法)
// Stub for t_fs: strong implementation of the front end's save-failure notification (a separate compilation unit that replaces the weak implementation in hle_fs.c at link time, the same way the iOS front end does it)
int g_nfail, g_lasterr;
void front_save_failed(int err) { g_nfail++; g_lasterr = err; }
int g_t_lang = -1; // 语言开关(dm_custom.c 的 lang_en)在设置文件里的值,t_fs.c 的用例改它:-1 没点过 / 0 简中 / 1 英文 | Value of the language switch (lang_en in dm_custom.c) in the settings file, changed by the cases in t_fs.c: -1 never tapped / 0 Simplified Chinese / 1 English
int dm_custom_lang_explicit(void) { return g_t_lang; }