Fix really stupid optimise on Windows.

Possibly explains speed difference from master.
This commit is contained in:
Matthew Parlane 2013-08-17 12:16:51 +12:00
parent 59e060aba2
commit d0d162e6ad
4 changed files with 0 additions and 36 deletions

View file

@ -28,11 +28,6 @@ was unavailable and prevent if from looking for shared2/wc24 files (and do a PPC
it failed)
*/
#ifdef _MSC_VER
#pragma warning(disable: 4748)
#pragma optimize("",off)
#endif
#include "WII_IPC_HLE_Device_es.h"
#include "WII_IPC_HLE_Device_net.h"
#include "../ConfigManager.h"
@ -1807,7 +1802,3 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtlV(u32 CommandAddress)
Memory::Write_U32(return_value, CommandAddress + 4);
return true;
}
#ifdef _MSC_VER
#pragma optimize("",off)
#endif

View file

@ -5,11 +5,6 @@
#ifndef _WII_IPC_HLE_DEVICE_NET_H_
#define _WII_IPC_HLE_DEVICE_NET_H_
#ifdef _MSC_VER
#pragma warning(disable: 4748)
#pragma optimize("",off)
#endif
#include "WII_IPC_HLE_Device.h"
#ifdef _WIN32
@ -739,8 +734,4 @@ private:
#pragma pack(pop)
};
#ifdef _MSC_VER
#pragma optimize("",on)
#endif
#endif

View file

@ -15,11 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#ifdef _MSC_VER
#pragma warning(disable: 4748)
#pragma optimize("",off)
#endif
#include "FileUtil.h"
#include "WII_IPC_HLE_Device_net_ssl.h"
#include "../Debugger/Debugger_SymbolMap.h"
@ -640,7 +635,3 @@ u32 CWII_IPC_HLE_Device_net_ssl::ExecuteCommand(u32 _Command,
_BufferIn, BufferInSize, _BufferOut, BufferOutSize);
return 0;
}
#ifdef _MSC_VER
#pragma optimize("",on)
#endif

View file

@ -18,11 +18,6 @@
#ifndef _WII_IPC_HLE_DEVICE_NET_SSL_H_
#define _WII_IPC_HLE_DEVICE_NET_SSL_H_
#ifdef _MSC_VER
#pragma warning(disable: 4748)
#pragma optimize("",off)
#endif
#include "WII_IPC_HLE_Device.h"
#include <polarssl/net.h>
@ -106,8 +101,4 @@ private:
u32 ExecuteCommandV(u32 _Parameter, SIOCtlVBuffer CommandBuffer);
};
#ifdef _MSC_VER
#pragma optimize("",off)
#endif
#endif