mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 19:44:19 +01:00
Mostly port the GSnull plugin to Windows. Currently asserts on startup in Windows about GSirq not being null. (Though it works if you hit ignore.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1158 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
a80dfabca8
commit
85c8e4c4af
7 files changed
+79
-37
No files matched your search
@@ -1,6 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../FW.h"
|
||||
#include "../GS.h"
|
||||
|
||||
extern HINSTANCE hInst;
|
||||
void SaveConfig()
|
||||
@@ -14,7 +14,7 @@ void SaveConfig()
|
||||
szTemp = strrchr(szIniFile, '\\');
|
||||
|
||||
if(!szTemp) return;
|
||||
strcpy(szTemp, "\\inis\\fwnull.ini");
|
||||
strcpy(szTemp, "\\inis\\gsnull.ini");
|
||||
sprintf(szValue,"%u",Conf1->Log);
|
||||
WritePrivateProfileString("Interface", "Logging",szValue,szIniFile);
|
||||
|
||||
@@ -32,8 +32,8 @@ void LoadConfig() {
|
||||
szTemp = strrchr(szIniFile, '\\');
|
||||
|
||||
if(!szTemp) return ;
|
||||
strcpy(szTemp, "\\inis\\fwnull.ini");
|
||||
fp=fopen("inis\\fwnull.ini","rt");//check if firewirenull.ini really exists
|
||||
strcpy(szTemp, "\\inis\\gsnull.ini");
|
||||
fp=fopen("inis\\gsnull.ini","rt");//check if gsnull.ini really exists
|
||||
if (!fp)
|
||||
{
|
||||
CreateDirectory("inis",NULL);
|
||||
|
||||
Reference in new issue
Block a user