File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ Game::Game(void):
194
194
slowdown = 30 ;
195
195
gameframerate=34 ;
196
196
197
- fullscreen = true ; // Assumed true at first unless overwritten at some point!
197
+ fullscreen = false ; // true; //Assumed true at first unless overwritten at some point!
198
198
stretchMode = 0 ;
199
199
useLinearFilter = false ;
200
200
advanced_mode = false ;
Original file line number Diff line number Diff line change 33
33
#include < hal/video.h>
34
34
#include < windows.h>
35
35
36
+ extern " C" {
37
+ extern int nextCol;
38
+ extern int nextRow;
39
+ }
40
+
36
41
extern " C" {
37
42
extern uint8_t * _fb;
38
43
}
@@ -558,6 +563,25 @@ debugPrint("Entering mainloop\n");
558
563
game.gameclock ();
559
564
gameScreen.FlipScreen ();
560
565
566
+ nextCol = 25 ;
567
+ nextRow = 300 ;
568
+
569
+ debugPrint (" Memory statistics:\n " );
570
+ MM_STATISTICS ms;
571
+ ms.Length = sizeof (MM_STATISTICS);
572
+ MmQueryStatistics (&ms);
573
+ #define PRINT (stat ) debugPrint(" - " #stat " : %d\n " , ms.stat);
574
+ PRINT (TotalPhysicalPages)
575
+ PRINT (AvailablePages)
576
+ PRINT (VirtualMemoryBytesCommitted)
577
+ PRINT (VirtualMemoryBytesReserved)
578
+ PRINT (CachePagesCommitted)
579
+ PRINT (PoolPagesCommitted)
580
+ PRINT (StackPagesCommitted)
581
+ PRINT (ImagePagesCommitted)
582
+ #undef PRINT
583
+ debugPrint (" %d\n " , (int )GetTickCount ());
584
+
561
585
// SDL_FillRect( SDL_GetVideoSurface(), NULL, 0 );
562
586
}
563
587
You can’t perform that action at this time.
0 commit comments