from within the Launcher options. The previous 'Reload' button now
serves a dual role. While in browse mode, the button is renamed as
'Go Up' and serves as a previous directory command. While not in browse
mode, it's renamed as 'Reload' and reloads the current file-to-propname
mapping.
Also added 'rombrowse' commandline argument (true/false) to select either
browse mode (true) or not (false).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1031 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
descends into that directory. Next I have to add a 'Go Up' button to
exit go in the other direction.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1025 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
the current ROM launcher functionality. When in this mode, the ROM
launcher listing will act as a filesystem browser; activating folders
(which are now indicated by surrounding '[]' characters) will enter the
folder, and activating ROMs will start playing the ROM. The major
difference in this new mode (vs. the current one) is that ROMs will
not be renamed according to their MD5SUM, but will be listed with
their real names (as they exist in the filesystem).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1024 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Settings API, this results in a stellarc file only being generated when
absolutely necessary, and saves on writes to flash-ram.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1023 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
I haven't compiled under Win32 yet, so it may still be broken.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1022 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
care of the bugs reported on AtariAge where joystick settings weren't
being saved to the plist file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1020 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
settings will only be saved when they haven't changed from the defaults.
This is probably of limited use on ordinary systems, but is helpful
for smaller systems using flash-RAM as storage (WinCE/GP2X), since
multiple saves wears out the hardware quicker.
This breaks the OSX port; I'll fix it in a day or two. I'm hoping this
will resolve the issues of certain settings not being saved in OSX
as well.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1017 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
improved speed. The main stella.pro properties have been integrated
directly into Stella, so a properties file needn't be distributed with
the application any more. Support still exists for a system-wide
stella.pro and a per-user user.pro; however, Stella will work fine without
them.
Greatly reduced memory usage in properties storage by moving to an
enum-based key system (so string descriptors for keys are no longer
being stored). Eliminated parsing and construction of the internal
properties set by pre-parsing the data with a perl script (included
in the new 'src/tools' directory). This pre-parser constructs
a balanced binary search AVL tree in array format, so in the worst
case, the BST only has to look through 12 entries.
Fixed some string constructor issues, hopefully fixing compile problems
with the WinCE port.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1016 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
actually a deficiency in the GUI core, whereby joystick button events
were being translated to axis events, but the actual button events were
still being processed as well. Now, if a button has been translated by
pollEvent(), it is removed from further processing in the main event
loop.
Also cleaned up the DialogContainer event logic a little. Basically,
the code at that level should never do button to axis translation,
since that's port-specific and will be handled in the OSystemXXX class.
Fixed some errors in Makefile, where spaces were used instead of tabs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1014 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
everything should look exactly the same. This infrastructure will
eventually allow a set of fonts to be included in Stella, and for the user
to select a bigger or smaller font and have the GUI automatically resize
to it.
At some point, the ability to zoom the ROM launcher and debugger
will be removed, and will be replaced by selection of different font
sizes. As well, zooming of the MediaSource will be converted to a
graphics filter (scale2x/3x/4x), and others such as hq2x or mame2x
will also be available.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1009 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
port.
Resurrected the low-compatibility 6502 CPU code, since it's supposed
to be somewhat faster. This is activated internally by GP2X by
settings "cpu" to "low". This can also be set from the commandline,
but I'm not going to document the fact. All systems that can handle
hi-compat mode should be using it.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@999 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
corrects the problems with spurious axis events in the GUI. Now,
we only generate an emulated axis event when necessary, just as
if it was implemented in the SDL core.
If this code ends up being too slow, then optimization will have to
be made elsewhere. Everything that this code does is necessary,
and it can't be shortened any further.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@998 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
actually works. This time we try axis events, similar to the code
from gp2xmess project.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@997 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
stella.pro in the current directory instead of the system dir.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@994 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
gamepad, implementing 'case 2' configuration. This hasn't been tested
yet, since I don't have the hardware.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@992 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This is needed particularly for the GP2X joystick direction handling,
where directions are (incorrectly) implemented as button events
instead of more intuitive HAT events. When this is complete, it will
also remove the EventHandler 'kJDirXXX' enums, which I always thought
was dirty code anyway.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@991 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba