mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
fix buffer overflow
This commit is contained in:
parent
f6a5402cef
commit
cb39a5d978
@ -306,7 +306,7 @@ public:
|
||||
break;
|
||||
default:
|
||||
ERROR_LOG_REPORT_ONCE(fmtc0_8888, G3D, "Reader: Unsupported C0 Format %d", decFmt_.c0fmt);
|
||||
memset(color, 0, sizeof(float) * 4);
|
||||
memset(color, 0, sizeof(u8) * 4);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user