| 119 | } |
| 120 | |
| 121 | Result SetUserField(uint32_t index, const char *value) |
| 122 | { |
| 123 | if (index < AppState::USERDATA_SLOTS) |
| 124 | { |
| 125 | dmStrlCpy(g_AppState.m_UserData[index], value, sizeof(g_AppState.m_UserData[index])); |
| 126 | return RESULT_OK; |
| 127 | } |
| 128 | |
| 129 | return RESULT_INVALID_PARAM; |
| 130 | } |
| 131 | |
| 132 | static HDump LoadDumpV2(AppState* state, FILE* f) |
| 133 | { |
no test coverage detected