<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>109359</bug_id>
          
          <creation_ts>2005-10-15 05:23 0000</creation_ts>
          <short_desc>FCE Ultra fails to save cheats to file.</short_desc>
          <delta_ts>2006-09-26 14:00:30 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>2005.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kf4yfd@juno.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>kf4yfd@juno.com</cc>
    
    <cc>nyhm@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>kf4yfd@juno.com</who>
            <bug_when>2005-10-15 05:23:18 0000</bug_when>
            <thetext>-Package: games-emulation/fceultra-0.98.12

-Simple Fix: create the &quot;cheats&quot; directory in ~/.fceultra
            # mkdir ~/.fceultra/cheats

-Details: FCE Ultra exits with the error &quot;Error saving cheats.&quot; and
          fails to save the cheats that were entered during gameplay.
          This error is always reproducable. The error stems from
          the fact that fceu looks to save data into the ~/.fceultra/cheats
          directory without ever creating it, and does not check for its 
          existence before trying to save. This can be verified by viewing the 
          &quot;cheat.c&quot; file for fceu, it is a very simple code fix if someone 
          would like to patch it. 

-To Reproduce: Start fceu and any nintendo/famicom rom then press &apos;F2&apos;,      
               this will take you back to the console and a menu. Select
               option &apos;2&apos; &quot;New Cheats...&quot;. Then select option 1, 7, or 8
               to add a new cheat. Follow the promts to add the cheat then 
               select &apos;X&apos; &quot; Return twice to return to the game. Upon exiting 
               the game the error &quot;Error saving cheats&quot; occurs and the cheats 
               fail to save.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2006-05-03 07:37:55 0000</bug_when>
            <thetext>Created an attachment (id=86070)
fceultra-0.98.12-cheatdir.patch

How&apos;s this?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2006-06-26 05:37:55 0000</bug_when>
            <thetext>patch works for me, anyway.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2006-09-26 14:00:30 0000</bug_when>
            <thetext>Fixed, thanks.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>86070</attachid>
            <date>2006-05-03 07:37 0000</date>
            <desc>fceultra-0.98.12-cheatdir.patch</desc>
            <filename>fceultra-0.98.12-cheatdir.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9kcml2ZXJzL3BjL21haW4uYwkyMDA0LTA4LTE3IDIzOjA4OjQ0LjAwMDAwMDAwMCAr
MDEwMAorKysgc3JjL2RyaXZlcnMvcGMvbWFpbi5jCTIwMDYtMDUtMDMgMTU6MjE6MjEuMDAwMDAw
MDAwICswMTAwCkBAIC0xNjMsNyArMTYzLDcgQEAKICB9CiAgI2Vsc2UKICBta2RpcihEckJhc2VE
aXJlY3RvcnksU19JUldYVSk7Ci0gZm9yKHg9MDt4PDU7eCsrKQorIGZvcih4PTA7eDw2O3grKykK
ICB7CiAgIHNwcmludGYodGRpciwiJXMiUFNTIiVzIixEckJhc2VEaXJlY3Rvcnksc3Vic1t4XSk7
CiAgIG1rZGlyKHRkaXIsU19JUldYVSk7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>