diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-09-22 01:50:23 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-09-22 01:50:23 +0000 |
| commit | 60cf0fcf61b20eed515819ecfd302c208ba88e57 (patch) | |
| tree | c51f44380630819828dad730551c1a38a9e2533a /libpcsxcore/psxcommon.c | |
| parent | 000f2e2923da84e6b7f1e4d48b9e803a203a4461 (diff) | |
only load the net yaroze library when running EXE.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57503 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/psxcommon.c')
| -rw-r--r-- | libpcsxcore/psxcommon.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libpcsxcore/psxcommon.c b/libpcsxcore/psxcommon.c index 797625a7..f118c2db 100644 --- a/libpcsxcore/psxcommon.c +++ b/libpcsxcore/psxcommon.c @@ -34,28 +34,11 @@ int EmuInit() { return psxInit(); } -static void LoadLibPS() { - char buf[MAXPATHLEN]; - FILE *f; - - // Load Net Yaroze runtime library (if exists)
- sprintf(buf, "%s/libps.exe", Config.BiosDir);
- f = fopen(buf, "rb");
-
- if (f != NULL) {
- fseek(f, 0x800, SEEK_SET);
- fread(psxM + 0x10000, 0x61000, 1, f);
- fclose(f);
- } -} - void EmuReset() { FreeCheatSearchResults(); FreeCheatSearchMem(); psxReset(); - - LoadLibPS(); } void EmuShutdown() { |
