mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 23:26:44 +00:00
GUI: pass record file name by reference
This commit is contained in:
parent
2d6b182487
commit
03d174384e
@ -259,7 +259,7 @@ Common::String EventRecorder::generateRecordFileName(const Common::String &targe
|
||||
}
|
||||
|
||||
|
||||
void EventRecorder::init(Common::String recordFileName, RecordMode mode) {
|
||||
void EventRecorder::init(const Common::String &recordFileName, RecordMode mode) {
|
||||
_fakeMixerManager = new NullMixerManager();
|
||||
_fakeMixerManager->init();
|
||||
_fakeMixerManager->suspendAudio();
|
||||
|
@ -77,7 +77,7 @@ public:
|
||||
kRecorderPlaybackPause = 3 /**< kRecordetPlaybackPause, interal state when user pauses the playback */
|
||||
};
|
||||
|
||||
void init(Common::String recordFileName, RecordMode mode);
|
||||
void init(const Common::String &recordFileName, RecordMode mode);
|
||||
void deinit();
|
||||
bool processDelayMillis();
|
||||
uint32 getRandomSeed(const Common::String &name);
|
||||
|
Loading…
Reference in New Issue
Block a user