updated C++ syntax
This commit is contained in:
parent
b1428fd5bc
commit
c31ecdbe99
2 changed files with 3 additions and 3 deletions
|
@ -142,7 +142,7 @@ void fixup_cpu(struct uae_prefs *p)
|
|||
{
|
||||
if (p->cpu_model >= 68040 && p->address_space_24) {
|
||||
error_log(_T("24-bit address space is not supported with 68040/060 configurations."));
|
||||
p->address_space_24 = 0;
|
||||
p->address_space_24 = false;
|
||||
}
|
||||
if (p->cpu_model < 68020 && p->fpu_model && p->cpu_compatible) {
|
||||
error_log(_T("FPU is not supported with 68000/010 configurations."));
|
||||
|
@ -150,7 +150,7 @@ void fixup_cpu(struct uae_prefs *p)
|
|||
}
|
||||
if (p->cpu_model > 68010 && p->cpu_compatible) {
|
||||
error_log(_T("CPU Compatible is only supported with 68000/010 configurations."));
|
||||
p->cpu_compatible = 0;
|
||||
p->cpu_compatible = false;
|
||||
}
|
||||
|
||||
switch (p->cpu_model)
|
||||
|
|
|
@ -270,7 +270,7 @@ void show_screen(int mode)
|
|||
//idletime += last_synctime - start;
|
||||
|
||||
if (!screen_is_picasso)
|
||||
gfxvidinfo.drawbuffer.bufmem = (uae_u8 *)screen->pixels;
|
||||
gfxvidinfo.drawbuffer.bufmem = static_cast<uae_u8 *>(screen->pixels);
|
||||
|
||||
if (last_synctime - next_synctime > time_per_frame - 5000)
|
||||
next_synctime = last_synctime + time_per_frame * (1 + currprefs.gfx_framerate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue