HLE: Properly initialize and shutdown remaining modules.
This commit is contained in:
parent
bab5abaf46
commit
d3c2f9a4a4
5 changed files with 20 additions and 3 deletions
|
@ -62,6 +62,8 @@ 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));
|
||||
|
||||
shared_page.sliderstate_3d = amount;
|
||||
shared_page.ledstate_3d = (amount == 0.0f); // off when non-zero
|
||||
}
|
||||
|
@ -71,4 +73,7 @@ void Init() {
|
|||
Set3DSlider(0.0f);
|
||||
}
|
||||
|
||||
void Shutdown() {
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue