made input cnofig window more usable

This commit is contained in:
punkrockguy318 2008-09-24 08:55:43 +00:00
parent 5cfc44801a
commit 44e3212310
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
---version 2.0.3 yet to be released---
24-sep-2008 - punkrockguy318 - made the input config window more usable
24-sep-2008 - punkrockguy318 - --inputcfg can now be used without a filename
24-sep-2008 - punkrockguy318 - [ 2085437 ] should fix issues with missing
author field crashing fceux

View File

@ -538,7 +538,7 @@ ButtonConfigBegin()
}
// set the screen and notify the user of button configuration
screen = SDL_SetVideoMode(300, 1, 8, 0);
screen = SDL_SetVideoMode(420, 200, 8, 0);
SDL_WM_SetCaption("Button Config",0);
// XXX soules - why did we shut this down?
@ -1028,8 +1028,9 @@ DWaitButton(const uint8 *text,
SDL_Event event;
static int32 LastAx[64][64];
int x,y;
SDL_WM_SetCaption((const char *)text,0);
std::string title = "Press a key for ";
title += (const char*)text;
SDL_WM_SetCaption(title.c_str(),0);
puts((const char *)text);
for(x = 0; x < 64; x++) {
for(y = 0; y < 64; y++) {