summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-06-28 12:50:51 +0000
committernakeee <nakeee@gmail.com>2009-06-28 12:50:51 +0000
commit900287be5093885a49f6402055fbc062e098b9e9 (patch)
treefcc56e8e905d6029b09490d734e2a3dbbf665b00 /Source/Core
parent6c52ab1c39b7e859ce30e7f0510a84b11ab5db13 (diff)
Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3569 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DSPCore/Src/DSPCore.h2
-rw-r--r--Source/Core/DSPCore/Src/SConscript1
-rw-r--r--Source/Core/DolphinWX/Src/FrameTools.cpp39
3 files changed, 5 insertions, 37 deletions
diff --git a/Source/Core/DSPCore/Src/DSPCore.h b/Source/Core/DSPCore/Src/DSPCore.h
index c5f1b52dd3..34a5740e88 100644
--- a/Source/Core/DSPCore/Src/DSPCore.h
+++ b/Source/Core/DSPCore/Src/DSPCore.h
@@ -26,7 +26,7 @@
#ifndef _DSPCORE_H
#define _DSPCORE_H
-#include "Breakpoints.h"
+#include "BreakPoints.h"
#define DSP_IRAM_BYTE_SIZE 0x2000
#define DSP_IRAM_SIZE 0x1000
diff --git a/Source/Core/DSPCore/Src/SConscript b/Source/Core/DSPCore/Src/SConscript
index 43be81ea4a..3fcf93f3c2 100644
--- a/Source/Core/DSPCore/Src/SConscript
+++ b/Source/Core/DSPCore/Src/SConscript
@@ -6,7 +6,6 @@ files = [
"assemble.cpp",
"disassemble.cpp",
"DSPAccelerator.cpp",
- "DSPIntUtil.cpp",
"DSPIntCCUtil.cpp",
"DSPIntExtOps.cpp",
"DSPHWInterface.cpp",
diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp
index da76aed608..a56d83533d 100644
--- a/Source/Core/DolphinWX/Src/FrameTools.cpp
+++ b/Source/Core/DolphinWX/Src/FrameTools.cpp
@@ -16,10 +16,7 @@
// http://code.google.com/p/dolphin-emu/
-//////////////////////////////////////////////////////////////////////////////////////////
-// Documentation
-/* ŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
-
+/*
1.1 Windows
CFrame is the main parent window. Inside CFrame there is m_Panel which is the
@@ -28,8 +25,7 @@ the rendering window is created by giving CreateWindow() m_Panel->GetHandle()
as parent window and creating a new child window to m_Panel. The new child
window handle that is returned by CreateWindow() can be accessed from
Core::GetWindowHandle().
-
-///////////////////////////////////////////////*/
+*/
// FIXME: why doesn't it work on windows???
@@ -100,9 +96,7 @@ wxCheatsWindow* CheatsWindow;
wxInfoWindow* InfoWindow;
-//////////////////////////////////////////////////////////////////////////////////////
// Create menu items
-// ----------------------
void CFrame::CreateMenu()
{
if (GetMenuBar())
@@ -231,12 +225,9 @@ void CFrame::CreateMenu()
// Associate the menu bar with the frame
SetMenuBar(menuBar);
}
-//////////////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////////////
// Create toolbar items
-// ----------------------
void CFrame::PopulateToolbar(wxToolBar* toolBar)
{
int w = m_Bitmaps[Toolbar_FileOpen].GetWidth(),
@@ -263,20 +254,16 @@ void CFrame::PopulateToolbar(wxToolBar* toolBar)
toolBar->AddTool(IDM_HELPABOUT, _T("About"), m_Bitmaps[Toolbar_Help], _T("About Dolphin"));
- //////////////////////////////////////////////////
// Music mod
- // ŻŻŻŻŻŻŻŻŻŻ
#ifdef MUSICMOD
MM_PopulateGUI();
#endif
- ///////////////////////
// after adding the buttons to the toolbar, must call Realize() to reflect
// the changes
toolBar->Realize();
}
-//////////////////////////////////////////////////////////////////////////////////////
// Delete and recreate the toolbar
@@ -393,13 +380,10 @@ void CFrame::InitBitmaps()
default: PanicAlert("Theme selection went wrong");
}
- //////////////////////////////////////////////////
// Music modification
- // -------------
#ifdef MUSICMOD
MM_InitBitmaps(Theme);
#endif
- //////////////////////////
// Update in case the bitmap has been updated
@@ -408,9 +392,7 @@ void CFrame::InitBitmaps()
}
-///////////////////////////////////////////////////////////////////////////////////////////////////
// Start the game or change the disc
-// -------------
void CFrame::BootGame()
{
// Music modification
@@ -517,12 +499,9 @@ void CFrame::OnBootDrive(wxCommandEvent& event)
{
BootManager::BootCore(drives[event.GetId()-IDM_DRIVE1]);
}
-///////////////////////////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////////////////////////////
// Refresh the file list and browse for a favorites directory
-// --------------------
void CFrame::OnRefresh(wxCommandEvent& WXUNUSED (event))
{
if (m_GameListCtrl)
@@ -536,12 +515,9 @@ void CFrame::OnBrowse(wxCommandEvent& WXUNUSED (event))
{
m_GameListCtrl->BrowseForDirectory();
}
-///////////////////////////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////////////////////////////
// Create screenshot
-// --------------------
static inline void GenerateScreenshotName(std::string& name)
{
int index = 1;
@@ -566,12 +542,9 @@ void CFrame::OnScreenshot(wxCommandEvent& WXUNUSED (event))
if(!bPaused)
Core::SetState(Core::CORE_RUN);
}
-///////////////////////////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////////////////////////////
// Stop the emulation
-// --------------------
void CFrame::DoStop()
{
// Music modification
@@ -609,7 +582,6 @@ void CFrame::OnStop(wxCommandEvent& WXUNUSED (event))
{
DoStop();
}
-///////////////////////////////////////////////////////////////////////////////////////////////////
void CFrame::OnConfigMain(wxCommandEvent& WXUNUSED (event))
@@ -741,7 +713,7 @@ void CFrame::OnLoadStateFromFile(wxCommandEvent& WXUNUSED (event))
this);
if(path)
- State_LoadAs(path.ToAscii());
+ State_LoadAs((const char *)path.ToAscii());
}
void CFrame::OnSaveStateToFile(wxCommandEvent& WXUNUSED (event))
@@ -759,7 +731,7 @@ void CFrame::OnSaveStateToFile(wxCommandEvent& WXUNUSED (event))
this);
if(path)
- State_SaveAs(path.ToAscii());
+ State_SaveAs((const char *)path.ToAscii());
}
void CFrame::OnLoadLastState(wxCommandEvent& WXUNUSED (event))
@@ -856,13 +828,10 @@ void CFrame::ToggleConsole(bool check)
else
console->Close();
- //////////////////////////////////////////////////
// Music mod
- // ŻŻŻŻŻŻŻŻŻŻ
#ifdef MUSICMOD
MM_OnLog(SConfig::GetInstance().m_InterfaceConsole);
#endif
- ///////////////////////
// Make sure the check is updated (if wxw isn't calling this func)
GetMenuBar()->FindItem(IDM_TOGGLE_CONSOLE)->Check(check);