more input wip

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@624 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-12-30 22:25:38 +00:00
parent 3b13ec654c
commit 3427e57362
5 changed files with 258 additions and 84 deletions

View file

@ -102,18 +102,6 @@ void emu_Init(void)
}
static void scaling_update(void)
{
PicoOpt &= ~0x4100;
switch (currentConfig.scaling) {
default: break; // off
case 1: // hw hor
case 2: PicoOpt |= 0x0100; break; // hw hor+vert
case 3: PicoOpt |= 0x4000; break; // sw hor
}
}
void emu_Deinit(void)
{
// save SRAM
@ -814,7 +802,6 @@ void emu_Loop(void)
// make sure we are in correct mode
vidResetMode();
scaling_update();
Pico.m.dirtyPal = 1;
oldmodes = ((Pico.video.reg[12]&1)<<2) ^ 0xc;
emu_findKeyBindCombos();