mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 03:40:25 +00:00
7a4e5612de
Mostly done using the following Ruby script: (Dir.glob('**/*.cpp') + Dir.glob('**/*.h')).each do |file| s = File.read(file, encoding: 'iso8859-1') t = s.gsub(/(([\w_.\[\]]+)\s*=\s*new\s+\S+?\[[^\]]+?\](?!\())([^\{\}]*?)\n\s+memset\(\s*\2\s*,\s*0\s*,[^;]*;/m, '\1()\3') if t != s File.open(file, 'w') { |io| io.write(t) } end end |
||
---|---|---|
.. | ||
3do_decoder.cpp | ||
3do_decoder.h | ||
avi_decoder.cpp | ||
avi_decoder.h | ||
bink_decoder.cpp | ||
bink_decoder.h | ||
binkdata.h | ||
coktel_decoder.cpp | ||
coktel_decoder.h | ||
dxa_decoder.cpp | ||
dxa_decoder.h | ||
flic_decoder.cpp | ||
flic_decoder.h | ||
hnm_decoder.cpp | ||
hnm_decoder.h | ||
module.mk | ||
mpegps_decoder.cpp | ||
mpegps_decoder.h | ||
mve_decoder.cpp | ||
mve_decoder.h | ||
psx_decoder.cpp | ||
psx_decoder.h | ||
qt_data.h | ||
qt_decoder.cpp | ||
qt_decoder.h | ||
smk_decoder.cpp | ||
smk_decoder.h | ||
theora_decoder.cpp | ||
theora_decoder.h | ||
video_decoder.cpp | ||
video_decoder.h |