mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-15 08:02:34 -05:00
Properly ifdef H300 video code, fix commented line handling rockbox volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9439 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
93b6a1d12c
commit
546d96c46f
2 changed files with 9 additions and 5 deletions
|
|
@ -16,7 +16,10 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* $Log$
|
* $Log$
|
||||||
* Revision 1.3 2006/04/02 01:52:44 kkurbjun
|
* Revision 1.4 2006/04/02 20:45:24 kkurbjun
|
||||||
|
* Properly ifdef H300 video code, fix commented line handling rockbox volume
|
||||||
|
*
|
||||||
|
* Revision 1.3 2006-04-02 01:52:44 kkurbjun
|
||||||
* Update adds prboom's high resolution support, also makes the scaling for platforms w/ resolution less then 320x200 much nicer. IDoom's lookup table code has been removed. Also fixed a pallete bug. Some graphic errors are present in menu and status bar. Also updates some headers and output formatting.
|
* Update adds prboom's high resolution support, also makes the scaling for platforms w/ resolution less then 320x200 much nicer. IDoom's lookup table code has been removed. Also fixed a pallete bug. Some graphic errors are present in menu and status bar. Also updates some headers and output formatting.
|
||||||
*
|
*
|
||||||
* Revision 1.2 2006-03-28 17:20:49 christian
|
* Revision 1.2 2006-03-28 17:20:49 christian
|
||||||
|
|
@ -322,9 +325,10 @@ void I_UpdateNoBlit (void)
|
||||||
|
|
||||||
void I_FinishUpdate (void)
|
void I_FinishUpdate (void)
|
||||||
{
|
{
|
||||||
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
|
#if defined(IRIVER_H300_SERIES) && !defined(SIMULATOR)
|
||||||
/*
|
/*
|
||||||
Lookup tables are no longer needed
|
Lookup tables are no longer needed (H300 specific, decreases timedemo
|
||||||
|
by about 500 tics)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Start the write
|
// Start the write
|
||||||
|
|
@ -391,7 +395,7 @@ void I_InitGraphics(void)
|
||||||
|
|
||||||
printf("Starting Graphics engine\n");
|
printf("Starting Graphics engine\n");
|
||||||
|
|
||||||
/* Note: The other screens are initialized later */
|
/* Note: The other screens are allocated as needed */
|
||||||
|
|
||||||
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
|
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
|
||||||
coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE);
|
coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE);
|
||||||
|
|
|
||||||
|
|
@ -666,7 +666,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||||
|
|
||||||
rb->lcd_clear_display();
|
rb->lcd_clear_display();
|
||||||
|
|
||||||
// systemvol= rb->global_settings->volume-rb->global_settings->volume%((rb->sound_max(SOUND_VOLUME)-rb->sound_min(SOUND_VOLUME))/15);
|
systemvol= rb->global_settings->volume-rb->global_settings->volume%((rb->sound_max(SOUND_VOLUME)-rb->sound_min(SOUND_VOLUME))/15);
|
||||||
general_translucency = default_translucency; // phares
|
general_translucency = default_translucency; // phares
|
||||||
D_DoomMain ();
|
D_DoomMain ();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue