Did not release HDC after checking bits per pixel on the desktop.
wguiDialogProc() / wguiStartupPost():
Lost handles to power-led icons.
wguiCheckEmulationNecessities():
Did not close the kickstart file after checking if it could be opened.
wguiGameportDialogProc():
gpChoice[] returned invalid Dialog items sometimes because these were not created yet the first time this function was called. Moved the init of this array to the location where it was actually used.
wguiConfigurationDialog():
Tried to load null icons
wgui.c/commoncontrol_wrap.c/.h
ccwSetImageConditional()
Lost handles to the icons loaded for the dialog. Changed to use preloaded HBITMAPs.
Resource file:
wdbg.c loaded a non-existing bitmap-resource in wdbgUpdateCPUState() (IDB_DEBUG_ARROW)