mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-16 09:19:23 +01:00
Merge pull request #2728 from lioncash/ref
Core: Pass string by const reference in SaveScreenShot
This commit is contained in:
commit
7d41b8ae9c
@ -678,7 +678,7 @@ void SaveScreenShot()
|
|||||||
SetState(CORE_RUN);
|
SetState(CORE_RUN);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SaveScreenShot(const std::string name)
|
void SaveScreenShot(const std::string& name)
|
||||||
{
|
{
|
||||||
const bool bPaused = (GetState() == CORE_PAUSE);
|
const bool bPaused = (GetState() == CORE_PAUSE);
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ void SetState(EState _State);
|
|||||||
EState GetState();
|
EState GetState();
|
||||||
|
|
||||||
void SaveScreenShot();
|
void SaveScreenShot();
|
||||||
void SaveScreenShot(std::string name);
|
void SaveScreenShot(const std::string& name);
|
||||||
|
|
||||||
void Callback_WiimoteInterruptChannel(int _number, u16 _channelID, const void* _pData, u32 _Size);
|
void Callback_WiimoteInterruptChannel(int _number, u16 _channelID, const void* _pData, u32 _Size);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user