Previous 199869 Revisions Next

r20834 Friday 8th February, 2013 at 14:36:50 UTC by Oliver Stöneberg
improved compilation speed for optimized Visual Studio builds (nw)
[src/emu]inpttype.h
[src/mess/machine]nes_mmc.c

trunk/src/mess/machine/nes_mmc.c
r20833r20834
560560    MIRROR_HIGH and MIRROR_LOW compared to the above) and Sachen games use sachen_set_mirror (which has
561561    a slightly different MIRROR_HIGH, with page 0 set to 0) */
562562
563#ifdef _MSC_VER
564#pragma optimize("", off)
565#endif   
563566
567
564568/*************************************************************
565569
566570 Support for xml list
r20833r20834
589593
590594/* Include emulation of iNES Mappers for .nes files */
591595#include "machine/nes_ines.c"
596
597#ifdef _MSC_VER
598#pragma optimize("", on)
599#endif
trunk/src/emu/inpttype.h
r20833r20834
5151#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
5252__attribute__((optimize("O0")))
5353#endif
54#ifdef _MSC_VER
55#pragma optimize("", off)
56#endif
5457void construct_core_types(simple_list<input_type_entry> &typelist)
5558{
5659   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, JOYSTICK_UP,         "P1 Up",                  input_seq(KEYCODE_UP, input_seq::or_code, JOYCODE_Y_UP_SWITCH_INDEXED(0)) )
r20833r20834
672675   INPUT_PORT_DIGITAL_TYPE( 0, INVALID, DIPSWITCH,           NULL,                     input_seq() )
673676   INPUT_PORT_DIGITAL_TYPE( 0, INVALID, CONFIG,              NULL,                     input_seq() )
674677}
678#ifdef _MSC_VER
679#pragma optimize("", on)
680#endif

Previous 199869 Revisions Next


© 1997-2024 The MAME Team