Commit 12d8ed57 authored by Stephen Anthony's avatar Stephen Anthony
Browse files

Fix minor warning in VS.

parent b8393a22
......@@ -53,7 +53,7 @@ using Common::Base;
#endif
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Thumbulator::Thumbulator(const uInt16* rom_ptr, uInt16* ram_ptr, uInt32 rom_size,
Thumbulator::Thumbulator(const uInt16* rom_ptr, uInt16* ram_ptr, uInt16 rom_size,
bool traponfatal, Thumbulator::ConfigureFor configurefor,
Cartridge* cartridge)
: rom(rom_ptr),
......@@ -65,7 +65,7 @@ Thumbulator::Thumbulator(const uInt16* rom_ptr, uInt16* ram_ptr, uInt32 rom_size
configuration(configurefor),
myCartridge(cartridge)
{
for (uint32_t i = 0; i < romSize / 2; i++)
for(uInt16 i = 0; i < romSize / 2; ++i)
decodedRom[i] = decodeInstructionWord(CONV_RAMROM(rom[i]));
setConsoleTiming(ConsoleTiming::ntsc);
......
......@@ -58,7 +58,7 @@ class Thumbulator
DPCplus // cartridges of type DPC+
};
Thumbulator(const uInt16* rom_ptr, uInt16* ram_ptr, uInt32 rom_size,
Thumbulator(const uInt16* rom_ptr, uInt16* ram_ptr, uInt16 rom_size,
bool traponfatal, Thumbulator::ConfigureFor configurefor,
Cartridge* cartridge);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment