some extremely low hanging pedantic fruit

This commit is contained in:
Cowering 2015-06-22 16:01:20 -05:00
parent 262d8b43f8
commit 9306af2c50
12 changed files with 26 additions and 26 deletions

View File

@ -40,7 +40,7 @@ enum address_spacenum
AS_IO = AS_2, // I/O address space
AS_DECRYPTED_OPCODES = AS_3 // decrypted opcodes, when separate from data accesses
};
DECLARE_ENUM_OPERATORS(address_spacenum);
DECLARE_ENUM_OPERATORS(address_spacenum)
// read or write constants
enum read_or_write

View File

@ -71,7 +71,7 @@ enum profile_type
PROFILER_IDLE,
PROFILER_TOTAL
};
DECLARE_ENUM_OPERATORS(profile_type);
DECLARE_ENUM_OPERATORS(profile_type)

View File

@ -29,7 +29,7 @@ enum item_layer
ITEM_LAYER_MARQUEE,
ITEM_LAYER_MAX
};
DECLARE_ENUM_OPERATORS(item_layer);
DECLARE_ENUM_OPERATORS(item_layer)

View File

@ -190,22 +190,22 @@ private:
// template specializations to enumerate the fundamental atomic types you are allowed to save
ALLOW_SAVE_TYPE_AND_ARRAY(char);
ALLOW_SAVE_TYPE_AND_ARRAY(char)
ALLOW_SAVE_TYPE (bool); // std::vector<bool> may be packed internally
ALLOW_SAVE_TYPE_AND_ARRAY(INT8);
ALLOW_SAVE_TYPE_AND_ARRAY(UINT8);
ALLOW_SAVE_TYPE_AND_ARRAY(INT16);
ALLOW_SAVE_TYPE_AND_ARRAY(UINT16);
ALLOW_SAVE_TYPE_AND_ARRAY(INT32);
ALLOW_SAVE_TYPE_AND_ARRAY(UINT32);
ALLOW_SAVE_TYPE_AND_ARRAY(INT64);
ALLOW_SAVE_TYPE_AND_ARRAY(UINT64);
ALLOW_SAVE_TYPE_AND_ARRAY(PAIR);
ALLOW_SAVE_TYPE_AND_ARRAY(PAIR64);
ALLOW_SAVE_TYPE_AND_ARRAY(float);
ALLOW_SAVE_TYPE_AND_ARRAY(double);
ALLOW_SAVE_TYPE_AND_ARRAY(endianness_t);
ALLOW_SAVE_TYPE_AND_ARRAY(rgb_t);
ALLOW_SAVE_TYPE_AND_ARRAY(INT8)
ALLOW_SAVE_TYPE_AND_ARRAY(UINT8)
ALLOW_SAVE_TYPE_AND_ARRAY(INT16)
ALLOW_SAVE_TYPE_AND_ARRAY(UINT16)
ALLOW_SAVE_TYPE_AND_ARRAY(INT32)
ALLOW_SAVE_TYPE_AND_ARRAY(UINT32)
ALLOW_SAVE_TYPE_AND_ARRAY(INT64)
ALLOW_SAVE_TYPE_AND_ARRAY(UINT64)
ALLOW_SAVE_TYPE_AND_ARRAY(PAIR)
ALLOW_SAVE_TYPE_AND_ARRAY(PAIR64)
ALLOW_SAVE_TYPE_AND_ARRAY(float)
ALLOW_SAVE_TYPE_AND_ARRAY(double)
ALLOW_SAVE_TYPE_AND_ARRAY(endianness_t)
ALLOW_SAVE_TYPE_AND_ARRAY(rgb_t)

View File

@ -145,7 +145,7 @@ osd_options::osd_options()
: cli_options()
{
add_entries(osd_options::s_option_entries);
};
}
//-------------------------------------------------

View File

@ -623,4 +623,4 @@ static void set_interfaces(base *d3dptr)
d3dptr->vertexbuf = d3d9_vertex_buffer_interface;
}
};
}

View File

@ -219,7 +219,7 @@ private:
float m_prim_height; // used by quads
};
}; // d3d
} // d3d
/* vertex describes a single vertex */
struct vertex

View File

@ -3405,7 +3405,7 @@ ULONG effect::release()
return m_effect->Release();
}
};
}
//============================================================
// get_slider_list

View File

@ -420,6 +420,6 @@ public:
static hlsl_options s_hlsl_presets[4];
};
};
}
#endif

View File

@ -229,6 +229,6 @@ struct base
base *drawd3d9_init(void);
};
}
#endif

View File

@ -2929,4 +2929,4 @@ bool render_target::init(renderer *d3d, base *d3dintf, int width, int height, in
return true;
}
};
}

View File

@ -227,6 +227,6 @@ private:
int m_line_count;
};
};
}
#endif