Add a port to the GCW Zero, contributed by David Knight.

Untested since I don't have the hardware.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2080 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2015-02-10 20:13:57 +00:00
parent 5e26436c48
commit 61c8dca353
10 changed files with 142 additions and 16 deletions

View File

@@ -1888,7 +1888,7 @@ void Set_all_video_modes(void)
// The first mode will have index number 0.
// It will be the default mode if an unsupported one
// is requested in gfx2.ini
#if defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
#if defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__) || defined(GCWZERO)
// Native GP2X resolution
Set_video_mode( 320,240,0, 1);
#else
@@ -1898,7 +1898,7 @@ void Set_all_video_modes(void)
Set_video_mode( 320,200,0, 1);
Set_video_mode( 320,224,0, 1);
#if !defined(__GP2X__) && !defined(__WIZ__) && !defined(__CAANOO__)
#if !defined(__GP2X__) && !defined(__WIZ__) && !defined(__CAANOO__) && !defined(GCWZERO)
// For the GP2X, this one is already declared above.
Set_video_mode( 320,240,0, 1);
#endif
@@ -1967,7 +1967,7 @@ void Set_all_video_modes(void)
for (index=0; Modes[index]; index++)
{
int index2;
#if defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__)
#if defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__) || defined(GCWZERO)
// On the GP2X the first mode is not windowed, so include it in the search.
index2=0;
#else