diff options
| author | Rodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com> | 2010-06-13 19:41:07 +0000 |
|---|---|---|
| committer | Rodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com> | 2010-06-13 19:41:07 +0000 |
| commit | 20e39190332a3b51d6680a9e8dc90eb54cefce72 (patch) | |
| tree | e2e565ee18f57bec35f715a61933eb445317a06a /Source/Plugins/Plugin_VideoDX9/Src/Render.cpp | |
| parent | a524cecfabbd4e321485e0cbac9325efde2123ef (diff) | |
apply James333 patch to make dx9 plugin use wxwidgets.
some other minor warning fixes.
thanks to James333 nice patch :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5679 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX9/Src/Render.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX9/Src/Render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp index 3e81d5bd97..f5379a43a5 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp @@ -1118,7 +1118,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight) else { char msg [255]; - sprintf(msg, "Dumping Frames to \"%sframedump0.avi\" (%dx%d RGB24)", File::GetUserPath(D_DUMPFRAMES_IDX), s_recordWidth, s_recordHeight); + sprintf_s(msg,255, "Dumping Frames to \"%sframedump0.avi\" (%dx%d RGB24)", File::GetUserPath(D_DUMPFRAMES_IDX), s_recordWidth, s_recordHeight); OSD::AddMessage(msg, 2000); } } @@ -1397,7 +1397,7 @@ void Renderer::SetInterlacingMode() void Renderer::SetScreenshot(const char *filename) { s_criticalScreenshot.Enter(); - strcpy(s_sScreenshotName,filename); + strcpy_s(s_sScreenshotName,filename); s_bScreenshot = true; s_criticalScreenshot.Leave(); } |
