mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
improved compilation speed for optimized Visual Studio builds (nw)
This commit is contained in:
parent
fdad18e0f5
commit
de7ee87f23
@ -51,6 +51,9 @@
|
||||
#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
||||
__attribute__((optimize("O0")))
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
#pragma optimize("", off)
|
||||
#endif
|
||||
void construct_core_types(simple_list<input_type_entry> &typelist)
|
||||
{
|
||||
INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, JOYSTICK_UP, "P1 Up", input_seq(KEYCODE_UP, input_seq::or_code, JOYCODE_Y_UP_SWITCH_INDEXED(0)) )
|
||||
@ -672,3 +675,6 @@ void construct_core_types(simple_list<input_type_entry> &typelist)
|
||||
INPUT_PORT_DIGITAL_TYPE( 0, INVALID, DIPSWITCH, NULL, input_seq() )
|
||||
INPUT_PORT_DIGITAL_TYPE( 0, INVALID, CONFIG, NULL, input_seq() )
|
||||
}
|
||||
#ifdef _MSC_VER
|
||||
#pragma optimize("", on)
|
||||
#endif
|
||||
|
@ -560,6 +560,10 @@ void nes_carts_state::set_nt_mirroring(int mirroring)
|
||||
MIRROR_HIGH and MIRROR_LOW compared to the above) and Sachen games use sachen_set_mirror (which has
|
||||
a slightly different MIRROR_HIGH, with page 0 set to 0) */
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma optimize("", off)
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************
|
||||
|
||||
@ -589,3 +593,7 @@ void nes_carts_state::set_nt_mirroring(int mirroring)
|
||||
|
||||
/* Include emulation of iNES Mappers for .nes files */
|
||||
#include "machine/nes_ines.c"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma optimize("", on)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user