mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
helps to git add before git commit (nw)
This commit is contained in:
parent
d2f3d02908
commit
9525108f78
@ -14,7 +14,7 @@ std::uint8_t g_mame_new_prefill_byte(0xcd);
|
||||
|
||||
void *operator new(std::size_t n)
|
||||
{
|
||||
void *const result(std::malloc(sz));
|
||||
void *const result(std::malloc(n));
|
||||
if (ptr)
|
||||
{
|
||||
std::fill_n(reinterpret_cast<std::uint8_t volatile *>(ptr), n, g_mame_new_prefill_byte);
|
||||
|
Loading…
Reference in New Issue
Block a user