Commit graph

1458 commits

Author SHA1 Message Date
Jonathan Gordon
5b61ebe84e Remove buffer overflow in solatiare menu
Make the old api -> new api wrapper in the menu safer.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12831 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 11:01:23 +00:00
Jens Arnold
bd5c0ad7bb Cast some more to keep both 32 bit and 64 bit simulator platforms happy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12819 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 10:50:58 +00:00
Jens Arnold
f68362ad6f Fix simulator builds, and some debugf() format strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:54:28 +00:00
Jens Arnold
79c8a8cbbe Let GCC check arguments of some more printf-style functions, also for plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:02:53 +00:00
Marianne Arnold
661cb91e00 Give the greyscale minesweeper tiles a bit more shadow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12812 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 00:10:19 +00:00
Jens Arnold
2c7b127dd7 Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:47:03 +00:00
Jens Arnold
85a226d4e7 Rename some macros to account for the recently added M5 port. No code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Jens Arnold
f3455d15e0 Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12808 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 22:09:52 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Dave Chapman
a693481c2f Render at 30fps on the Gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12799 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 09:05:07 +00:00
Zakk Roberts
0c6aea816d FS#6790 - Add playback control menu to Solitaire, thanks to Douglas Valentine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12798 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 00:52:42 +00:00
Dave Chapman
6c6b2507b1 Correct a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12767 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 21:54:18 +00:00
Linus Nielsen Feltzing
e76981c912 The code police strikes back
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12765 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 17:27:21 +00:00
Steve Bavin
7fe66302ad Always restore backlight timer when user exits Version screen - fix FS#6811
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12764 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 17:19:27 +00:00
Steve Bavin
18b84eeb51 Reset sample rate correctly after MIDI playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12763 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 16:43:21 +00:00
Tom Ross
caf2c61079 FS #6782 - Adjust right player movement to use Vol+ and Vol- instead of pausing the game every time the player moved down. Thanks to Chris Ham for the keychanges.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12746 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 02:55:40 +00:00
Jonathan Gordon
6e44209a4c Make the Play / Pause option restart playback if its stopped also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12738 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 13:41:52 +00:00
Jonathan Gordon
f83d6eb145 revert FS#6747 — y-margin reset in gui_list_draw, it introduced a nasty
scroll bug which isnt so simple to fix.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12719 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 08:05:05 +00:00
Jonathan Gordon
a990ff2920 Accept FS#6747 by Timo Horstschäfer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12704 a1c6a512-1295-4272-9138-f99709370657
2007-03-10 12:43:21 +00:00
Michael Sevakis
27b4fb4729 Oy I wish I'd stop that. That plugins/SOURCES line shouldn't be there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12659 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 06:30:13 +00:00
Michael Sevakis
633f388002 Coldfire targets: Shuffle IRQ levels around to have all interaction between low level audio function calls and DMA be atomic. Make recording and playback independently startable and stoppable so one can be running and not interfere with the other. All tests I can do at the moment check out ok (play, record, play+record, FM radio on iRivers, S/PDIF on H120 (w/running optical on/off), and on-the-fly samplerate changes). Recording tested for well over an hour run and no problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12658 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 06:23:02 +00:00
Michael Sevakis
775b95c7d3 Uups. Forgot to update a plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12619 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 08:19:08 +00:00
Jens Arnold
8876018d25 Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 00:04:00 +00:00
Daniel Ankers
82f9056988 Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 20:06:41 +00:00
Robert Kukla
50b5ee4781 FS#6419 - driver for H1x0 series RTC Mod with runtime detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 13:20:36 +00:00
Zakk Roberts
4d2c647d5a Make it easier to quit Snake2 (much easier on iPods at least) by allowing user to quit from Pause screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12444 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 23:00:18 +00:00
Zakk Roberts
a45e835d75 Allow button repeat events in the Brickmania main menu. Makes it easier to scroll through the options on iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12443 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 22:48:44 +00:00
Linus Nielsen Feltzing
81029ed17e Correct drawing of hour hand when hour == 12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12430 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 11:56:15 +00:00
Zakk Roberts
8336eb2390 Fix plugins/bitmaps/mono/SOURCES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12409 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 01:34:27 +00:00
Zakk Roberts
38d5597a17 Add changes to in-file changelog. Changes of huge previous commit: Drawing now scales to all displays using bitmaps for most modes, color where applicable.. Switched to rockbox menu drawing code for menus. Combined LCD/Digital modes into one LCD mode. A few new keymaps and changes. Source code improvements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12408 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 01:33:05 +00:00
Zakk Roberts
f8408e9273 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12407 a1c6a512-1295-4272-9138-f99709370657 2007-02-20 01:27:19 +00:00
Dave Chapman
329b4bda82 Scale to 50% size on the Archos devices (LCD_WIDTH <= 112) and slow it down, with some tweaks from Marianne Arnold. Plus replace a few floating point operations with integers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12406 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 00:40:21 +00:00
Jens Arnold
7c55b67cf4 Fixed an off-by-one bug that caused the nasty crash on archos, and wrong limit check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12395 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 14:21:04 +00:00
Jens Arnold
3a37f46fc9 Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 10:07:27 +00:00
Daniel Stenberg
dfcee22f0a #if => #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12388 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:58:22 +00:00
Daniel Stenberg
895d577575 #if => #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12386 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:54:21 +00:00
Jonathan Gordon
9a6f419775 CONFIG_CHARGING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:32:06 +00:00
Barry Wardell
738baf356f Again here, CODEC should be CONFIG_CODEC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12374 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 00:11:52 +00:00
Barry Wardell
ca40cc482f Should be CONFIG_CODEC, not CODEC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12373 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 00:00:58 +00:00
Barry Wardell
580c9f3868 Fix warning. Should be CONFIG_CODEC, not CODEC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12372 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:51:07 +00:00
Tom Ross
2ad25c8818 Kill a few warnings in plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12366 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:06:22 +00:00
Barry Wardell
c9e317475a Accept FS#6662. Thanks to Nick Vanderweit. No need to define PI as
it is already defined as 
M_PI in 
math.h.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12355 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 19:54:05 +00:00
Paul Louden
d17de72c60 Make our Doom plugin see the Doom wad we provide and list "Freedoom" as
its own entry in the supported game list.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12353 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 17:51:44 +00:00
Zakk Roberts
0abbb298b2 Obligatory fix-a-few-warnings commit...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12346 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:32:19 +00:00
Zakk Roberts
5bebae83a6 Chopper update. Fix endgame text not showing up and menu being invisible after first game, both on grayscale targets. Also fix endgame text being too long on Archos by using a splash to draw it. Also: X5's up button now works as 'fly' and Ondio mappings changed (Up/Menu = fly, Off = quit).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12345 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:23:15 +00:00
Paul Louden
fce01de0f0 Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12331 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 08:13:12 +00:00
Zakk Roberts
a5014b9c59 Argh, previous 'fix' was not in fact the problem. *Now* it's fixed.. I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12329 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 07:21:47 +00:00
Zakk Roberts
d2e47ee0fd Implement the actual-button-name-for-game-over-message addition from my previous commit in a different way to fix builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12328 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 07:12:06 +00:00
Zakk Roberts
ce31c6fef9 A few chopper changes. Changed colorscheme from blue on backdrop to green on black (on color LCDs), more like original. Removed useless 'help' menu entry for now. Show actual button name in game over screen (i.e. 'select' or 'play') instead of just 'action'. A bit of code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12327 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 06:57:49 +00:00
Dave Chapman
e3e58b9a07 FS #5535 - Chopper game ported from IPL by Ben Basha. This commit is chopper_with_menu_api.diff with some changes by me: fixed the bug with the unmatching calls to menu_init() and menu_quit() (causing freezes after game #6); added keymappings for the sansa, gigabeat, Ondio and Archos Recorders; and changes to work with mono LCDs. This should now run on all targets with bitmapped LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12326 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 01:23:48 +00:00