mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
namespace-ified ActionReplay, and made ISOProperties use the existing AR code. bonus: encrypted arcodes are saved as unencrypted codes just by closing the isoproperties dialog. also added ARCodeAddEdit, but once again, it only views entries atm. some misc wxw cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1560 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -20,6 +20,9 @@
|
||||
|
||||
#include "IniFile.h"
|
||||
|
||||
namespace ActionReplay
|
||||
{
|
||||
|
||||
struct AREntry {
|
||||
u32 cmd_addr;
|
||||
u32 value;
|
||||
@ -31,15 +34,17 @@ struct ARCode {
|
||||
bool active;
|
||||
};
|
||||
|
||||
void ActionReplayRunAllActive();
|
||||
bool RunActionReplayCode(const ARCode &arcode);
|
||||
void LoadActionReplayCodes(IniFile &ini);
|
||||
size_t ActionReplay_GetCodeListSize();
|
||||
ARCode ActionReplay_GetARCode(size_t index);
|
||||
void ActionReplay_SetARCode_IsActive(bool active, size_t index);
|
||||
void ActionReplay_UpdateActiveList();
|
||||
void ActionReplay_EnableSelfLogging(bool enable);
|
||||
const std::vector<std::string> &ActionReplay_GetSelfLog();
|
||||
bool ActionReplay_IsSelfLogging();
|
||||
void RunAllActive();
|
||||
bool RunCode(const ARCode &arcode);
|
||||
void LoadCodes(IniFile &ini, bool forceLoad);
|
||||
void LoadCodes(std::vector<ARCode> &_arCodes, IniFile &ini);
|
||||
size_t GetCodeListSize();
|
||||
ARCode GetARCode(size_t index);
|
||||
void SetARCode_IsActive(bool active, size_t index);
|
||||
void UpdateActiveList();
|
||||
void EnableSelfLogging(bool enable);
|
||||
const std::vector<std::string> &GetSelfLog();
|
||||
bool IsSelfLogging();
|
||||
} // namespace
|
||||
|
||||
#endif //_ACTIONREPLAY_H_
|
||||
|
Reference in New Issue
Block a user