Replaced Cxbx.h with CxbxCommon.h
This commit is contained in:
parent
f47c481ee6
commit
7ab72b4c90
|
@ -32,7 +32,7 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
#include "CxbxKrnl/EmuShared.h"
|
#include "CxbxKrnl/EmuShared.h"
|
||||||
#include "CxbxDebugger.h"
|
#include "CxbxDebugger.h"
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ namespace xboxkrnl
|
||||||
#include <stdio.h> // For printf
|
#include <stdio.h> // For printf
|
||||||
#include <shlobj.h> // For HANDLE, CreateFile, CreateFileMapping, MapViewOfFile
|
#include <shlobj.h> // For HANDLE, CreateFile, CreateFileMapping, MapViewOfFile
|
||||||
|
|
||||||
#include "Cxbx.h" // For DbgPrintf
|
#include "CxbxCommon.h" // For DbgPrintf
|
||||||
#include "EmuEEPROM.h" // For EEPROMInfo, EEPROMInfos
|
#include "EmuEEPROM.h" // For EEPROMInfo, EEPROMInfos
|
||||||
#include "..\CxbxKrnl\Emu.h" // For EmuWarning
|
#include "..\CxbxKrnl\Emu.h" // For EmuWarning
|
||||||
#include "..\..\src\devices\LED.h" // For SetLEDSequence
|
#include "..\..\src\devices\LED.h" // For SetLEDSequence
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef ERROR_H
|
#ifndef ERROR_H
|
||||||
#define ERROR_H
|
#define ERROR_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include <sstream> // For std::stringstream
|
#include <sstream> // For std::stringstream
|
||||||
#include <iostream> // For std::cout
|
#include <iostream> // For std::cout
|
||||||
#include <iomanip> // For std::setw
|
#include <iomanip> // For std::setw
|
||||||
#include "Cxbx.h" // For g_bPrintfOn
|
#include "CxbxCommon.h" // For g_bPrintfOn
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef XBAUDIO_H
|
#ifndef XBAUDIO_H
|
||||||
#define XBAUDIO_H
|
#define XBAUDIO_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
#include "Common/Error.h"
|
#include "Common/Error.h"
|
||||||
#include "Mutex.h"
|
#include "Mutex.h"
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef XBVIDEO_H
|
#ifndef XBVIDEO_H
|
||||||
#define XBVIDEO_H
|
#define XBVIDEO_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
#include "Common/Error.h"
|
#include "Common/Error.h"
|
||||||
#include "Mutex.h"
|
#include "Mutex.h"
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <clocale>
|
#include <clocale>
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
|
|
||||||
namespace xbdm {
|
namespace xbdm {
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef DBGCONSOLE_H
|
#ifndef DBGCONSOLE_H
|
||||||
#define DBGCONSOLE_H
|
#define DBGCONSOLE_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
|
|
||||||
// debug console input
|
// debug console input
|
||||||
class DbgConsole
|
class DbgConsole
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
|
|
||||||
// dump pixel shader definition to file
|
// dump pixel shader definition to file
|
||||||
void DumpPixelShaderDefToFile( X_D3DPIXELSHADERDEF* pPSDef, const char* pszCode );
|
void DumpPixelShaderDefToFile( X_D3DPIXELSHADERDEF* pPSDef, const char* pszCode );
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef VERTEXBUFFER_H
|
#ifndef VERTEXBUFFER_H
|
||||||
#define VERTEXBUFFER_H
|
#define VERTEXBUFFER_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
//#include <ctime> // Conflict with io.h
|
//#include <ctime> // Conflict with io.h
|
||||||
|
|
||||||
#define MAX_NBR_STREAMS 16
|
#define MAX_NBR_STREAMS 16
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef VERTEXSHADER_H
|
#ifndef VERTEXSHADER_H
|
||||||
#define VERTEXSHADER_H
|
#define VERTEXSHADER_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
|
|
||||||
// nv2a microcode header
|
// nv2a microcode header
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef EMUSHARED_H
|
#ifndef EMUSHARED_H
|
||||||
#define EMUSHARED_H
|
#define EMUSHARED_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
#include "Common/Win32/XBController.h"
|
#include "Common/Win32/XBController.h"
|
||||||
#include "Common/Win32/XBVideo.h"
|
#include "Common/Win32/XBVideo.h"
|
||||||
#include "Common/Win32/XBAudio.h"
|
#include "Common/Win32/XBAudio.h"
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef EMUX86_H
|
#ifndef EMUX86_H
|
||||||
#define EMUX86_H
|
#define EMUX86_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace xboxkrnl
|
||||||
#include <xboxkrnl/xboxkrnl.h>
|
#include <xboxkrnl/xboxkrnl.h>
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "Cxbx.h" // For CxbxKrnl_KernelThunkTable
|
#include "CxbxCommon.h" // For CxbxKrnl_KernelThunkTable
|
||||||
#include "CxbxKrnl.h" // For UINT
|
#include "CxbxKrnl.h" // For UINT
|
||||||
|
|
||||||
#define FUNC(f) f
|
#define FUNC(f) f
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef RESOURCETRACKER_H
|
#ifndef RESOURCETRACKER_H
|
||||||
#define RESOURCETRACKER_H
|
#define RESOURCETRACKER_H
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
#include "Common/Win32/Mutex.h"
|
#include "Common/Win32/Mutex.h"
|
||||||
|
|
||||||
extern class ResourceTracker : public Mutex
|
extern class ResourceTracker : public Mutex
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
#include "Cxbx.h"
|
#include "CxbxCommon.h"
|
||||||
|
|
||||||
/* PTIMER - time measurement and time-based alarms */
|
/* PTIMER - time measurement and time-based alarms */
|
||||||
static uint64_t ptimer_get_clock(NV2AState * d)
|
static uint64_t ptimer_get_clock(NV2AState * d)
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "glib_compat.h" // For GHashTable, g_hash_table_new, g_hash_table_lookup, g_hash_table_insert
|
#include "glib_compat.h" // For GHashTable, g_hash_table_new, g_hash_table_lookup, g_hash_table_insert
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "Cxbx.h" // For xbaddr
|
#include "CxbxCommon.h" // For xbaddr
|
||||||
#include "devices\PCIDevice.h" // For PCIDevice
|
#include "devices\PCIDevice.h" // For PCIDevice
|
||||||
|
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
|
Loading…
Reference in New Issue