mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
Typo fix: threshhold → threshold
This commit is contained in:
parent
94ad873787
commit
3d5c53d11e
@ -1692,7 +1692,7 @@ static void execute_hotspot(running_machine &machine, int ref, int params, const
|
|||||||
|
|
||||||
/* attempt to install */
|
/* attempt to install */
|
||||||
device->debug()->hotspot_track(count, threshhold);
|
device->debug()->hotspot_track(count, threshhold);
|
||||||
debug_console_printf(machine, "Now tracking hotspots on CPU '%s' using %d slots with a threshhold of %d\n", device->tag(), (int)count, (int)threshhold);
|
debug_console_printf(machine, "Now tracking hotspots on CPU '%s' using %d slots with a threshold of %d\n", device->tag(), (int)count, (int)threshhold);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -3083,7 +3083,7 @@ void device_debug::hotspot_check(address_space &space, offs_t address)
|
|||||||
// if we didn't find any, make a new entry
|
// if we didn't find any, make a new entry
|
||||||
if (hotindex == m_hotspots.size())
|
if (hotindex == m_hotspots.size())
|
||||||
{
|
{
|
||||||
// if the bottom of the list is over the threshhold, print it
|
// if the bottom of the list is over the threshold, print it
|
||||||
hotspot_entry &spot = m_hotspots[m_hotspots.size() - 1];
|
hotspot_entry &spot = m_hotspots[m_hotspots.size() - 1];
|
||||||
if (spot.m_count > m_hotspot_threshhold)
|
if (spot.m_count > m_hotspot_threshhold)
|
||||||
debug_console_printf(space.machine(), "Hotspot @ %s %08X (PC=%08X) hit %d times (fell off bottom)\n", space.name(), spot.m_access, spot.m_pc, spot.m_count);
|
debug_console_printf(space.machine(), "Hotspot @ %s %08X (PC=%08X) hit %d times (fell off bottom)\n", space.name(), spot.m_access, spot.m_pc, spot.m_count);
|
||||||
|
@ -552,7 +552,7 @@ float ui_manager::get_line_height()
|
|||||||
// if our font is small-ish, do integral scaling
|
// if our font is small-ish, do integral scaling
|
||||||
if (raw_font_pixel_height < 24)
|
if (raw_font_pixel_height < 24)
|
||||||
{
|
{
|
||||||
// do we want to scale smaller? only do so if we exceed the threshhold
|
// do we want to scale smaller? only do so if we exceed the threshold
|
||||||
if (scale_factor <= 1.0f)
|
if (scale_factor <= 1.0f)
|
||||||
{
|
{
|
||||||
if (one_to_one_line_height < UI_MAX_FONT_HEIGHT || raw_font_pixel_height < 12)
|
if (one_to_one_line_height < UI_MAX_FONT_HEIGHT || raw_font_pixel_height < 12)
|
||||||
|
Loading…
Reference in New Issue
Block a user