Common Source Code Project for Qt (a.k.a for FM-7).
Revision | 3805ad41608ed51081d916a1b494688d5d3e7eac (tree) |
---|---|
Zeit | 2017-04-10 12:11:39 |
Autor | K.Ohta <whatisthis.sowhat@gmai...> |
Commiter | K.Ohta |
[VM][PC9801][X1][WIN32] Fix FTBFS with MinGW.
@@ -130,7 +130,8 @@ void DISPLAY::initialize() | ||
130 | 130 | tvram[0x3fee] = 8; |
131 | 131 | } |
132 | 132 | #ifndef HAS_UPD4990A |
133 | - dll_cur_time_t cur_time; | |
133 | + //dll_cur_time_t cur_time; | |
134 | + cur_time_t cur_time; | |
134 | 135 | get_host_time(&cur_time); |
135 | 136 | tvram[0x3ffe] = TO_BCD(cur_time.year); |
136 | 137 | #endif |
@@ -419,7 +419,8 @@ VM::VM(EMU* parent_emu) : emu(parent_emu) | ||
419 | 419 | uint8_t *rom = cpu_sub->get_rom_ptr(); |
420 | 420 | sub->rom_crc32 = get_crc32(rom, 0x800); // 2KB |
421 | 421 | if(rom[0x23] == 0xb9 && rom[0x24] == 0x35 && rom[0x25] == 0xb1) { |
422 | - dll_cur_time_t cur_time; | |
422 | + //dll_cur_time_t cur_time; | |
423 | + cur_time_t cur_time; | |
423 | 424 | get_host_time(&cur_time); |
424 | 425 | rom[0x26] = TO_BCD(cur_time.year); |
425 | 426 | } |