mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Pass strings by const reference where possible
This commit is contained in:
@ -40,7 +40,7 @@ enum EState
|
||||
bool Init();
|
||||
void Stop();
|
||||
|
||||
std::string StopMessage(bool, std::string);
|
||||
std::string StopMessage(bool, const std::string&);
|
||||
|
||||
bool IsRunning();
|
||||
bool IsRunningAndStarted(); // is running and the CPU loop has been entered
|
||||
@ -59,7 +59,7 @@ void Callback_WiimoteInterruptChannel(int _number, u16 _channelID, const void* _
|
||||
void DisplayMessage(const std::string& message, int time_in_ms);
|
||||
|
||||
std::string GetStateFileName();
|
||||
void SetStateFileName(std::string val);
|
||||
void SetStateFileName(const std::string& val);
|
||||
|
||||
void SetBlockStart(u32 addr);
|
||||
|
||||
|
Reference in New Issue
Block a user