mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix 0A to 0F
This commit is contained in:
parent
05b293c632
commit
486c32b91b
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ const char *CreateRandMAC() {
|
|||
srand(time(0));
|
||||
for(int i = 0; i < 6; i++) {
|
||||
value = rand() % 256;
|
||||
if (value >= 0 && value <= 9)
|
||||
if (value >= 0 && value <= 15)
|
||||
randStream << '0' << value;
|
||||
else
|
||||
randStream << std::hex << value;
|
||||
|
|
Loading…
Add table
Reference in a new issue