Quick question about the emulog
#1
So I saw the line "Totally mismatched window handles on OverrideWndProc" in the emulog and was wondering if it would cause issues. I have only ever seen it for this game (LOTR Third Age). Any thoughts?

Here is more of the emulog if it helps:
Code:
Initializing plugins...
    Init GS
Windows 6.1.7601 (Service Pack 1 1.0)
AMD Radeon HD 6900 Series (8.17.10.1191)
    Init PAD
    Init SPU2
    Init CDVD
    Init USB
    Init FW
    Init DEV9
Plugins initialized successfully.

Opening plugins...
    Opening GS
    Opening PAD
    Opening SPU2
Totally mismatched window handles on OverrideWndProc!
    Opening CDVD
isoFile open ok: G:\Emulation\ROMS\PS2\Lord of the rings third age\Lord of the rings third age.iso
    Image type  = DVD
    Fileparts   = 1
* CDVD Disk Open: DVD, Single layer or unknown:
* * Track 1: Data (Mode 1) (2244032 sectors)
    Opening USB
    Opening FW
    Opening DEV9
McdSlot 0: C:\Program Files (x86)\PCSX2 0.9.8\memcards\Mcd001.ps2
McdSlot 1: C:\Program Files (x86)\PCSX2 0.9.8\memcards\Mcd002.ps2
Plugins opened successfully.
EE/iR5900-32 Recompiler Reset
    Bios Found: USA     v02.20(10/02/2006)  Console
    BIOS rom1 module not found, skipping...
    BIOS rom2 module not found, skipping...
    BIOS erom module not found, skipping...
(UpdateVSyncRate) Mode Changed to NTSC.
(UpdateVSyncRate) FPS Limit Changed : 59.94 fps
(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLUS_210.27;1
(SYSTEM.CNF) Software version = 1.00
(SYSTEM.CNF) Disc region type = NTSC
ELF (cdrom0:\SLUS_210.27;1) Game CRC = 0xEB198738, EntryPoint = 0x00110008
(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLUS_210.27;1
(SYSTEM.CNF) Software version = 1.00
(SYSTEM.CNF) Disc region type = NTSC
Intel Core i5-8600K @ 4.5 GHz
GeForce GTX 1080 SC2 Stock
ASRock Z370 Taichi LGA 1151 mobo
CORSAIR Vengeance LPX 16GB 2400 DDR4 RAM
SAMSUNG 970 EVO M.2 2280 500GB PCIe SSD
Indigo Xtreme Thermal Interface Material
Phanteks Enthoo Pro ES614P Black Steel Case
EVGA SuperNOVA 750 G2 220-G2-0750-XR PSU
Windows 10 64-bit
Reply

Sponsored links

#2
The message exists in LilyPad.dll.

Code:
pcsx2-1.0.0-r5350-sources\plugins\LilyPad\WndProcEater.cpp

LRESULT WndProcEater::_OverrideWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
    if( hWnd != hWndEaten )
        fprintf( stderr, "Totally mismatched window handles on OverrideWndProc!\n" );

Edit: The old binary image has been replaced with this source code.
Reply
#3
Thank you for that but do you know if it is a symptom of an issue I need to address or is it something that I needn't worry about?
Intel Core i5-8600K @ 4.5 GHz
GeForce GTX 1080 SC2 Stock
ASRock Z370 Taichi LGA 1151 mobo
CORSAIR Vengeance LPX 16GB 2400 DDR4 RAM
SAMSUNG 970 EVO M.2 2280 500GB PCIe SSD
Indigo Xtreme Thermal Interface Material
Phanteks Enthoo Pro ES614P Black Steel Case
EVGA SuperNOVA 750 G2 220-G2-0750-XR PSU
Windows 10 64-bit
Reply
#4
(11-15-2013, 10:08 PM)jlwmanagement Wrote: Thank you for that but do you know if it is a symptom of an issue I need to address or is it something that I needn't worry about?

I get weird readouts in the emulog all the time... yesterday playing Xenosaga I got something about IOP something something blah blah.

If it doesn't seem to affect it, I wouldn't worry about it.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#5
(11-15-2013, 10:08 PM)jlwmanagement Wrote: Thank you for that but do you know if it is a symptom of an issue I need to address or is it something that I needn't worry about?

I have no idea about it.Smile
I thought it would be a clue.
Reply
#6
Well, the function of emulog is to give warnings and point errors, what may help the devs to correct possible issues with the game's emulation.

In the OP it seems to point to a missconstructed function and the IOP messages points to something going weird with the input/output (if not just warning or purposefully placed debug points).

PS: Remember, although might give insightful hints to the end user, the emulog is primarily meant to developers.
Imagination is where we are truly real
Reply
#7
Awesome, thanks nosisab Ken Keleh. I will leave it be for now.

Thanks all! Smile
Intel Core i5-8600K @ 4.5 GHz
GeForce GTX 1080 SC2 Stock
ASRock Z370 Taichi LGA 1151 mobo
CORSAIR Vengeance LPX 16GB 2400 DDR4 RAM
SAMSUNG 970 EVO M.2 2280 500GB PCIe SSD
Indigo Xtreme Thermal Interface Material
Phanteks Enthoo Pro ES614P Black Steel Case
EVGA SuperNOVA 750 G2 220-G2-0750-XR PSU
Windows 10 64-bit
Reply
#8
(11-16-2013, 08:54 PM)jlwmanagement Wrote: Awesome, thanks nosisab Ken Keleh. I will leave it be for now.

Thanks all! Smile

Actually I failed to make the point, I meant that if not experimenting anything really weird with the game there is no reason to worry with the emulog messages indeed, might be just a debug checkpoint.

But it's OK to report strange emulog messages because they might mean that something may be wrong with the specific game's emulation and the message help the developers to find out what.
Imagination is where we are truly real
Reply
#9
(11-16-2013, 08:54 PM)jlwmanagement Wrote: Awesome, thanks nosisab Ken Keleh. I will leave it be for now.

Thanks all! Smile

Off topic but OMG LOL at your custom user title!
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#10
Ha! Thanks. I was playing through DQ 8 for the millionth time and this time I decided to use a walkthrough to ensure I conquered all. Lo and behold there was a secret I didnt know so I investigated immediately and was laughing hard enough to make my sides hurt once I finished up in the puff puff room. BEST....ROOM...EVER Smile
Intel Core i5-8600K @ 4.5 GHz
GeForce GTX 1080 SC2 Stock
ASRock Z370 Taichi LGA 1151 mobo
CORSAIR Vengeance LPX 16GB 2400 DDR4 RAM
SAMSUNG 970 EVO M.2 2280 500GB PCIe SSD
Indigo Xtreme Thermal Interface Material
Phanteks Enthoo Pro ES614P Black Steel Case
EVGA SuperNOVA 750 G2 220-G2-0750-XR PSU
Windows 10 64-bit
Reply




Users browsing this thread: 1 Guest(s)