mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
more input wip
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@624 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
3b13ec654c
commit
3427e57362
5 changed files with 258 additions and 84 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue