mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-16 14:08:55 +08:00
update the timer PC-98 constants to make more sense
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
#define PIT_TICK_RATE_PC98_8MHZ 1996800
|
||||
|
||||
#define PIT_TICK_RATE_PC98_5MHZ 2457600
|
||||
#define PIT_TICK_RATE_PC98_10MHZ 2457600
|
||||
|
||||
extern unsigned long PIT_TICK_RATE;
|
||||
|
||||
|
@@ -551,7 +551,7 @@ void TIMER_OnEnterPC98(Section*) {
|
||||
ReadHandler[3].Uninstall();
|
||||
|
||||
/* TODO: PC-98 has two different rates: 5/10MHz base or 8MHz base. Let the user choose via dosbox.conf */
|
||||
PIT_TICK_RATE = PIT_TICK_RATE_PC98_5MHZ;
|
||||
PIT_TICK_RATE = PIT_TICK_RATE_PC98_10MHZ;
|
||||
|
||||
/* I/O port map (8254)
|
||||
*
|
||||
|
Reference in New Issue
Block a user