summaryrefslogtreecommitdiff
path: root/win32/plugins
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-08-13 05:31:25 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-08-13 05:31:25 +0000
commit3a617a62bfa1cb5e74db59cd7500d8c38a9783f5 (patch)
tree6c095a2b485b4f09b3462fa26ccafcda771c6a7e /win32/plugins
parent70965df387c1d06ff2b8228e5ae80d72f79f8b06 (diff)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56055 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'win32/plugins')
-rw-r--r--win32/plugins/dfxvideo/DFXVideo.dsp18
-rw-r--r--win32/plugins/dfxvideo/winsrc/winmain.c15
2 files changed, 18 insertions, 15 deletions
diff --git a/win32/plugins/dfxvideo/DFXVideo.dsp b/win32/plugins/dfxvideo/DFXVideo.dsp
index 64173a4d..508944b8 100644
--- a/win32/plugins/dfxvideo/DFXVideo.dsp
+++ b/win32/plugins/dfxvideo/DFXVideo.dsp
@@ -94,10 +94,9 @@ LINK32=link.exe
# Begin Group "winsrc"
# PROP Default_Filter ""
-# Begin Source File
+# Begin Group "directx"
-SOURCE=.\winsrc\cfg.c
-# End Source File
+# PROP Default_Filter ""
# Begin Source File
SOURCE=.\winsrc\d3d.h
@@ -116,19 +115,24 @@ SOURCE=.\winsrc\ddraw.h
# End Source File
# Begin Source File
-SOURCE=.\winsrc\DFXVideo.def
+SOURCE=.\winsrc\dxguid.c
# End Source File
+# End Group
# Begin Source File
-SOURCE=.\winsrc\DFXVideo.rc
+SOURCE=.\winsrc\cfg.c
# End Source File
# Begin Source File
-SOURCE=.\winsrc\draw.c
+SOURCE=.\winsrc\DFXVideo.def
# End Source File
# Begin Source File
-SOURCE=.\winsrc\dxguid.c
+SOURCE=.\winsrc\DFXVideo.rc
+# End Source File
+# Begin Source File
+
+SOURCE=.\winsrc\draw.c
# End Source File
# Begin Source File
diff --git a/win32/plugins/dfxvideo/winsrc/winmain.c b/win32/plugins/dfxvideo/winsrc/winmain.c
index 16d45f29..baf19648 100644
--- a/win32/plugins/dfxvideo/winsrc/winmain.c
+++ b/win32/plugins/dfxvideo/winsrc/winmain.c
@@ -26,15 +26,14 @@ BOOL APIENTRY DllMain(HANDLE hModule, // DLL INIT
LPVOID lpReserved)
{
switch (dwReason) {
- case DLL_PROCESS_ATTACH:
- hInst = (HINSTANCE)hModule;
- hDDrawDLL = LoadLibrary(TEXT("DDRAW.DLL"));
- break;
+ case DLL_PROCESS_ATTACH:
+ hInst = (HINSTANCE)hModule;
+ hDDrawDLL = LoadLibrary(TEXT("DDRAW.DLL"));
+ break;
- case DLL_PROCESS_DETACH:
- hInst = NULL;
- if (hDDrawDLL) FreeLibrary(hDDrawDLL);
- break;
+ case DLL_PROCESS_DETACH:
+ if (hDDrawDLL) FreeLibrary(hDDrawDLL);
+ break;
}
return TRUE; // very quick :)