Commodore64: Marginal speedup from converting the rest of the uints to int. No noticeable accuracy difference.
This commit is contained in:
parent
84a0179583
commit
60db7b9fe6
|
@ -34,18 +34,18 @@ namespace BizHawk.Emulation.Computers.Commodore64
|
|||
public void PollInput()
|
||||
{
|
||||
// scan joysticks
|
||||
for (uint i = 0; i < 2; i++)
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
for (uint j = 0; j < 5; j++)
|
||||
for (int j = 0; j < 5; j++)
|
||||
{
|
||||
joystickPressed[i, j] = controller[joystickMatrix[i, j]];
|
||||
}
|
||||
}
|
||||
|
||||
// scan keyboard
|
||||
for (uint i = 0; i < 8; i++)
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
for (uint j = 0; j < 8; j++)
|
||||
for (int j = 0; j < 8; j++)
|
||||
{
|
||||
keyboardPressed[i, j] = controller[keyboardMatrix[i, j]];
|
||||
}
|
||||
|
|
|
@ -159,7 +159,6 @@ namespace BizHawk.Emulation.Computers.Commodore64.Experimental.Chips.Internals
|
|||
p13 = hiram && charen && a15 && a14 && !a13 && a12 && !aec && ba && read && !exrom && !game;
|
||||
p14 = hiram && charen && a15 && a14 && !a13 && a12 && !aec && !read && !exrom && !game;
|
||||
p15 = loram && charen && a15 && a14 && !a13 && a12 && !aec && ba && read && !exrom && !game;
|
||||
p15 = loram && charen && a15 && a14 && !a13 && a12 && !aec && ba && read && !exrom && !game;
|
||||
p16 = loram && charen && a15 && a14 && !a13 && a12 && !aec && !read && !exrom && !game;
|
||||
p17 = a15 && a14 && !a13 && a12 && !aec && ba && read && exrom && !game;
|
||||
p18 = a15 && a14 && !a13 && a12 && !aec && !read && exrom && !game;
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace BizHawk.Emulation.Computers.Commodore64.MOS
|
|||
|
||||
public class Chip23XX
|
||||
{
|
||||
private uint addrMask;
|
||||
private int addrMask;
|
||||
private byte[] rom;
|
||||
|
||||
public Chip23XX(Chip23XXmodel model, byte[] data)
|
||||
|
|
Loading…
Reference in New Issue