mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Redesign the ability to load state at boot
BootParameters can now contain the path of a savestate to load at boot. Movie has been made to use this instead of poking at Core.cpp's state.
This commit is contained in:
parent
c9b78e23a2
commit
9dd88d76dd
13 changed files with 93 additions and 81 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <wx/bitmap.h>
|
||||
|
@ -105,7 +106,7 @@ public:
|
|||
void ToggleLogConfigWindow(bool bShow);
|
||||
void StatusBarMessage(const char* format, ...);
|
||||
void ClearStatusBar();
|
||||
void BootGame(const std::string& filename);
|
||||
void BootGame(const std::string& filename, const std::optional<std::string>& savestate_path = {});
|
||||
void StartGame(std::unique_ptr<BootParameters> boot);
|
||||
bool RendererHasFocus();
|
||||
bool RendererIsFullscreen();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue