| 626 | } |
| 627 | |
| 628 | static void sendFirmwareCompiled(JNIEnv *env, const std::string &version) { |
| 629 | auto fwRepositoryClass = |
| 630 | ensure(env->FindClass("net/rpcsx/FirmwareRepository")); |
| 631 | auto methodId = ensure(env->GetStaticMethodID( |
| 632 | fwRepositoryClass, "onFirmwareCompiled", "(Ljava/lang/String;)V")); |
| 633 | |
| 634 | env->CallStaticVoidMethod(fwRepositoryClass, methodId, wrap(env, version)); |
| 635 | } |
| 636 | |
| 637 | static void sendGameInfo(JNIEnv *env, jlong progressId, |
| 638 | std::span<const GameInfo> infos) { |