summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.cpp
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2020-01-23 04:03:35 +0100
committer R. Belmont <rb6502@users.noreply.github.com>2020-01-22 22:03:35 -0500
commit7c3aea8928f90955b7b67e40c705c16d8543384f (patch)
tree4818711117f20ef52fbbcec6543aa970c3c4d519 /src/emu/debug/debugcmd.cpp
parentd4bed5fce44ecf903e5170a8d4624a9edf7c14f3 (diff)
fixed some clang-tidy warnings (nw) (#6197)
* fixed some bugprone-throw-keyword-missing clang-tidy warnings (nw) * fixed some modernize-use-nullptr clang-tidy warnings (nw) * fixed some readability-delete-null-pointer clang-tidy warnings (nw) * fixed some performance-faster-string-find clang-tidy warnings (nw) * fixed some performance-for-range-copy clang-tidy warnings (nw) * fixed some readability-redundant-string-cstr clang-tidy warnings (nw)
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r--src/emu/debug/debugcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index fa65b327d6c..342374bd545 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -3119,7 +3119,7 @@ void debugger_commands::execute_snap(int ref, const std::vector<std::string> &pa
if (fname.find(".png") == -1)
fname.append(".png");
emu_file file(m_machine.options().snapshot_directory(), OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_CREATE_PATHS);
- osd_file::error filerr = file.open(fname.c_str());
+ osd_file::error filerr = file.open(fname);
if (filerr != osd_file::error::NONE)
{
Commit omitted nl_convert.h. Renamed "find" to find_by_name in couriersud5-13/+594 2015-05-29more cleanup (nw) Dirk Best1-1/+0 2015-05-29First version of a eagle to netlist converter. (nw) couriersud3-336/+39 2015-05-29Found some cycles. (nw) couriersud8-45/+71 2015-05-29Use netlist().log() for logging instead of printf. This avoids the couriersud5-17/+20 2015-05-29cleanups (nw) Dirk Best3-10/+8 2015-05-29Adjust C352 clock divider for System12/23 Ian Karlsson4-8/+8 2015-05-30camplynx: Dungeon Adventure now runs on the 48k. Robbbert1-1/+1 2015-05-29Add configurable clock dividers for Namco C352 Ian Karlsson9-17/+61 2015-05-29Revert "machine type attribute added in the xml" Olivier Galibert3-19/+5 2015-05-29machine type attribute added in the xml k2-git3-5/+19 2015-05-29slight update to the previous commit (nw) Dirk Best1-3/+6 2015-05-29wd_fdc: after a force interrupt command, return status type 1 (fixes sam Dirk Best1-0/+3 2015-05-29wd_fdc & super80: allow ENMF line to be switched. Robbbert2-2/+5 2015-05-29fix (nw) Miodrag Milanovic1-1/+1 2015-05-29correct credits -> license is covered hap2-4/+4 2015-05-29Fixes for Andreas Naive (nw) Miodrag Milanovic8-9/+9 2015-05-29wd_fdc: add support for the enmf (enable minifloppy) pin, which enables Dirk Best4-19/+67 2015-05-29camplynx: handle level9 adventures. Not working though due to banking issues. Robbbert1-18/+22 2015-05-29mbee: motor on always, to fix cp/m select error in the shell. Robbbert1-1/+5 2015-05-29namcos1.c: clean up audiocpu ROM loading/banking too (nw) Alex W. Jackson2-98/+98 2015-05-29namcos1.c: load MCU internal and external (voice) ROMs in separate regions (nw) Alex W. Jackson2-189/+265 2015-05-29fixed clang (nw) Miodrag Milanovic1-0/+1 2015-05-29namcos1.c: switched to configured banking, enabled save state support (nw) Ivan Vangelista2-47/+48 2015-05-29Fixed a compile error in MATE. Robbbert1-2/+2 2015-05-29Fixed the build. Robbbert2-3/+3 2015-05-28oops, forgot one Cowering1-0/+6 2015-05-28compile fixes for GCC5.1.1 win64 and CPP11 mode.. requested by mingw team to ... Cowering14-44/+70 2015-05-28Addition of commands and details as well as some reordering to match -showusa... Scott Stone1-28/+53 2015-05-28Champion Super 2 & 3 games: Improved the internal layout to represent RobertoFresca2-18/+43 2015-05-28We cannot relicense files for which we have not yet received responses (nw) balr0g276-283/+283 2015-05-28Added skeleton support for Windows Phone and Windows Store - far from working... Miodrag Milanovic3-1/+42 2015-05-28chsuper.c driver: Reworked all inputs and implemented full outputs RobertoFresca2-68/+406 2015-05-283rdparty.lua: add check for nil first (nw) Peter Ferrie1-1/+1 2015-05-28z80ne: updated to use the new wd fdc. remove custom dmk implementation Dirk Best6-874/+46 2015-05-28wd_fdc: changes to get z80ne booting (also fix cgenie fm mode) Dirk Best1-7/+21 2015-05-28beta128: patch some TR-DOS bug so Pentagon and Scorpion works ok with FDD unt... MetalliC3-4/+10