mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-09-30 10:08:35 +02:00
Compare commits
No commits in common. "3b5cc2f932e7bbda0692251a50cd98beaeea08d1" and "226284454454d123d090880a01f8f1eb1c925320" have entirely different histories.
3b5cc2f932
...
2262844544
@ -62,10 +62,10 @@ std::optional<WUPSConfigItemMultipleValues> WUPSConfigItemMultipleValues::Create
|
|||||||
if (defaultIndex != -1 && currentValueIndex != -1) {
|
if (defaultIndex != -1 && currentValueIndex != -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (cur.value == currentValue) {
|
if (cur.value == defaultValue) {
|
||||||
currentValueIndex = i;
|
currentValueIndex = i;
|
||||||
}
|
}
|
||||||
if (cur.value == defaultValue) {
|
if (cur.value == currentValue) {
|
||||||
defaultIndex = i;
|
defaultIndex = i;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
@ -977,5 +977,5 @@ TEST_CASE("Store empty binary works") {
|
|||||||
std::vector<uint8_t> get_vector{0x13, 0x37};
|
std::vector<uint8_t> get_vector{0x13, 0x37};
|
||||||
res = WUPSStorageAPI::Get("test", get_vector);
|
res = WUPSStorageAPI::Get("test", get_vector);
|
||||||
REQUIRE(res == WUPS_STORAGE_ERROR_SUCCESS);
|
REQUIRE(res == WUPS_STORAGE_ERROR_SUCCESS);
|
||||||
REQUIRE(get_vector.empty());
|
REQUIRE(empty_vector.empty());
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user