Commit Graph

2257 Commits

Author SHA1 Message Date
Brad Smith 45dcb3e242
VRC7 patch set is finally properly dumped 2019-03-22 12:58:34 -04:00
owomomo 68993285f8 Fix shortcut key bug. 2019-03-22 14:47:26 +08:00
zeromus f9094a4655 fix savestate.create(integer)
maybe fixes #41 (not sure)
2019-03-18 00:26:26 -04:00
zeromus 3a14fc724c fix merge conflict 2019-03-18 00:14:12 -04:00
zeromus afbb4fe37f
Merge branch 'master' into master 2019-03-18 00:08:52 -04:00
zeromus abed13c392 Revert "Fix for the interframe-pause-skips-updating-next-frame bugs, mostly noticeable when dumping AVIs."
This reverts commit c7710ae244.

fixes #39
2019-02-22 20:48:59 -05:00
zeromus e72202f3b8 fix linux build (probably) 2019-02-22 15:01:12 -05:00
owomomo 8c485d23a2
Merge branch 'master' into master 2019-02-02 17:14:09 +08:00
zeromus f14321113a
Merge pull request #21 from retro-wertz/gtk_audio_silence
gtk: fix audio going on/off when entering Sound Config option
2019-02-02 04:00:07 -05:00
zeromus 9f7147c42a fix overflow in RTS trace logging (maybe) (fixes #30) 2019-02-02 03:58:00 -05:00
zeromus f8d5a91363 lua: make emu.speedmode nothrottle and maximum set to 100% frameskip, as originally intended (fixes #34) 2019-01-27 21:32:22 -05:00
zeromus adc9efec56 run 1st frame of lua scripts after the lua console is hooked up, rather than before (fixes #33) 2019-01-27 20:45:23 -05:00
Brad Smith 20f0783a96
windows mouse left/right buttons should be independent, not XOR
(forgot the additional "relative" mouse implementation with last commit)
2019-01-26 21:04:07 -05:00
Brad Smith 01c3f40f1d
windows mouse left/right buttons should be independent, not XOR 2019-01-26 20:46:58 -05:00
owomomo fc35a990f4 Fix compile error 2019-01-09 18:30:30 +08:00
owomomo 9407df7d2c Ram search show cheat count in current range. 2019-01-09 17:28:05 +08:00
owomomo d3e5d7dee9 1. Fix Map Hotkey dialog list header and add sort icon to the header of Map Hotkeys.
2. Fix Nametable Viwer checkbox state mismatch when closing and opening again.
3. Fix linux build error.
2019-01-08 00:42:57 +08:00
owomomo 38d5909a92
Merge pull request #2 from TASVideos/master
winport - reorganize emulation speed menu so it's a little more clear…
2019-01-07 16:24:05 +08:00
zeromus 327bb202a2 winport - reorganize emulation speed menu so it's a little more clear how it works 2019-01-06 17:07:52 -05:00
owomomo d9d3f1b56b 1. Further reconstruct the hotkey menu item code, menus belongs different parent menus with the same id can be defined in one struct rather than four. Removing the repeated menu hotkey update, only update the needed range. I wish this is not too complicated.
2. Map Hotkey dialog items now can be sorted by click on the column header.
3. Fix a logic bug when user cancels open archive dialog.
4. Trying to fix Linux build (not sure).
2019-01-03 20:38:33 +08:00
zeromus 5eb6cc31c9 Revert "Revert "Some ui interface logic changes and improvements.""
This reverts commit d48105e97d.
2019-01-01 15:45:32 -05:00
zeromus 608bbe83fe fix SF issue #838 better and fully 2018-12-31 00:58:20 -05:00
zeromus 76f7af16c8 try fixing SF bug 838 "gui.drawbox border is overlapping itself"
I didnt test it, maybe I broke everything. please check it
2018-12-30 17:05:58 -05:00
aquanull@gmail.com dd5a0e908e Re-enabled running the Lua script when loaded. 2018-12-24 13:54:32 +08:00
aquanull@gmail.com 08c602a3f2 Registered Lua callbacks via gui.register() are now only called at frame boundaries. 2018-12-24 12:01:32 +08:00
aquanull@gmail.com b6df31d0f3 Fixed potential buffer overflows in RAM Search. 2018-12-24 12:01:28 +08:00
aquanull@gmail.com fe64ca3771 Fixed the ancient buffer overflows in Memory Watch. 2018-12-24 12:01:25 +08:00
retro-wertz 6432e18a79 gtk:fix audio going on/off when entering Sound Config option
Adds check if sound was already enabled and only then only call
InitSound() when it was not enabled. This seems to be a better option
than calling KillSound() which causes unnecessary audio pop when you
are just entering the menu and not adjusting stuff yet.
2018-12-10 05:04:07 +08:00
retro-wertz 9788d9745a update apu sweep units 2018-12-09 20:49:46 +08:00
cah4e3 972ec09e92 fixed #11 R.C.Pro Am II title music channel bug 2018-12-05 17:46:29 +03:00
cah4e3 951c325cc1 fixed long standing bug in GG encoder for 8000 address 2018-12-05 15:24:29 +03:00
Brendan Byrd f9f35cbadb Add playback/record Lua functions 2018-11-30 00:10:22 -05:00
Brendan Byrd 47c8491114 Add support for base64 in rom.gethash 2018-11-30 00:10:22 -05:00
Brendan Byrd 319293e20b Add rom.getfilename Lua function
Also, add documention to rom.gethash function
2018-11-30 00:10:22 -05:00
Brendan Byrd 03851153ed Don't Lua print extra newlines in *NIX 2018-11-30 00:10:22 -05:00
Brendan Byrd 76c423fa4a Add getemuscreen support to gui.gdscreenshot Lua call 2018-11-30 00:10:22 -05:00
Brendan Byrd 5f23a565e8 Whitespace cleanup
Should be nothing with 'git show -b'
2018-11-30 00:10:22 -05:00
Brendan Byrd e50f7bfd71 Add stace traces to failed Lua executions 2018-11-30 00:10:22 -05:00
Brad Smith 349aed4aaf
Fix null pointer crash when lua script fails to load. 2018-11-12 17:33:42 -05:00
zeromus 717153ac19 fix hang in symbolic debugger syntax highlighting in rare cases. fixes #18 2018-11-12 03:19:07 -05:00
zeromus 286875f9ef try to fix writes to palette mirrors 2018-11-07 04:01:36 -05:00
zeromus 01dfbf5afa fix the way memview reads mirrored palette regs. Should fix bug 833 on SF but I'm not completely sure 2018-11-07 03:10:09 -05:00
Brad Smith be86d96278
cheapocabra.cpp typo: CHR-RAM not CHR-ROM 2018-10-31 17:00:50 -04:00
Alexey 'Cluster' Avdyukhin 388e10b473 Fixes for COOLBOY mapper, added MINDKIDS mapper (alternative COOLBOY) 2018-08-30 19:10:10 +03:00
zeromus 4939859cf4 lua - savestate.create() can now accept a string which should be the filesystem path to a savestate; you can then use savestate.load on it 2018-07-02 15:19:09 -05:00
Brad Smith 5be92d3ee5
Propagating memory initialization option to WRAM (#13)
1. Including WRAM in the RAM initialization options. Since it was usually initialized to zero by default, the "default" setting must do that as well, the explicit settings should follow the others.

2. unif.cpp extending memory randomization of 4-screen VRAM to match ines.cpp version, except it had no explicit initialization before: static array should initialize to 0, so its default will still do this

3. MALEE WRAM never initialized, replacing a few existing explicit (non gmalloc) WRAM clears with MemoryRand, removing a few memsets now unneeded because of gmalloc clear.
2018-06-26 22:11:01 -04:00
Brad Smith e8c61d1b23 NTSC filter was missing the newer more accurate support for emphasis (was using an old 1-emph-per-blit approximation) 2018-06-19 23:06:55 -04:00
Brad Smith 386545e063 not sure why PAL filter text is commented (is it unfinished? seems to be functional) out but it's accessible in the dropdown and it leaves garbage in the name 2018-06-19 21:56:40 -04:00
Chris Broome d3cc7f0ba7 Fix yscale out of bounds rounding error (#12)
* Fix rounding error causing yscale out of bounds
* Ignore linux build output
2018-06-19 21:42:07 -04:00
zeromus e3b7197128 add "record from sram" (to fix SF bug #828) 2018-06-18 22:19:59 -05:00
Chris Broome 95e82b57ba Fix Linux build errors (#3)
Enable usage of `nullptr` by passing `-std=c++0x`
- SConstruct
- src/Makefile.am

Add missing mappers to boards/Makefile.am.inc:
- boards/190.cpp
- boards/80013-B.cpp
- boards/hp10xx_hp20xx.cpp
2018-06-15 13:02:23 -04:00
Brad Smith 9b6ff8fe49
Mapper 30 4-screen (#10)
mapper 30 support for both 1-screen and 4-screen configurations (see: Black Box Challenge)
2018-06-05 02:17:38 -04:00
Brad Smith 458eb30f3d
Small improvement to sound output options. #6
1. Force 8-bit sound option confused some users who thought it might be an emulation accuracy option instead of selecting output bit depth, replaced it with a drop-down that's consistent with the other sound output options instead (hiding the temptation of setting "8-bit" and thinking that's a desirable thing for an NES emulator).
2. Making the default samplerate 48000, because it is the most common native device rate now.
3. Increasing the AVI output's 1 second buffer size to allow the maximum samplerate of 96000.
2018-06-02 03:11:33 -04:00
Brad Smith 29171209a7 mmc5.cpp fix warning about int to boolean type conversion 2018-06-01 21:08:35 -04:00
zeromus 4245280271 apply patch #827 : Fix "non-constant-expression cannot be narrowed from type" compile error 2018-05-31 12:52:38 -04:00
zeromus c5bb44a37f implement namco 340 NT mirroring register (fixes wagyan land 3) 2018-05-26 20:45:27 -04:00
zeromus 4a1ea6dd1f support vc100 toolchain once more 2018-04-11 16:11:49 -05:00
zeromus 05a1886861 fix release mode build errors 2018-04-11 01:07:27 -05:00
zeromus e2c85a2d50 fix more warnings. didnt do a great job last time. 2018-04-11 01:05:41 -05:00
zeromus f8f9dd967f fix warning 2018-04-11 01:04:37 -05:00
zeromus 9ff8ecb856 fix Uchuu Keibitai SDF in oldppu (broken in r3360) 2018-04-11 00:47:00 -05:00
zeromus bb5cd1527d uhhh did i leave this hacked when i fixed re-un-broke cv3 recently? 2018-04-11 00:17:30 -05:00
zeromus f42fb23276 delete excess gitignores (we're starting from scratch) 2018-04-10 23:22:39 -05:00
zeromus 6936766d93 fix warning 2018-04-10 23:22:39 -05:00
zeromus 104e17522e fix scmrev stuff to use git (copied from desmume) 2018-04-10 23:22:39 -05:00
zeromus 2afdc2769e change to use vs2015 2018-04-10 23:22:39 -05:00
zeromus 0307e3b827 migration tidying (build master from trunk) 2018-04-08 17:35:15 -05:00
aquanull 3b531d0d7c Small fixes. 2018-04-04 18:26:57 +08:00
aquanull da4194ec7a Fixed the bug that the first frame of user input after movie end would be ignored. 2018-04-13 11:59:34 +08:00
aquanull c7710ae244 Fix for the interframe-pause-skips-updating-next-frame bugs, mostly noticeable when dumping AVIs. 2018-04-12 22:43:39 +08:00
aquanull 9137dfbf3f Tiny refactoring on input display. 2018-04-05 18:51:16 +08:00
aquanull 56f61b9b0b Now it clears previous input display when starts playing a movie from power-on. 2018-04-05 18:51:00 +08:00
aquanull f16f6548bb Adds 2 movie recording modes imported from VBA-rr.
Frame display is modified to indicate the currently selected mode.
2018-04-05 08:18:53 +08:00
aquanull e7adca9132 Allows changing Read-Only state by toggling Recording/Playing even if movie finished. 2018-04-05 00:53:56 +08:00
aquanull 23c7ce7342 Adds new command to toggle movie Recording/Playing directly.
Adds new command to truncate movie in Read+Write mode.
Adds new command to insert/delete 1 frame in Read+Write mode.
2018-04-04 21:13:42 +08:00
aquanull 693607f66b Fixes the bug that extra frames could be saved in the movie file, when rerecording from middle of the movie.
Also flushes the movie file more often.
2018-04-04 19:32:29 +08:00
aquanull b08267b84a Allows loading post-movie-end savestates if consistency of the timeline can be verified. 2018-04-04 18:49:33 +08:00
aquanull c161dd892b Fixes the bug loading the wrong movie extras via Movie->Recent. 2018-04-04 18:33:42 +08:00
aquanull 9560521507 RAM Watch now respects Directories Configuration for Memory Watch. 2018-04-13 11:59:23 +08:00
aquanull 7f8e2dd7e8 Fixes the focus bug of the main window minimized with clicks on Windows Taskbar. 2018-04-05 18:46:19 +08:00
aquanull 2d81852e81 Fixes for some file handles and memory leaks. 2018-04-04 18:28:42 +08:00
zeromus 5a1e6c552a ignore lmouse and rmouse lua input when main window isnt focused. it seems unlikely anyone would want these for any other purpose (xmouse and ymouse are based on the emulated window so the clicks should be too)
untested.

intended for SF bug 836
2018-12-17 15:11:30 -05:00
zeromus 14ad02632a use cd and im bindings for lua. needed rebuild luaperks to include binding sources 2018-12-16 13:20:45 -05:00
punkrockguy318 2be5084a7b create new subversion repo structure (trunk, tags, branches)
[[Split portion of a mixed commit.]]
2013-03-15 19:00:14 +00:00
punkrockguy318 0d1d24e153 sdl: integrate backward-cpp (https://github.com/bombela/backward-cpp) to generate more helpful debugging output 2013-03-15 18:22:38 +00:00
ansstuff d748d3219c Debugger: ported "smart scrolling" from an obscure version of FCEUXD 1.1 2013-03-14 15:40:52 +00:00
CaH4e3 9d778993b7 palette ram reading fix for old ppu 2013-03-14 12:55:36 +00:00
punkrockguy318 37b0f97f1d sdl: additional preliminary sdl 2.0 support 2013-03-12 00:33:33 +00:00
punkrockguy318 99ff252145 fix end-of-lines (dos2unix) 2013-03-11 02:29:15 +00:00
punkrockguy318 7bfd254ba0 forgot to add this to previous commit 2013-03-11 01:51:02 +00:00
punkrockguy318 bdbcc524bf scons: don't compile minizip files whatsoever when SYSTEM_MINIZIP enabled 2013-03-11 01:37:17 +00:00
punkrockguy318 ec8cbcfc00 sdl: prelimenary SDL2.0 support
sdl: fixed bug where fceux would take exclusive grab of input in windowed mode when resuming from pause
2013-03-10 23:54:01 +00:00
punkrockguy318 aaf36702a1 version bump to 2.2.2; comment public release 2013-03-10 22:09:01 +00:00
punkrockguy318 db78090cbc scons: unset public release bit
sdl: fix typo that referenced '-opengl'; '--opengl' is used
2013-03-10 21:45:48 +00:00
ansstuff 3fef7971b3 updated version 2013-03-10 21:33:18 +00:00
ansstuff bb03b4e7e3 updated docs
[[Split portion of a mixed commit.]]
2013-03-10 21:18:37 +00:00
CaH4e3 f3a5527c6b ppu code cleanup 2013-03-10 20:36:51 +00:00
ansstuff 1666803e05 * CDLogger: removed "Enable New PPU" note, because Old PPU is now functional as well
* updated docs

[[Split portion of a mixed commit.]]
2013-03-10 20:14:13 +00:00
punkrockguy318 427c868add sdl: added option to use system minizip 2013-03-10 20:10:39 +00:00
punkrockguy318 87b850f9f7 updated utils to use minizip 1.2.7 2013-03-10 19:59:33 +00:00
CaH4e3 887aaa1bfd Slightly improved CDLogger for the CHR data. The Old PPU is now fully supported. Removed the garbage logging. TODO: fix for the MMC5, currently isn't supported
code cleanup
2013-03-10 14:41:50 +00:00
ansstuff 6422560659 * added JumpingFCEUXWindow.lua
* updated docs
* Taseditor: some more cleanup

[[Split portion of a mixed commit.]]
2013-03-09 14:04:01 +00:00
CaH4e3 1106e21517 no, hack isn't right... there is some issues with other games 2013-03-06 18:09:39 +00:00
ansstuff 7007fc4805 * Taseditor: cleaned up code a bit more, renamed identifiers to follow single convention 2013-03-04 16:58:54 +00:00
feos-tas 1a98c236af Tweaked SoundDisplay2.lua a bit.
Added LuaPerks description.
TODO: write LuaPerks samples.

[[Split portion of a mixed commit.]]
2013-03-03 15:24:05 +00:00
punkrockguy318 ed03db8497 sdl: dynamically set fullscreen resolution when SDL.[x/y]Resolution is set to 0
sdl: new default values for SDL.[X/Y]Resolution to dynamically set fullscreen resolution
2013-03-02 19:46:34 +00:00
punkrockguy318 517ad65bdc sdl: show cursor and release wm grab on pause 2013-03-02 19:19:01 +00:00
punkrockguy318 de9e21f12e gtk: change menu item string: "Auto-resume play" 2013-03-02 18:56:45 +00:00
punkrockguy318 1b368e56bf sdl: fix SDL.NoFullscreenCursor (for use with zapper in fullscreen) 2013-03-02 18:53:56 +00:00
punkrockguy318 c490369e67 sdl: AutoResume functionality implemented via SDL.AutoResume config option
gtk: added checkbox for AutoResume (Options->Auto-Resume)
2013-03-02 18:43:24 +00:00
ansstuff 5acc146be8 Hexeditor: fixed ROM coloring when using CDLogger data 2013-03-02 13:00:38 +00:00
punkrockguy318 ba8fb91eaa gtk: close game properly when window is closed 2013-03-01 22:06:41 +00:00
CaH4e3 fe057f4bfd CDLogger VRAM issue fix 2013-03-01 19:22:45 +00:00
ansstuff cc8e3e0e0c updated docs
[[Split portion of a mixed commit.]]
2013-03-01 12:49:18 +00:00
ansstuff 989d356c0e * PPU/PAL/Input type changing is now disabled when a movie is playing
* "Switch fullscreen by double-click" is disabled by default
2013-02-28 16:00:33 +00:00
ansstuff 755d9dc64d * Cheats: update the window when ROM is changed
* Cheats: show the number of active cheats after a ROM is loaded
2013-02-28 13:33:13 +00:00
ansstuff d814920f00 minor CDLogger cleanup 2013-02-27 13:23:48 +00:00
CaH4e3 ba537f66db CDLogger improvements 2013-02-27 11:05:06 +00:00
CaH4e3 52945e7484 MMC5 - refixed 2013-02-27 08:26:45 +00:00
ansstuff 009ece83d4 * CDLogger: code cleanup
* CDLogger: removed obnoxious reminder about NewPPU
* CDLogger: added current CDL filename field
* CDLogger: added default CDL naming
* CDLogger: added "Auto-save .CDL when closing ROMs" option
* CDLogger: added "Auto-resume logging when loading ROMs" option
2013-02-24 11:19:36 +00:00
ansstuff 71f4affe5c * Hexeditor: show symbolic names in the window caption 2013-02-22 21:17:34 +00:00
CaH4e3 71f2d5bc9c UNIF DSOUNDV1 - pre beta mapper, nw
various mapper improvements
UNIF MALISB - Mali Splash Bomb dump
mapper 19 - Dream Master mirror fix
SOUND - low quality 69 mapper exp sound fix
2013-02-18 13:41:44 +00:00
punkrockguy318 71eec979e8 sdl: clarify '--players' option to refer to network play 2013-02-14 00:35:32 +00:00
punkrockguy318 1e3d8c7b76 sdl: don't display gtk error message while in --nogui mode 2013-02-14 00:33:28 +00:00
punkrockguy318 e87a8d11e4 gtk: display error message for io errors when loading fds bios
rename "FDS BIOS" file filter string to "disksys.rom" for clarity
	 use FCEUD_PrintMessage for succesful BIOS load
2013-02-14 00:30:24 +00:00
punkrockguy318 3f05056fed gtk: display more relevant error messages
sdl: use FCEUD_PrintError for palette loading
gtk: remove redundant error dialogs now that FCEUD_PrintError is implemented in GTK
gtk: prevent GTK FCEUD_PrintError calls from spawning GTK dialogs before GTK is initialized
2013-02-13 00:19:00 +00:00
punkrockguy318 45f53470b9 gtk: display a message dialog on errors in addition to printing to stderr
sdl: remove duplicate function definitions for FCEUD_PrintError and FCEUD_PrintMessage
2013-02-12 22:31:55 +00:00
punkrockguy318 1975f4c8b1 sdl: fix a build issue on OSX due to x11 being installed in a non-standard location on OSX (sf#578) 2013-02-11 22:36:21 +00:00
ansstuff 3d9095fc29 * Fixed iNesSave and iNesSaveAs (#579)
* Moved "Config->Game Genie" to "Config->Enable->Game Genie ROM"
2013-02-11 12:03:37 +00:00
CaH4e3 b7584d0da2 cdlogger - fixed unif load/save, TODO: get rid or VRAM in there
mapper 69 - fixed #580 Low quality sound issue
2013-02-10 22:05:02 +00:00
ansstuff d3f0cb48b7 * win32: speed up screen blitting 2013-02-03 16:03:25 +00:00
ansstuff 181c48efdb * win32: Added "TV Aspect (4:3)" to Video Config
* updated docs
2013-02-02 14:04:51 +00:00
ansstuff 49b2f4fad3 * Taseditor: fixed Bookmarks List height on Windows 7 2013-01-21 14:32:05 +00:00
ansstuff 9a2566dacc * Taseditor: no "Autopause at the end of the Movie" when Recording
* Taseditor: fixed bug with adding new item to History Log
2013-01-20 20:25:19 +00:00
ansstuff af76d60cd7 * Taseditor: changed the logic by which the Piano Roll follows Playback cursor, now it doesn't follow it while seeking
* Taseditor: no restriction of initial Playback dragging anymore (can always drag while seeking)
2013-01-19 21:37:01 +00:00
ansstuff 7b99bfc321 * Tracer: fixed RTS padding
* Tracer: always force Trace Logger update when a breakpoint is hit
* Debugger: always open Debugger window when a breakpoint is hit
2013-01-17 15:32:09 +00:00
ansstuff f22dc51e71 * Lua: removed "shadow pixels" from gui.text()
* Lua: fixed width of question mark symbol
* Lua: made gui.parsecolor() function available for users
2013-01-15 12:53:04 +00:00
ansstuff 30378d8b49 Taseditor: Config->Project file saving options 2013-01-10 17:13:33 +00:00
CaH4e3 efed1b3dec UNIF: little bit verbose/safe chunk loading, fix some crashes 2013-01-05 18:11:31 +00:00
CaH4e3 dd54482e1a mapper 115 - redesign according to the hardware tests 2013-01-03 07:34:09 +00:00
zeromus a2c2322e25 ntview-do something reasonable if a 4-screen,table2,table3 mirror mode is chosen when the corresponding nametable ram is not available on the cart (instead of crashing) 2013-01-01 18:43:23 +00:00
punkrockguy318 0c69e0fbfb gtk: fix "quit" hotkey when --nogui is disabled 2012-12-31 13:34:32 +00:00
CaH4e3 dd7a1bc081 mope, 206 still deprecated, quest of ki just needed vertical mirroring 2012-12-31 11:32:49 +00:00
CaH4e3 95a36aa23c quest of ki redefined to 206 mapper with CRC check, now 206 isn't deprecated, some games are vomit because of extended functionality of the stock MMC3 instead of simplified one ;( 2012-12-31 11:12:56 +00:00
CaH4e3 69c3e2df02 mapper 115 - thunderbolt fixed 2012-12-31 09:09:45 +00:00
CaH4e3 1d5157dca2 mapper 24 fixed
mapper 26 fixed
formatting fix, cleanup
2012-12-31 08:47:09 +00:00
ansstuff ca82eadedf * Taseditor: fixed bugs with holding Shift+Up/Down and similar situations when the Playback cursor moves more than once within one update
* Taseditor: Changed "Compact save" dialog, added 4 options of Greenzone saving: all frames, every 16th frame, marked frames, don't save
* Taseditor: Config->Compact Quicksaving (affects Ctrl+S and Autosave)
2012-12-30 20:28:01 +00:00
ansstuff 07a21643d6 fixed GetPath when opening Cheats 2012-12-29 16:32:21 +00:00
ansstuff 3cb74f7780 * Cheats: added "Add from CHT file..." button 2012-12-29 14:32:02 +00:00
ansstuff 15adae5df9 win32: force the entire client area to be invalidated at the beginning of WM_PAINT; this fixes the rare bug with DIRECTDRAWCLIPPER sometimes calculating wrong region (was noticed on some video cards) 2012-12-29 11:43:38 +00:00