misc cleanups with previous commit

This commit is contained in:
CasualPokePlayer 2023-04-01 19:57:47 -07:00
parent a311b3b6f3
commit 5ca888a8af
3 changed files with 3 additions and 3 deletions

View File

@ -331,7 +331,7 @@ namespace Jellyfish.Virtu
0x90, 0x91, 0x92, 0x93, 0x94, 0x95,
// nibble translate table
0x00, 0x01, 0x98, 0x99, 0x02, 0x03, 0x9C, 0x04, 0x05, 0x06,
0x00, 0x01, 0x98, 0x99, 0x02, 0x03, 0x9C, 0x04, 0x05, 0x06,
0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0x07, 0x08, 0xA8, 0xA9, 0xAA, 0x09, 0x0A, 0x0B, 0x0C, 0x0D,
0xB0, 0xB1, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13, 0xB8, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A,
0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0x1B, 0xCC, 0x1C, 0x1D, 0x1E,

Binary file not shown.

View File

@ -15,7 +15,7 @@ namespace BizHawk.Emulation.Cores.Computers.AppleII
addr =>
{
if (addr is < 0 or > 0x10000) throw new ArgumentOutOfRangeException(paramName: nameof(addr), addr, message: "address out of range");
return (byte)_machine.Memory.PeekMainRam((int)addr);
return _machine.Memory.PeekMainRam((int)addr);
},
(addr, value) =>
{
@ -29,7 +29,7 @@ namespace BizHawk.Emulation.Cores.Computers.AppleII
addr =>
{
if (addr is < 0 or > 0x10000) throw new ArgumentOutOfRangeException(paramName: nameof(addr), addr, message: "address out of range");
return (byte)_machine.Memory.PeekAuxRam((int)addr);
return _machine.Memory.PeekAuxRam((int)addr);
},
(addr, value) =>
{