Re: [hatari-devel] Hatari debug mode

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 17.8.2025 19.04, Christian Zietz wrote:
Nicolas Pomarède schrieb:
As there's no "one solution fits all" for this problem of console vs GUI
app vs "-W" switch, maybe we should decide if we provide 2 64 bit
binaries (console and gui) to cover most usage and drop the 32 bit version.

This sounds like a suitable way forward.

Yet, for the *GUI* version, I still find that Eero's patch makes sense. If someone presses AltGr+Pause, they would expect the debugger to pop up, and for that a console window needs to be opened. (If it wasn't already done with the "-W" switch.)

Was there some way to detect whether code is compiled as Windows console program or GUI application, or do those builds need to use some define to differentiate them?

So that Windows GUI version would force the separate console window, but in the Windows console version they would be no-ops (like is the case on every other platform)?

	- Eero




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/