mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-13 23:12:45 -06:00
minor improvements (mostly debugger)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@82 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -22,6 +22,7 @@
|
||||
#include "HW/Memmap.h"
|
||||
#include "BreakPointDlg.h"
|
||||
#include "MemoryCheckDlg.h"
|
||||
#include "IniFile.h"
|
||||
|
||||
#include "wx/mstream.h"
|
||||
|
||||
@ -69,6 +70,28 @@ CBreakPointWindow::~CBreakPointWindow()
|
||||
{}
|
||||
|
||||
|
||||
void
|
||||
CBreakPointWindow::Save(IniFile& _IniFile) const
|
||||
{
|
||||
_IniFile.Set("BreakPoint", "x", GetPosition().x);
|
||||
_IniFile.Set("BreakPoint", "y", GetPosition().y);
|
||||
_IniFile.Set("BreakPoint", "w", GetSize().GetWidth());
|
||||
_IniFile.Set("BreakPoint", "h", GetSize().GetHeight());
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CBreakPointWindow::Load(IniFile& _IniFile)
|
||||
{
|
||||
int x,y,w,h;
|
||||
_IniFile.Get("BreakPoint", "x", &x, GetPosition().x);
|
||||
_IniFile.Get("BreakPoint", "y", &y, GetPosition().y);
|
||||
_IniFile.Get("BreakPoint", "w", &w, GetSize().GetWidth());
|
||||
_IniFile.Get("BreakPoint", "h", &h, GetSize().GetHeight());
|
||||
SetSize(x, y, w, h);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CBreakPointWindow::CreateGUIControls()
|
||||
{
|
||||
|
Reference in New Issue
Block a user