Clean-up includes
This commit is contained in:
parent
b89f644cfe
commit
c0eaa662d4
8 changed files with 14 additions and 9 deletions
|
@ -2,6 +2,8 @@
|
|||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "common/common_types.h"
|
||||
#include "common/common_funcs.h"
|
||||
|
||||
|
@ -62,7 +64,7 @@ template void Read<u16>(u16 &var, const u32 addr);
|
|||
template void Read<u8>(u8 &var, const u32 addr);
|
||||
|
||||
void Set3DSlider(float amount) {
|
||||
memset(&shared_page, 0, sizeof(shared_page));
|
||||
std::memset(&shared_page, 0, sizeof(shared_page));
|
||||
|
||||
shared_page.sliderstate_3d = amount;
|
||||
shared_page.ledstate_3d = (amount == 0.0f); // off when non-zero
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue