Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 156175 Details for
Bug 188561
New ebuild: games-emulation/ps2emu-ZeroGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ps2emu-zerogs-devbuild-paths.patch
ps2emu-zerogs-devbuild-paths.patch (text/plain), 1.45 KB, created by
Russell Harmon
on 2008-06-10 04:21:07 UTC
(
hide
)
Description:
ps2emu-zerogs-devbuild-paths.patch
Filename:
MIME Type:
Creator:
Russell Harmon
Created:
2008-06-10 04:21:07 UTC
Size:
1.45 KB
patch
obsolete
>--- opengl/zerogs.cpp.orig 2008-06-08 22:12:33.000000000 -0400 >+++ opengl/zerogs.cpp 2008-06-08 22:15:37.000000000 -0400 >@@ -112,8 +112,8 @@ > char* EFFECT_DIR = "C:\\programming\\ps2dev\\zerogs\\opengl\\"; > char* EFFECT_NAME = "C:\\programming\\ps2dev\\zerogs\\opengl\\ps2hw.fx"; > #else >-char EFFECT_DIR[255] = "~/pcsx2/plugins/gs/zerogs/opengl/"; >-char EFFECT_NAME[255] = "~/pcsx2/plugins/gs/zerogs/opengl/ps2hw.fx"; >+char EFFECT_DIR[255] = "~/.pcsx2/"; >+char EFFECT_NAME[255] = "ps2hw.fx"; > #endif > > #endif >@@ -1335,25 +1335,17 @@ > char curwd[255]; > getcwd(curwd, ARRAY_SIZE(curwd)); > >- strcpy(tempstr, "../plugins/gs/zerogs/opengl/"); >- sprintf(EFFECT_NAME, "%sps2hw.fx", tempstr); >+ strcpy(tempstr, curwd); >+ sprintf(EFFECT_NAME, "%s/ps2hw.fx", tempstr); > FILE* f = fopen(EFFECT_NAME, "r"); > if( f == NULL ) { >- >- strcpy(tempstr, "../../plugins/gs/zerogs/opengl/"); >- sprintf(EFFECT_NAME, "%sps2hw.fx", tempstr); >- f = fopen(EFFECT_NAME, "r"); >- >- if( f == NULL ) { >- ERROR_LOG("Failed to find %s, try compiling a non-devbuild\n", EFFECT_NAME); >- return false; >- } >+ return false; > } > > fclose(f); > >- sprintf(EFFECT_DIR, "%s/%s", curwd, tempstr); >- sprintf(EFFECT_NAME, "%sps2hw.fx", EFFECT_DIR); >+ sprintf(EFFECT_DIR, "%s", tempstr); >+ sprintf(EFFECT_NAME, "%s/ps2hw.fx", EFFECT_DIR); > #endif > > #endif // RELEASE_TO_PUBLIC
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 188561
:
127830
|
127841
|
129544
|
129622
|
144849
|
155381
|
155671
|
156167
|
156169
|
156171
| 156175 |
206198