loader: fix enum cast
This commit is contained in:
1 parent
801f784fae
commit
3dc51e164f
1 file changed
+1
-1
@@ -86,7 +86,7 @@ namespace ams::ldr {
|
||||
lr::Path path;
|
||||
|
||||
/* 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());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user