| 242 | } |
| 243 | |
| 244 | static void script_thread(u64 event_id) |
| 245 | { |
| 246 | if(event_id == EVENT_PER_GAME) |
| 247 | { |
| 248 | get_game_info(); |
| 249 | if(strlen(_game_TitleID) >= 9) |
| 250 | { |
| 251 | char script_file[40]; |
| 252 | snprintf(script_file, sizeof(script_file), "%s/%s%s", WM_INGAME_PATH, _game_TitleID, ".bat"); |
| 253 | parse_script(script_file); |
| 254 | } |
| 255 | } |
| 256 | else |
| 257 | parse_script(script_events[event_id]); |
| 258 | |
| 259 | sys_ppu_thread_exit(0); |
| 260 | } |
| 261 | |
| 262 | static void start_event(u8 event_id) |
| 263 | { |
nothing calls this directly
no test coverage detected