Skip to content

Commit

Permalink
Remove forced alignment on landing buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
bearoso committed Jun 4, 2018
1 parent 3af67e1 commit cb7226d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apu/apu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ bool8 S9xInitSound (int buffer_ms, int lag_ms)
return (FALSE);
if (msu::landing_buffer)
delete[] msu::landing_buffer;
msu::landing_buffer = (uint8*) new uint32[msu::buffer_size / 2]; // Ensure 4-byte alignment
msu::landing_buffer = new uint8[msu::buffer_size * 2];
if (!msu::landing_buffer)
return (FALSE);

Expand Down

0 comments on commit cb7226d

Please sign in to comment.