Revert r1861

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1879 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99 2009-01-16 02:58:34 +00:00
parent 9df221dd73
commit 7afc53c3a1
19 changed files with 58 additions and 18 deletions

View File

@ -24,7 +24,6 @@
#define CHECK_HEAP_INTEGRITY()
#ifdef _WIN32
#include <windows.h>
#ifdef _DEBUG
#include <crtdbg.h>
#undef CHECK_HEAP_INTEGRITY

View File

@ -19,6 +19,7 @@
#include "DriveUtil.h"
#ifdef _WIN32
#include <windows.h>
#include <winioctl.h>
#endif

View File

@ -18,7 +18,7 @@
//////////////////////////////////////////////////////////////////////////////////////////
// File description
/* ¯¯¯¯¯¯¯¯¯¯¯¯¯
/*
All plugins from Core > Plugins are loaded and unloaded with this class when Dolpin is started
and stopped.
@ -27,9 +27,11 @@ and stopped.
//////////////////////////////////////////////////////////////////////////////////////////
// Includes
// ¯¯¯¯¯¯¯¯¯¯¯¯¯
//
#include <string.h>
#ifndef _WIN32
#ifdef _WIN32
#include <windows.h>
#else
#include <dlfcn.h>
#include <stdio.h>
#endif
@ -38,7 +40,7 @@ and stopped.
#include "FileUtil.h"
#include "StringUtil.h"
#include "DynamicLibrary.h"
#include "../../../../Branches/MusicMod/Common/Src/Console.h"
#include "../../../../Branches/MusicMod/Common/Src/Console.h"
///////////////////////////////////

View File

@ -19,6 +19,8 @@
#ifndef _WIN32
#include <sys/types.h>
#include <dirent.h>
#else
#include <windows.h>
#endif
#include <string>

View File

@ -19,6 +19,7 @@
#include "FileUtil.h"
#ifdef _WIN32
#include <windows.h>
#include <shlobj.h> // for SHGetFolderPath
#include <shellapi.h>
#include <commdlg.h> // for GetSaveFileName

View File

@ -15,7 +15,9 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#ifndef _WIN32
#ifdef _WIN32
#include <windows.h>
#else
#include <unistd.h>
#include <sys/mman.h>
#include <sys/stat.h>

View File

@ -18,7 +18,9 @@
#include "Common.h"
#include "MemArena.h"
#ifndef _WIN32
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>

View File

@ -18,6 +18,10 @@
#ifndef _MEMARENA_H
#define _MEMARENA_H
#ifdef _WIN32
#include <windows.h>
#endif
#include "Common.h"
// This class lets you create a block of anonymous RAM, and then arbitrarily map views into it.

View File

@ -18,7 +18,9 @@
#include "Common.h"
#include "MemoryUtil.h"
#ifdef __GNUC__
#ifdef _WIN32
#include <windows.h>
#elif __GNUC__
#include <sys/mman.h>
#include <errno.h>
#include <stdio.h>

View File

@ -19,6 +19,7 @@
#define _THREAD_H
#ifdef _WIN32
#include <windows.h>
#define THREAD_RETURN DWORD WINAPI
#else
#define THREAD_RETURN void*

View File

@ -16,6 +16,7 @@
// http://code.google.com/p/dolphin-emu/
#ifdef _WIN32
#include <windows.h>
#include <mmsystem.h>
#endif

View File

@ -17,6 +17,10 @@
#ifndef _ARDECRYPT_H_
#define _ARDECRYPT_H_
#ifdef _WIN32
#include <windows.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -18,7 +18,13 @@
//////////////////////////////////////////////////////////////////////////////////////////
// Include
// ッッッッッッッッッッ
//
#ifdef _WIN32
#include <windows.h>
#else
#endif
#include "Thread.h"
#include "Timer.h"
#include "Common.h"
@ -70,7 +76,7 @@ namespace Core
//////////////////////////////////////////////////////////////////////////////////////////
// Declarations and definitions
// ッッッッッッッッッッ
//
// Function forwarding
//void Callback_VideoRequestWindowSize(int _iWidth, int _iHeight, BOOL _bFullscreen);
@ -108,7 +114,7 @@ Common::Event emuThreadGoing;
//////////////////////////////////////////////////////////////////////////////////////////
// Display messages and return values
// ッッッッッッッッッッ
//
bool PanicAlertToVideo(const char* text, bool yes_no)
{
DisplayMessage(text, 3000);
@ -151,7 +157,7 @@ bool GetRealWiimote()
//////////////////////////////////////////////////////////////////////////////////////////
// This is called from the GUI thread. See the booting call schedule in BootManager.cpp
// ッッッッッッッッッッ
//
bool Init(const SCoreStartupParameter _CoreParameter)
{
if (g_pThread != NULL) {
@ -225,7 +231,7 @@ void Stop() // - Hammertime!
//////////////////////////////////////////////////////////////////////////////////////////
// Create the CPU thread
// ッッッッッッッッッッ
//
THREAD_RETURN CpuThread(void *pArg)
{
Common::SetCurrentThreadName("CPU thread");
@ -274,7 +280,7 @@ THREAD_RETURN CpuThread(void *pArg)
//////////////////////////////////////////////////////////////////////////////////////////
// Initalize plugins and create emulation thread
// ッッッッッッッッッッ
//
/* Call browser: Init():g_pThread(). See the BootManager.cpp file description for a complete
call schedule. */
THREAD_RETURN EmuThread(void *pArg)
@ -436,7 +442,7 @@ THREAD_RETURN EmuThread(void *pArg)
//////////////////////////////////////////////////////////////////////////////////////////
// Set or get the running state
// ッッッッッッッッッッ
//
bool SetState(EState _State)
{
switch(_State)
@ -476,7 +482,7 @@ EState GetState()
//////////////////////////////////////////////////////////////////////////////////////////
// Save or recreate the emulation state
// ッッッッッッッッッッ
//
void SaveState() {
State_Save(0);
}

View File

@ -14,6 +14,10 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#ifdef _WIN32
#include <windows.h>
#endif
#include "Common.h"
#include "../Core.h"

View File

@ -19,6 +19,7 @@
#ifdef _WIN32
#include <io.h>
#include <windows.h>
#else
#include <unistd.h>
#endif

View File

@ -21,6 +21,9 @@
#include <string>
#include <stdio.h>
#include "Common.h"
#ifdef _WIN32
#include <windows.h>
#endif
#if defined(HAVE_WX) && HAVE_WX
#include "../Debugger/Debugger.h"

View File

@ -25,6 +25,7 @@
#include <iostream>
#include <vector>
#include <string> // So that we can test if std::string == abc
#include <windows.h>
#include "Common.h"

View File

@ -16,6 +16,7 @@
// http://code.google.com/p/dolphin-emu/
#include <tchar.h>
#include <windows.h>
#include <d3dx9.h>
#include "Common.h"

View File

@ -19,9 +19,12 @@
//////////////////////////////////////////////////////////////////////////////////////////
// Includes
// ッッッッッッッッッッッッッ
//
#include <string>
#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
#endif
#include "StringUtil.h"
@ -34,7 +37,7 @@
//////////////////////////////////////////////////////////////////////////////////////////
// Settings
// ッッッッッッッッッッッッッ
//
// On and off
bool g_consoleEnable = true;