mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 10:37:54 -06:00
feat: rank unread platform files after firmware
A file a platform lists and no core it runs reads (verify's unread category) comes after firmware and before game data, labelled on its row.
This commit is contained in:
1 parent
8ae4cb61ac
commit
6ce6469d25
4 files changed
+36
-25
No files matched your search
@@ -69,7 +69,7 @@ const version = wantedVersion();
|
||||
const head = element('p', code(entry.n), ' ');
|
||||
const need = element('span', entry.r ? 'Required' : 'Optional');
|
||||
need.className = `rb-badge ${entry.r ? 'rb-badge-warning' : 'rb-badge-muted'}`;
|
||||
const kind = element('span', entry.g ? 'Game data' : 'Firmware');
|
||||
const kind = element('span', entry.k === 2 ? 'Game data' : entry.k === 1 ? 'Read by no core' : 'Firmware');
|
||||
kind.className = 'rb-badge rb-badge-info';
|
||||
head.append(need, ' ', kind);
|
||||
if (entry.z?.length) head.append(` ${entry.z.map(size).join(' or ')}`);
|
||||
|
||||
Reference in new issue
Block a user