mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-05 09:13:47 -04:00
[ui] drop the option to remove the "unsupported hardware" watermark
* I've never seen that watermark in the first place, therefore can't test if the option is working, and, as opposed to the other options, users can deal with it post install anyway. * Also ensure that we prompt for customization when selecting an install.wim.
This commit is contained in:
parent
7391b342db
commit
a25af06b3c
8 changed files with 86 additions and 69 deletions
|
@ -115,6 +115,22 @@ static __inline int _log2(register int val)
|
|||
return ret;
|
||||
}
|
||||
|
||||
// Remap bits from a byte according to an 8x8 bit matrix
|
||||
static __inline uint8_t remap8(uint8_t src, uint8_t* map, const BOOL reverse)
|
||||
{
|
||||
uint8_t i, m = 1, r = 0;
|
||||
for (i = 0, m = 1; i < 8; i++, m <<= 1) {
|
||||
if (reverse) {
|
||||
if (src & map[i])
|
||||
r |= m;
|
||||
} else {
|
||||
if (src & m)
|
||||
r |= map[i];
|
||||
}
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
/* Why oh why does Microsoft have to make everybody suffer with their braindead use of Unicode? */
|
||||
#define _RT_ICON MAKEINTRESOURCEA(3)
|
||||
#define _RT_DIALOG MAKEINTRESOURCEA(5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue