Removed all references to PCem;
Added Japanese FDI support; Added more extensions to floppy image selection.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "win.h"
|
||||
#include "video.h"
|
||||
|
||||
extern "C" int pcem_key[272];
|
||||
extern "C" int recv_key[272];
|
||||
|
||||
extern "C" void fatal(const char *format, ...);
|
||||
extern "C" void pclog(const char *format, ...);
|
||||
@@ -18,13 +18,13 @@ extern "C" void keyboard_init();
|
||||
extern "C" void keyboard_close();
|
||||
extern "C" void keyboard_poll();
|
||||
|
||||
int pcem_key[272];
|
||||
int recv_key[272];
|
||||
|
||||
void keyboard_init()
|
||||
{
|
||||
atexit(keyboard_close);
|
||||
|
||||
memset(pcem_key, 0, sizeof(pcem_key));
|
||||
memset(recv_key, 0, sizeof(recv_key));
|
||||
pclog("Keyboard initialized!\n");
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ void keyboard_poll_host()
|
||||
int c;
|
||||
|
||||
for (c = 0; c < 272; c++)
|
||||
pcem_key[c] = rawinputkey[c];
|
||||
recv_key[c] = rawinputkey[c];
|
||||
|
||||
if ((rawinputkey[0x1D] || rawinputkey[0x9D]) &&
|
||||
(rawinputkey[0x38] || rawinputkey[0xB8]) &&
|
||||
|
||||
Reference in New Issue
Block a user