mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
Trying to get Dolphin to compile in Xcode, had to rename the Debugger namespace to something else since the name collided in OS X when using Xcode/Cocoa. Everything compiles except for the GL plugin, and the actual main Dolphin program. Will be trying to get them to compile after sleeping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3701 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
cfb2518612
commit
440c0c1d14
18
Externals/WiiUseSrc/Src/SConscript
vendored
18
Externals/WiiUseSrc/Src/SConscript
vendored
@ -8,15 +8,15 @@ if not (env['HAVE_BLUEZ'] or sys.platform == 'darwin'):
|
|||||||
Return()
|
Return()
|
||||||
|
|
||||||
files = [
|
files = [
|
||||||
"classic.c",
|
"classic.cpp",
|
||||||
"dynamics.c",
|
"dynamics.cpp",
|
||||||
"events.c",
|
"events.cpp",
|
||||||
"io.c",
|
"io.cpp",
|
||||||
"ir.c",
|
"ir.cpp",
|
||||||
"nunchuk.c",
|
"nunchuk.cpp",
|
||||||
"guitar_hero_3.c",
|
"guitar_hero_3.cpp",
|
||||||
"wiiboard.c",
|
"wiiboard.cpp",
|
||||||
"wiiuse.c",
|
"wiiuse.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
if env['HAVE_BLUEZ']:
|
if env['HAVE_BLUEZ']:
|
||||||
|
@ -33,7 +33,7 @@ bool OpenALStream::Start()
|
|||||||
pDeviceList = new ALDeviceList();
|
pDeviceList = new ALDeviceList();
|
||||||
if ((pDeviceList) && (pDeviceList->GetNumDevices()))
|
if ((pDeviceList) && (pDeviceList->GetNumDevices()))
|
||||||
{
|
{
|
||||||
pDevice = alcOpenDevice((const ALCchar *)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
|
pDevice = alcOpenDevice((ALCubyte *)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
|
||||||
if (pDevice)
|
if (pDevice)
|
||||||
{
|
{
|
||||||
pContext = alcCreateContext(pDevice, NULL);
|
pContext = alcCreateContext(pDevice, NULL);
|
||||||
|
@ -316,7 +316,7 @@ bool CBoot::BootUp()
|
|||||||
|
|
||||||
Boot_ELF(_StartupPara.m_strFilename.c_str());
|
Boot_ELF(_StartupPara.m_strFilename.c_str());
|
||||||
UpdateDebugger_MapLoaded();
|
UpdateDebugger_MapLoaded();
|
||||||
Debugger::AddAutoBreakpoints();
|
Dolphin_Debugger::AddAutoBreakpoints();
|
||||||
|
|
||||||
|
|
||||||
HLE::PatchFunctions();
|
HLE::PatchFunctions();
|
||||||
|
@ -23,9 +23,9 @@
|
|||||||
#include "../PowerPC/PowerPC.h"
|
#include "../PowerPC/PowerPC.h"
|
||||||
#include "../PowerPC/PPCAnalyst.h"
|
#include "../PowerPC/PPCAnalyst.h"
|
||||||
#include "../PowerPC/PPCSymbolDB.h"
|
#include "../PowerPC/PPCSymbolDB.h"
|
||||||
#include "../../../../Externals/Bochs_disasm/PowerPCDisasm.h"
|
#include "Bochs_disasm/PowerPCDisasm.h"
|
||||||
|
|
||||||
namespace Debugger
|
namespace Dolphin_Debugger
|
||||||
{
|
{
|
||||||
|
|
||||||
void AddAutoBreakpoints()
|
void AddAutoBreakpoints()
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
|
|
||||||
namespace Debugger
|
namespace Dolphin_Debugger
|
||||||
{
|
{
|
||||||
|
|
||||||
struct CallstackEntry
|
struct CallstackEntry
|
||||||
|
@ -590,7 +590,7 @@ bool CWII_IPC_HLE_Device_usb_oh1_57e_305::SendEventRemoteNameReq(bdaddr_t _bd)
|
|||||||
|
|
||||||
/////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////
|
||||||
/* This is called from Update() after ScanEnable has been enabled. */
|
/* This is called from Update() after ScanEnable has been enabled. */
|
||||||
// ¯¯¯¯¯¯¯¯¯
|
// ØØØØØØØØØ
|
||||||
bool CWII_IPC_HLE_Device_usb_oh1_57e_305::SendEventRequestConnection(CWII_IPC_HLE_WiiMote& _rWiiMote)
|
bool CWII_IPC_HLE_Device_usb_oh1_57e_305::SendEventRequestConnection(CWII_IPC_HLE_WiiMote& _rWiiMote)
|
||||||
{
|
{
|
||||||
// We have to disable scan now to avoid running this function over and over again
|
// We have to disable scan now to avoid running this function over and over again
|
||||||
@ -1429,7 +1429,7 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandWritePageTimeOut(u8* _Input)
|
|||||||
|
|
||||||
/////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////
|
||||||
/* This will enable ScanEnable so that Update() can start the Wiimote. */
|
/* This will enable ScanEnable so that Update() can start the Wiimote. */
|
||||||
// ¯¯¯¯¯¯¯¯¯
|
// ØØØØØØØØØ
|
||||||
void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandWriteScanEnable(u8* _Input)
|
void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandWriteScanEnable(u8* _Input)
|
||||||
{
|
{
|
||||||
// Command parameters
|
// Command parameters
|
||||||
@ -1584,7 +1584,7 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandVendorSpecific_FC4F(u8* _Input,
|
|||||||
INFO_LOG(WII_IPC_WIIMOTE, "Command: CommandVendorSpecific_FC4F: (callstack WUDiRemovePatch)");
|
INFO_LOG(WII_IPC_WIIMOTE, "Command: CommandVendorSpecific_FC4F: (callstack WUDiRemovePatch)");
|
||||||
INFO_LOG(WII_IPC_WIIMOTE, "input (size 0x%x):", _Size);
|
INFO_LOG(WII_IPC_WIIMOTE, "input (size 0x%x):", _Size);
|
||||||
|
|
||||||
Debugger::PrintDataBuffer(LogTypes::WII_IPC_WIIMOTE, _Input, _Size, "Data: ");
|
Dolphin_Debugger::PrintDataBuffer(LogTypes::WII_IPC_WIIMOTE, _Input, _Size, "Data: ");
|
||||||
|
|
||||||
SendEventCommandComplete(0xFC4F, &Reply, sizeof(hci_status_rp));
|
SendEventCommandComplete(0xFC4F, &Reply, sizeof(hci_status_rp));
|
||||||
}
|
}
|
||||||
@ -1597,7 +1597,7 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandVendorSpecific_FC4C(u8* _Input,
|
|||||||
|
|
||||||
INFO_LOG(WII_IPC_WIIMOTE, "Command: CommandVendorSpecific_FC4C:");
|
INFO_LOG(WII_IPC_WIIMOTE, "Command: CommandVendorSpecific_FC4C:");
|
||||||
INFO_LOG(WII_IPC_WIIMOTE, "input (size 0x%x):", _Size);
|
INFO_LOG(WII_IPC_WIIMOTE, "input (size 0x%x):", _Size);
|
||||||
Debugger::PrintDataBuffer(LogTypes::WII_IPC_WIIMOTE, _Input, _Size, "Data: ");
|
Dolphin_Debugger::PrintDataBuffer(LogTypes::WII_IPC_WIIMOTE, _Input, _Size, "Data: ");
|
||||||
|
|
||||||
SendEventCommandComplete(0xFC4C, &Reply, sizeof(hci_status_rp));
|
SendEventCommandComplete(0xFC4C, &Reply, sizeof(hci_status_rp));
|
||||||
}
|
}
|
||||||
|
@ -227,7 +227,7 @@ void unknown_instruction(UGeckoInstruction _inst)
|
|||||||
char disasm[256];
|
char disasm[256];
|
||||||
DisassembleGekko(Memory::ReadUnchecked_U32(last_pc), last_pc, disasm, 256);
|
DisassembleGekko(Memory::ReadUnchecked_U32(last_pc), last_pc, disasm, 256);
|
||||||
printf("Last PC = %08x : %s\n", last_pc, disasm);
|
printf("Last PC = %08x : %s\n", last_pc, disasm);
|
||||||
Debugger::PrintCallstack();
|
Dolphin_Debugger::PrintCallstack();
|
||||||
_dbg_assert_msg_(POWERPC, 0, "\nIntCPU: Unknown instr %08x at PC = %08x last_PC = %08x LR = %08x\n", _inst.hex, PC, last_pc, LR);
|
_dbg_assert_msg_(POWERPC, 0, "\nIntCPU: Unknown instr %08x at PC = %08x last_PC = %08x LR = %08x\n", _inst.hex, PC, last_pc, LR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "Host.h"
|
#include "Host.h"
|
||||||
#include "Debugger.h"
|
#include "Debugger.h"
|
||||||
#include "StringUtil.h"
|
#include "StringUtil.h"
|
||||||
#include "PowerPC/PowerPC.h"
|
#include "PowerPC.h"
|
||||||
|
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(BreakPointDlg,wxDialog)
|
BEGIN_EVENT_TABLE(BreakPointDlg,wxDialog)
|
||||||
|
@ -830,9 +830,9 @@ void CCodeWindow::UpdateCallstack()
|
|||||||
{
|
{
|
||||||
callstack->Clear();
|
callstack->Clear();
|
||||||
|
|
||||||
std::vector<Debugger::CallstackEntry> stack;
|
std::vector<Dolphin_Debugger::CallstackEntry> stack;
|
||||||
|
|
||||||
if (Debugger::GetCallstack(stack))
|
if (Dolphin_Debugger::GetCallstack(stack))
|
||||||
{
|
{
|
||||||
for (size_t i = 0; i < stack.size(); i++)
|
for (size_t i = 0; i < stack.size(); i++)
|
||||||
{
|
{
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@
|
|||||||
#ifndef WIIMOTE_HID_H
|
#ifndef WIIMOTE_HID_H
|
||||||
#define WIIMOTE_HID_H
|
#define WIIMOTE_HID_H
|
||||||
|
|
||||||
#include <CommonTypes.h>
|
#include "CommonTypes.h"
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(disable:4200)
|
#pragma warning(disable:4200)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user