diff --git a/game_compatibility.md b/game_compatibility.md index d8ee7a4..452deac 100644 --- a/game_compatibility.md +++ b/game_compatibility.md @@ -78,6 +78,7 @@ issues, please let me know or open a pull request to update this table. | ランス・クエスト マグナム | Supported | | | 母娘乱館 | Unknown | | | パステルチャイム3 バインドシーカー | Supported | | +| パスチャ3 プラスコンテンツ | Supported | | | どらぺこ! ~おねだりドラゴンとおっぱい勇者~ | Unsupported | | | ランス01 光をもとめて | Supported | | | Rance 01 - Quest for Hikari (EN) | Supported | | diff --git a/src/hll/PartsEngine.c b/src/hll/PartsEngine.c index 11139d7..9041fe9 100644 --- a/src/hll/PartsEngine.c +++ b/src/hll/PartsEngine.c @@ -36,6 +36,11 @@ static void PartsEngine_Update(int passed_time, bool is_skip, bool message_windo PE_Update(passed_time, message_window_show); } +static void PartsEngine_Update_Pascha3PC(struct string *xxx1, struct string *xxx2, int passed_time, bool is_skip, bool message_window_show) +{ + PE_Update(passed_time, message_window_show); +} + // Oyako Rankan static bool PartsEngine_AddDrawCutCGToPartsConstructionProcess_old(int parts_no, struct string *cg_name, int dx, int dy, int sx, int sy, int w, int h, @@ -246,4 +251,9 @@ static void PartsEngine_PreLink(void) static_library_replace(&lib_PartsEngine, "AddCopyCutCGToPartsConstructionProcess", PE_AddCopyCutCGToPartsConstructionProcess); } + fun = get_fun(libno, "Update"); + if (fun && fun->nr_arguments == 5) { + static_library_replace(&lib_PartsEngine, "Update", + PartsEngine_Update_Pascha3PC); + } } diff --git a/src/hll/SystemService.c b/src/hll/SystemService.c index ed2b90d..03b51bb 100644 --- a/src/hll/SystemService.c +++ b/src/hll/SystemService.c @@ -374,30 +374,40 @@ static void SystemService_RestrainScreensaver(void) { } //static int SystemService_Debug_GetUseVideoMemorySize(void); +// Rance 01 static void SystemService_Rance0123456789(struct string **text) { - *text = cstr_to_string("-RANCE010ECNAR-"); // ??? + *text = cstr_to_string("-RANCE010ECNAR-"); } +// Rance 01 trial edition static void SystemService_XXXXX01XXXXXXXX(struct string **text) { *text = cstr_to_string("RANCE01RANCEKAKKOII"); } +// Drapeko static void SystemService_Test(struct string **text) { *text = cstr_to_string("DELETE ALL 758490275489207548093"); } +// Drapeko trial edition static void SystemService_DRPKT(struct string **text) { *text = cstr_to_string("DRPKT QWERTY NUFUAUEO 75849027582754829"); } +// Rance 9 static void SystemService_Rance96161988(struct string **text) { *text = cstr_to_string("=Rance99/RANCE99="); } +// Pascha3 Plus Contents +static void SystemService_XXX(struct string **text) { + *text = cstr_to_string("FORMAT HDD ERASE 578205024758284076520478254092784789752384758204687293"); +} + static void SystemService_PreLink(void); static void SystemService_ModuleInit(void) @@ -449,6 +459,7 @@ HLL_LIBRARY(SystemService, HLL_TODO_EXPORT(Debug_GetUseVideoMemorySize, SystemService_Debug_GetUseVideoMemorySize), HLL_EXPORT(Rance0123456789, SystemService_Rance0123456789), HLL_EXPORT(XXXXX01XXXXXXXX, SystemService_XXXXX01XXXXXXXX), + HLL_EXPORT(XXX, SystemService_XXX), HLL_EXPORT(Test, SystemService_Test), HLL_EXPORT(DRPKT, SystemService_DRPKT), HLL_EXPORT(Rance96161988, SystemService_Rance96161988)