mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Update Discord.cpp
This commit is contained in:
parent
9cfd34e6c3
commit
b6eaea3a3b
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "Core/Core.h"
|
||||
#include "Core/IOS/DolphinDevice.h"
|
||||
#include <Core/State.h>
|
||||
#include "Core/System.h"
|
||||
|
||||
bool mpn_update_discord()
|
||||
{
|
||||
|
@ -20,7 +21,7 @@ bool mpn_update_discord()
|
|||
|
||||
if (mpn_read_value(CurrentState.Addresses->CurrentTurn, 1) == (mpn_read_value(CurrentState.Addresses->TotalTurns, 1) + 1))
|
||||
{
|
||||
State::Save(1);
|
||||
State::Save(Core::System::GetInstance(), 1);
|
||||
}
|
||||
if (CurrentState.Addresses != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue