Add Android support for SystemService.OpenPlayingManual

The heavy lifting will be done on the Java side. Here we just send a
message.
This commit is contained in:
kichikuou
2025-10-18 13:43:10 +09:00
parent 43c6a2804c
commit d1fdab4cde
+5 -1
View File
@@ -325,7 +325,10 @@ static void SystemService_OpenPlayingManual(void) {
if (!SystemService_IsExistPlayingManual()) {
return;
}
#ifdef __ANDROID__
const int COMMAND_OPEN_PLAYING_MANUAL = 0x8000;
SDL_AndroidSendMessage(COMMAND_OPEN_PLAYING_MANUAL, 0);
#else
char *filename = get_manual_filename();
char *real_path = realpath_utf8(filename);
@@ -352,6 +355,7 @@ static void SystemService_OpenPlayingManual(void) {
free(url);
free(path_component);
#endif
}
//static bool SystemService_IsExistSystemMessage(void);