Attempt at auto update SVN revision in title bar - let's see if it works for everyone, sorry Sonic, you'll have to find a linux solution (see svnrev_template.h). Also adds some smash bros cheats.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@34 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7765b3f556
commit
eaaea3da94
|
@ -2,4 +2,18 @@
|
|||
GFXPlugin = Plugins\Plugin_VideoOGL.dll
|
||||
DSPPlugin = Plugins\Plugin_DSP_NULL.dll
|
||||
PadPlugin = Plugins\Plugin_PadSimple.dll
|
||||
|
||||
[General]
|
||||
LastFilename =
|
||||
GCMPathes = 1
|
||||
GCMPath0 = E:\GCM
|
||||
[Core]
|
||||
GFXPlugin = Plugins\Plugin_VideoOGL.dll
|
||||
DSPPlugin = Plugins\Plugin_DSP_NULL.dll
|
||||
PadPlugin = Plugins\Plugin_PadSimple.dll
|
||||
HLEBios = False
|
||||
UseDynarec = False
|
||||
UseDualCore = False
|
||||
Throttle = True
|
||||
LockThreads = True
|
||||
DefaultGCM =
|
||||
OptimizeQuantizers = True
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
[OnFrame]
|
||||
|
||||
[ActionReplay]
|
||||
mustcode? idk if it should be on, i had code problems so i added it anyway
|
||||
003C04F4 98000000
|
||||
C434D344 00000800
|
||||
|
||||
OpenAllCharacters
|
||||
003C015D 18000000
|
||||
0444CD30 FFFFFFFF
|
||||
|
||||
infloterycoins
|
||||
003C1AB7 18000000
|
||||
0444CF10 0000270F
|
||||
|
||||
P1MustbeON - Vs.CharMod
|
||||
003C629A 18000000
|
||||
08471634 00000040
|
||||
00471634 00000000
|
||||
|
||||
P1 - No Damage
|
||||
003C0156 18000000
|
||||
04443E80 00000000
|
||||
|
||||
All Event matches open and complete
|
||||
003C1ABF 18000000
|
||||
0444CF34 FFFFFFFF
|
||||
|
||||
Mega jumps
|
||||
003C1AC1 18000000
|
||||
044CA1DC 40000000
|
||||
|
||||
Item Appearance Modifier (bopie64)
|
||||
003C4BBF 18000000
|
||||
043FB838 00000003
|
||||
043FB850 41000000
|
||||
043FB854 3F800000
|
||||
|
||||
|
||||
P1 Turbo B Button (donny2112)
|
||||
003C0AFF 18000000
|
||||
0A45BF10 00000200
|
||||
0245BF10 00000000
|
||||
|
||||
One Hit Kills
|
||||
003C26A9 18000000
|
||||
044C9578 40100000
|
||||
|
||||
Infinite Jumps
|
||||
003C3BAE 18000000
|
||||
040CC114 60000000
|
|
@ -2,4 +2,18 @@
|
|||
GFXPlugin = Plugins\Plugin_VideoOGL.dll
|
||||
DSPPlugin = Plugins\Plugin_DSP_NULL.dll
|
||||
PadPlugin = Plugins\Plugin_PadSimple.dll
|
||||
|
||||
[General]
|
||||
LastFilename =
|
||||
GCMPathes = 1
|
||||
GCMPath0 = E:\GCM
|
||||
[Core]
|
||||
GFXPlugin = Plugins\Plugin_VideoOGL.dll
|
||||
DSPPlugin = Plugins\Plugin_DSP.dll
|
||||
PadPlugin = Plugins\Plugin_PadSimple.dll
|
||||
HLEBios = False
|
||||
UseDynarec = True
|
||||
UseDualCore = False
|
||||
Throttle = True
|
||||
LockThreads = True
|
||||
DefaultGCM =
|
||||
OptimizeQuantizers = True
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
[OnFrame]
|
||||
|
||||
[ActionReplay]
|
||||
mustcode? idk if it should be on, i had code problems so i added it anyway
|
||||
003C04F4 98000000
|
||||
C434D344 00000800
|
||||
|
||||
Open All Characters
|
||||
003C015D 18000000
|
||||
0444CD30 FFFFFFFF
|
||||
|
||||
Infinite Lottery Coins
|
||||
003C1AB7 18000000
|
||||
0444CF10 0000270F
|
||||
|
||||
P1MustbeON - Vs.CharMod
|
||||
003C629A 18000000
|
||||
08471634 00000040
|
||||
00471634 00000000
|
||||
|
||||
P1 - No Damage
|
||||
003C0156 18000000
|
||||
04443E80 00000000
|
||||
|
||||
All Event matches open and complete
|
||||
003C1ABF 18000000
|
||||
0444CF34 FFFFFFFF
|
||||
|
||||
Mega jumps
|
||||
003C1AC1 18000000
|
||||
044CA1DC 40000000
|
||||
|
||||
Item Appearance Modifier (bopie64)
|
||||
003C4BBF 18000000
|
||||
043FB838 00000003
|
||||
043FB850 41000000
|
||||
043FB854 3F800000
|
||||
|
||||
P1 Turbo B Button (donny2112)
|
||||
003C0AFF 18000000
|
||||
0A45BF10 00000200
|
||||
0245BF10 00000000
|
||||
|
||||
One Hit Kills
|
||||
003C26A9 18000000
|
||||
044C9578 40100000
|
||||
|
||||
Infinite Jumps
|
||||
003C3BAE 18000000
|
||||
040CC114 60000000
|
|
@ -28,6 +28,7 @@
|
|||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="$(ProjectDir)SubWCRev.exe $(SolutionDir) $(ProjectDir)\src\svnrev_template.h $(ProjectDir)\src\svnrev.h"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
|
@ -96,6 +97,7 @@
|
|||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="$(ProjectDir)SubWCRev.exe $(SolutionDir) $(ProjectDir)\src\svnrev_template.h $(ProjectDir)\src\svnrev.h"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
|
@ -167,6 +169,7 @@
|
|||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="$(ProjectDir)SubWCRev.exe $(SolutionDir) $(ProjectDir)\src\svnrev_template.h $(ProjectDir)\src\svnrev.h"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
|
@ -239,6 +242,7 @@
|
|||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="$(ProjectDir)SubWCRev.exe $(SolutionDir) $(ProjectDir)\src\svnrev_template.h $(ProjectDir)\src\svnrev.h"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
|
@ -312,6 +316,7 @@
|
|||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="$(ProjectDir)SubWCRev.exe $(SolutionDir) $(ProjectDir)\src\svnrev_template.h $(ProjectDir)\src\svnrev.h"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
|
@ -379,6 +384,7 @@
|
|||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="$(ProjectDir)SubWCRev.exe $(SolutionDir) $(ProjectDir)\src\svnrev_template.h $(ProjectDir)\src\svnrev.h"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
|
|
|
@ -11,6 +11,13 @@ bool File::Exists(const std::string &filename)
|
|||
#endif
|
||||
}
|
||||
|
||||
bool File::IsDirectory(const std::string &filename) {
|
||||
#ifdef _WIN32
|
||||
return (GetFileAttributes(filename.c_str()) & FILE_ATTRIBUTE_DIRECTORY) != 0;
|
||||
#else
|
||||
return false; //TODO
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string SanitizePath(const std::string &filename) {
|
||||
std::string copy = filename;
|
||||
|
|
|
@ -9,6 +9,7 @@ public:
|
|||
static bool Exists(const std::string &filename);
|
||||
static void Launch(const std::string &filename);
|
||||
static void Explore(const std::string &path);
|
||||
static bool IsDirectory(const std::string &filename);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#define SVN_REV $WCREV$
|
||||
#define SVN_REV_STR "$WCREV$"
|
Binary file not shown.
|
@ -79,8 +79,8 @@ CBreakPointView::Update()
|
|||
Refresh();
|
||||
}
|
||||
|
||||
void CBreakPointView::DeleteCurrentSelection()
|
||||
{
|
||||
void CBreakPointView::DeleteCurrentSelection()
|
||||
{
|
||||
int Item = GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
|
||||
if (Item >= 0)
|
||||
{
|
||||
|
|
|
@ -76,7 +76,7 @@ BEGIN_EVENT_TABLE(CCodeWindow, wxFrame)
|
|||
EVT_BUTTON(IDM_SETPC, CCodeWindow::OnCodeStep)
|
||||
EVT_BUTTON(IDM_GOTOPC, CCodeWindow::OnCodeStep)
|
||||
EVT_TEXT(IDM_ADDRBOX, CCodeWindow::OnAddrBoxChange)
|
||||
EVT_LISTBOX(IDM_SYMBOLLIST, CCodeWindow::OnSymolListChange)
|
||||
EVT_LISTBOX(IDM_SYMBOLLIST, CCodeWindow::OnSymbolListChange)
|
||||
EVT_LISTBOX(IDM_CALLSTACKLIST, CCodeWindow::OnCallstackListChange)
|
||||
EVT_HOST_COMMAND(wxID_ANY, CCodeWindow::OnHostMessage)
|
||||
EVT_MENU(IDM_LOGWINDOW, CCodeWindow::OnToggleLogWindow)
|
||||
|
@ -411,7 +411,7 @@ void CCodeWindow::UpdateButtonStates()
|
|||
}
|
||||
|
||||
|
||||
void CCodeWindow::OnSymolListChange(wxCommandEvent& event)
|
||||
void CCodeWindow::OnSymbolListChange(wxCommandEvent& event)
|
||||
{
|
||||
int index = symbols->GetSelection();
|
||||
Debugger::CSymbol* pSymbol = static_cast<Debugger::CSymbol*>(symbols->GetClientData(index));
|
||||
|
|
|
@ -73,7 +73,7 @@ class CCodeWindow
|
|||
wxTextCtrl* addrbox;
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
void OnSymolListChange(wxCommandEvent& event);
|
||||
void OnSymbolListChange(wxCommandEvent& event);
|
||||
void OnCallstackListChange(wxCommandEvent& event);
|
||||
void OnCodeStep(wxCommandEvent& event);
|
||||
void OnAddrBoxChange(wxCommandEvent& event);
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include "svnrev.h"
|
||||
#include "CPUDetect.h"
|
||||
#include "Globals.h"
|
||||
#include "Common.h"
|
||||
|
@ -86,8 +87,12 @@ bool DolphinApp::OnInit()
|
|||
SConfig::GetInstance().LoadSettings();
|
||||
wxInitAllImageHandlers();
|
||||
// Create the main frame window
|
||||
main_frame = new CFrame((wxFrame*) NULL, wxID_ANY,
|
||||
_T("Dolphin"),
|
||||
#ifdef _DEBUG
|
||||
const char *title = "Dolphin Debug SVN R " SVN_REV_STR;
|
||||
#else
|
||||
const char *title = "Dolphin SVN R " SVN_REV_STR;
|
||||
#endif
|
||||
main_frame = new CFrame((wxFrame*) NULL, wxID_ANY, title,
|
||||
wxPoint(100, 100), wxSize(800, 600));
|
||||
|
||||
// create debugger
|
||||
|
|
Loading…
Reference in New Issue