mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
loader: fix enum cast
This commit is contained in:
parent
801f784fae
commit
3dc51e164f
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ namespace ams::ldr {
|
||||||
lr::Path path;
|
lr::Path path;
|
||||||
|
|
||||||
/* Check that path registration is allowable. */
|
/* Check that path registration is allowable. */
|
||||||
if (loc.storage_id == ncm::StorageId::Host) {
|
if (static_cast<ncm::StorageId>(loc.storage_id) == ncm::StorageId::Host) {
|
||||||
AMS_ABORT_UNLESS(spl::IsDevelopment());
|
AMS_ABORT_UNLESS(spl::IsDevelopment());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue