Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 270309 Details for
Bug 345813
[UPDATED EBUILD] games-action/d1x-rebirth-0.56-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix demo mode
d1x-rebirth-demodata.patch (text/plain), 1.12 KB, created by
James Broadhead
on 2011-04-17 18:50:16 UTC
(
hide
)
Description:
patch to fix demo mode
Filename:
MIME Type:
Creator:
James Broadhead
Created:
2011-04-17 18:50:16 UTC
Size:
1.12 KB
patch
obsolete
>diff -urN d1x-rebirth_v0.56-src-unpatched/main/bmread.c d1x-rebirth_v0.56-src-patch/main/bmread.c >--- d1x-rebirth_v0.56-src-unpatched/main/bmread.c 2010-09-25 17:06:31.000000000 +0200 >+++ d1x-rebirth_v0.56-src-patch/main/bmread.c 2011-04-17 20:13:01.871000061 +0200 >@@ -285,7 +285,9 @@ > char rawname[100]; > > if (skip) { >- return piggy_register_sound( &bogus_sound, "bogus", 0 ); >+ // We tell piggy_register_sound it's in the pig file, when in actual fact it's in no file >+ // This just tells piggy_close not to attempt to free it >+ return piggy_register_sound( &bogus_sound, "bogus", 1 ); > } > > removeext( filename, fname ); >diff -urN d1x-rebirth_v0.56-src-unpatched/main/piggy.c d1x-rebirth_v0.56-src-patch/main/piggy.c >--- d1x-rebirth_v0.56-src-unpatched/main/piggy.c 2010-09-25 17:06:31.000000000 +0200 >+++ d1x-rebirth_v0.56-src-patch/main/piggy.c 2011-04-17 20:13:01.872000061 +0200 >@@ -211,6 +211,8 @@ > if ( !in_file ) { > SoundOffset[Num_sound_files] = 0; > } >+ else if (SoundOffset[Num_sound_files] == 0) >+ SoundOffset[Num_sound_files] = -1; // make sure this sound's data is not individually freed > > i = Num_sound_files; >
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 345813
:
254555
|
254557
|
254559
|
254561
|
254563
|
254657
|
254659
|
270307
| 270309