| 1089 | }); |
| 1090 | } |
| 1091 | void ProgressBarSetLimit(u32 index, u32 limit) override { |
| 1092 | rpcsx_android.warning("ProgressMessageDialog::ProgressBarSetLimit(%d, %d)", |
| 1093 | index, limit); |
| 1094 | |
| 1095 | if (index != 0) { |
| 1096 | report_fatal_error("Unexpected progress index in progress dialog"); |
| 1097 | } |
| 1098 | |
| 1099 | max = limit; |
| 1100 | |
| 1101 | invokeSync([this](JNIEnv *env) { |
| 1102 | Progress(env, progressId).report(getValue(), max); |
| 1103 | }); |
| 1104 | } |
| 1105 | }; |
| 1106 | |
| 1107 | struct UiMessageDialog : MsgDialogBase { |
nothing calls this directly
no test coverage detected