diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-07-27 07:41:25 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-07-27 07:41:25 +0200 |
| commit | 153f078ec20cc442dd4dbe802dbd5fcb1748fcca (patch) | |
| tree | db82fe5fe9f6165b2239f3523d5f02ec8d9fa02b /Source/Gfx.c | |
| parent | cb1c0345c766fada621b521ca39aac02ae25056b (diff) | |
| download | airport-153f078ec20cc442dd4dbe802dbd5fcb1748fcca.tar.gz | |
* Added comments on System.
* Files needed for Game are now only loaded once, except from LEVEL1.PLT.
* Added DevMenu to get debug info.
* ISR_LoadMenuVBlank() does not stop when accessing SIO.
* On fopen() and SERIAL_INTERFACE defined, "#" is prepended and "@" is appended to filename string.
Diffstat (limited to 'Source/Gfx.c')
| -rw-r--r-- | Source/Gfx.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/Gfx.c b/Source/Gfx.c index d9dd8ee..281f87b 100644 --- a/Source/Gfx.c +++ b/Source/Gfx.c @@ -95,9 +95,6 @@ static unsigned int prim_list[PRIMITIVE_LIST_SIZE]; static volatile bool gfx_busy; // Dictates (R,G,B) brigthness to all sprites silently static uint8_t global_lum; -// When true, it draws a rectangle on top of all primitives with -// information for development purposes. -static bool GfxDevMenuEnableFlag; static bool five_hundred_ms_show; static bool one_second_show; @@ -151,11 +148,6 @@ void GfxSwapBuffers(void) } } -void GfxDevMenuEnable(void) -{ - GfxDevMenuEnableFlag = true; -} - void GfxInitDrawEnv(void) { @@ -183,6 +175,8 @@ void GfxSetPrimitiveList(void) void GfxDrawScene_Fast(void) { + SystemDevMenu(); + if(System1SecondTick() == true) { one_second_show = one_second_show? false:true; |
