mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-09-30 10:08:35 +02:00
Compare commits
2 Commits
2262844544
...
3b5cc2f932
Author | SHA1 | Date | |
---|---|---|---|
|
3b5cc2f932 | ||
|
e02376e5a1 |
@ -62,10 +62,10 @@ std::optional<WUPSConfigItemMultipleValues> WUPSConfigItemMultipleValues::Create
|
|||||||
if (defaultIndex != -1 && currentValueIndex != -1) {
|
if (defaultIndex != -1 && currentValueIndex != -1) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (cur.value == defaultValue) {
|
if (cur.value == currentValue) {
|
||||||
currentValueIndex = i;
|
currentValueIndex = i;
|
||||||
}
|
}
|
||||||
if (cur.value == currentValue) {
|
if (cur.value == defaultValue) {
|
||||||
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(empty_vector.empty());
|
REQUIRE(get_vector.empty());
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user