mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Fix 0A to 0F
This commit is contained in:
1 parent
05b293c632
commit
486c32b91b
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user