mirror of https://github.com/stella-emu/stella.git
Fix minor warning in VS.
This commit is contained in:
parent
b8393a22a1
commit
12d8ed570d
|
@ -53,7 +53,7 @@ using Common::Base;
|
||||||
#endif
|
#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,
|
bool traponfatal, Thumbulator::ConfigureFor configurefor,
|
||||||
Cartridge* cartridge)
|
Cartridge* cartridge)
|
||||||
: rom(rom_ptr),
|
: rom(rom_ptr),
|
||||||
|
@ -65,7 +65,7 @@ Thumbulator::Thumbulator(const uInt16* rom_ptr, uInt16* ram_ptr, uInt32 rom_size
|
||||||
configuration(configurefor),
|
configuration(configurefor),
|
||||||
myCartridge(cartridge)
|
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]));
|
decodedRom[i] = decodeInstructionWord(CONV_RAMROM(rom[i]));
|
||||||
|
|
||||||
setConsoleTiming(ConsoleTiming::ntsc);
|
setConsoleTiming(ConsoleTiming::ntsc);
|
||||||
|
|
|
@ -58,7 +58,7 @@ class Thumbulator
|
||||||
DPCplus // cartridges of type DPC+
|
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,
|
bool traponfatal, Thumbulator::ConfigureFor configurefor,
|
||||||
Cartridge* cartridge);
|
Cartridge* cartridge);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue