mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-05-28 17:41:40 +00:00
Spelling.
This commit is contained in:
parent
cf4ce01ddd
commit
8baf722343
|
@ -58,7 +58,7 @@ bool AdbKeyboard::get_register_0() {
|
||||||
|
|
||||||
uint8_t AdbKeyboard::consume_pending_event() {
|
uint8_t AdbKeyboard::consume_pending_event() {
|
||||||
if (this->pending_events.empty()) {
|
if (this->pending_events.empty()) {
|
||||||
// In most cases we have only on pending event when the host polls us,
|
// In most cases we have only one pending event when the host polls us,
|
||||||
// but we need to fill two entries of the output buffer. We need to set
|
// but we need to fill two entries of the output buffer. We need to set
|
||||||
// the key status bit to 1 (released), and the key to a non-existent
|
// the key status bit to 1 (released), and the key to a non-existent
|
||||||
// one (0x7F). Otherwise if we leave it empty, the host will think that
|
// one (0x7F). Otherwise if we leave it empty, the host will think that
|
||||||
|
|
|
@ -44,7 +44,7 @@ namespace Hammerhead {
|
||||||
#define EXTENDED_ID 0x1 // examine some other registers to get full ID
|
#define EXTENDED_ID 0x1 // examine some other registers to get full ID
|
||||||
#define HH_CPU_ID_TNT ((RISC_MACHINE << 4) | (EXTENDED_ID << 3) | MACH_TYPE_TNT)
|
#define HH_CPU_ID_TNT ((RISC_MACHINE << 4) | (EXTENDED_ID << 3) | MACH_TYPE_TNT)
|
||||||
|
|
||||||
// contants for the MBID field of the MOTHERBOARD_ID register
|
// constants for the MBID field of the MOTHERBOARD_ID register
|
||||||
enum {
|
enum {
|
||||||
MBID_VCI0_PRESENT = 4,
|
MBID_VCI0_PRESENT = 4,
|
||||||
MBID_PCI2_PRESENT = 2,
|
MBID_PCI2_PRESENT = 2,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user