*** empty log message ***
This commit is contained in:
parent
ef0942a90c
commit
92c0d7fc7b
|
@ -175,6 +175,7 @@ class Exe : public Error
|
|||
uint08 **m_bzSection;
|
||||
|
||||
protected:
|
||||
|
||||
// ******************************************************************
|
||||
// * Protected Default Constructor
|
||||
// ******************************************************************
|
||||
|
|
|
@ -53,7 +53,7 @@ class WndAbout : public Wnd
|
|||
HDC m_BackDC;
|
||||
HBITMAP m_OrigBmp;
|
||||
HBITMAP m_BackBmp;
|
||||
HFONT m_hFont;
|
||||
HFONT m_hFont;
|
||||
};
|
||||
|
||||
#endif
|
|
@ -34,18 +34,18 @@
|
|||
#ifndef EMUX_H
|
||||
#define EMUX_H
|
||||
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
namespace xboxkrnl
|
||||
{
|
||||
#include <xboxkrnl/xboxkrnl.h>
|
||||
#include "EmuXxapi.h"
|
||||
};
|
||||
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
namespace win32
|
||||
{
|
||||
#undef FIELD_OFFSET // prevent macro redefinition warnings
|
||||
|
@ -54,9 +54,9 @@ namespace win32
|
|||
#include <d3d8.h>
|
||||
};
|
||||
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
namespace xboxkrnl
|
||||
{
|
||||
#include "EmuXD3D.h"
|
||||
|
@ -76,7 +76,7 @@ extern "C"
|
|||
// ******************************************************************
|
||||
// * cxbxkrnl exports, others import
|
||||
// ******************************************************************
|
||||
#ifndef CXBXKRNL_INTERNAL
|
||||
#ifndef _CXBXKRNL_INTERNAL
|
||||
#define CXBXKRNL_API DECLSPEC_IMPORT
|
||||
#else
|
||||
#define CXBXKRNL_API DECLSPEC_EXPORT
|
||||
|
|
|
@ -41,11 +41,12 @@
|
|||
bool Error::ClearError()
|
||||
{
|
||||
if(m_bFatal)
|
||||
return false;
|
||||
return false;
|
||||
|
||||
delete[] m_szError;
|
||||
|
||||
m_szError = 0;
|
||||
|
||||
m_bFatal = false;
|
||||
|
||||
return true;
|
||||
|
@ -59,7 +60,7 @@ void Error::SetError(const char *x_szError, bool x_bFatal)
|
|||
if(m_szError == 0)
|
||||
m_szError = new char[256];
|
||||
|
||||
strcpy(m_szError, x_szError);
|
||||
strncpy(m_szError, x_szError, 255);
|
||||
|
||||
m_bFatal = x_bFatal;
|
||||
|
||||
|
|
|
@ -31,15 +31,15 @@
|
|||
// * All rights reserved
|
||||
// *
|
||||
// ******************************************************************
|
||||
#define CXBXKRNL_INTERNAL
|
||||
#define _CXBXKRNL_INTERNAL
|
||||
#define _XBOXKRNL_LOCAL_
|
||||
|
||||
#include "Cxbx.h"
|
||||
#include "EmuX.h"
|
||||
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
namespace xntdll
|
||||
{
|
||||
#include "xntdll.h"
|
||||
|
|
|
@ -30,14 +30,14 @@
|
|||
// *
|
||||
// * All rights reserved
|
||||
// *
|
||||
// ******************************************************************
|
||||
#define CXBXKRNL_INTERNAL
|
||||
// ******************************************************************
|
||||
#define _CXBXKRNL_INTERNAL
|
||||
#include "Cxbx.h"
|
||||
#include "EmuX.h"
|
||||
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
namespace win32
|
||||
{
|
||||
#include <process.h>
|
||||
|
|
|
@ -31,15 +31,15 @@
|
|||
// * All rights reserved
|
||||
// *
|
||||
// ******************************************************************
|
||||
#define CXBXKRNL_INTERNAL
|
||||
#define _CXBXKRNL_INTERNAL
|
||||
#define _XBOXKRNL_LOCAL_
|
||||
|
||||
#include "Cxbx.h"
|
||||
#include "EmuX.h"
|
||||
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
namespace xntdll
|
||||
{
|
||||
#include "xntdll.h"
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
#include "Cxbx.h"
|
||||
#include "EmuX.h"
|
||||
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
namespace xntdll
|
||||
{
|
||||
#include "xntdll.h"
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * prevent name collisions
|
||||
// ******************************************************************
|
||||
namespace win32
|
||||
{
|
||||
#undef FIELD_OFFSET // prevent macro redefinition warnings
|
||||
|
|
|
@ -182,8 +182,8 @@ VOID WINAPI xboxkrnl::EmuXapiInitProcess()
|
|||
}
|
||||
#endif
|
||||
|
||||
// TODO: Process initialization (if necessary)
|
||||
// TODO: Somehow initialize floating point
|
||||
// TODO: Process initialization (if necessary)
|
||||
// TODO: Somehow initialize floating point
|
||||
|
||||
EmuXSwapFS(); // XBox FS
|
||||
|
||||
|
|
|
@ -33,28 +33,28 @@
|
|||
// ******************************************************************
|
||||
#include "Cxbx.h"
|
||||
|
||||
#define CXBXKRNL_INTERNAL
|
||||
#define _CXBXKRNL_INTERNAL
|
||||
#define _XBOXKRNL_LOCAL_
|
||||
#include "EmuX.h"
|
||||
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * NOTE:
|
||||
// ******************************************************************
|
||||
// *
|
||||
// * Enable "#define PANIC(numb) numb" if you wish to find out what
|
||||
// * kernel export the application is attempting to call. The app
|
||||
// * will crash at the thunk number (i.e. PsCreateSystemThread:0xFF)
|
||||
// *
|
||||
// * For general use, you should probably just enable the other
|
||||
// ******************************************************************
|
||||
// *
|
||||
// * Enable "#define PANIC(numb) numb" if you wish to find out what
|
||||
// * kernel export the application is attempting to call. The app
|
||||
// * will crash at the thunk number (i.e. PsCreateSystemThread:0xFF)
|
||||
// *
|
||||
// * For general use, you should probably just enable the other
|
||||
// * option "#define PANIC(numb) cxbx_panic"
|
||||
// *
|
||||
// *
|
||||
// ******************************************************************
|
||||
//#define PANIC(numb) EmuXPanic
|
||||
#define PANIC(numb) numb
|
||||
|
||||
// ******************************************************************
|
||||
// * KernelThunkTable
|
||||
// ******************************************************************
|
||||
// ******************************************************************
|
||||
// * KernelThunkTable
|
||||
// ******************************************************************
|
||||
CXBXKRNL_API uint32 KernelThunkTable[367] =
|
||||
{
|
||||
(uint32)PANIC(0x0000), // 0x0000 (0)
|
||||
|
|
Loading…
Reference in New Issue