mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix min mac problem
This commit is contained in:
parent
feb23d717d
commit
395ff97ecf
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ const char *CreateRandMAC() {
|
|||
for(int i = 0; i < 6; i++) {
|
||||
value = rand() % 256;
|
||||
if (value >= 0 && value <= 15)
|
||||
randStream << '0' << value;
|
||||
randStream << '0' << std::hex << value;
|
||||
else
|
||||
randStream << std::hex << value;
|
||||
if (i<5) {
|
||||
|
|
Loading…
Add table
Reference in a new issue