Previous 199869 Revisions Next

r32794 Saturday 18th October, 2014 at 08:56:59 UTC by smf
fixed "make tools" with VS14 CTP4 (nw)
[src/tools]chdman.c

trunk/src/tools/chdman.c
r32793r32794
25732573         // read the hunk into the buffers
25742574         chd_error err = input_chd.read_hunk(framenum, NULL);
25752575         if (err != CHDERR_NONE)
2576            report_error(1, "Error reading hunk %"I64FMT"d from CHD file (%s): %s\n", framenum, params.find(OPTION_INPUT)->cstr(), chd_file::error_string(err));
2576            report_error(1, "Error reading hunk %" I64FMT "d from CHD file (%s): %s\n", framenum, params.find(OPTION_INPUT)->cstr(), chd_file::error_string(err));
25772577
25782578         // write audio
25792579         for (int chnum = 0; chnum < channels; chnum++)
25802580         {
25812581            avi_error avierr = avi_append_sound_samples(output_file, chnum, avconfig.audio[chnum], actsamples, 0);
25822582            if (avierr != AVIERR_NONE)
2583               report_error(1, "Error writing samples for hunk %"I64FMT"d to file (%s): %s\n", framenum, output_file_str->cstr(), avi_error_string(avierr));
2583               report_error(1, "Error writing samples for hunk %" I64FMT "d to file (%s): %s\n", framenum, output_file_str->cstr(), avi_error_string(avierr));
25842584         }
25852585
25862586         // write video
r32793r32794
25882588         {
25892589            avi_error avierr = avi_append_video_frame(output_file, fullbitmap);
25902590            if (avierr != AVIERR_NONE)
2591               report_error(1, "Error writing video for hunk %"I64FMT"d to file (%s): %s\n", framenum, output_file_str->cstr(), avi_error_string(avierr));
2591               report_error(1, "Error writing video for hunk %" I64FMT "d to file (%s): %s\n", framenum, output_file_str->cstr(), avi_error_string(avierr));
25922592         }
25932593      }
25942594

Previous 199869 Revisions Next


© 1997-2024 The MAME Team