mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded
This commit is contained in:
parent
f1336fba68
commit
b21093ea8f
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include "base.hpp"
|
#include "base.hpp"
|
||||||
#include "../string.h"
|
#include "../string.h"
|
||||||
|
#include "../debug.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
@ -74,6 +75,8 @@ public:
|
|||||||
Blitter *newb = b->CreateInstance();
|
Blitter *newb = b->CreateInstance();
|
||||||
delete *GetActiveBlitter();
|
delete *GetActiveBlitter();
|
||||||
*GetActiveBlitter() = newb;
|
*GetActiveBlitter() = newb;
|
||||||
|
|
||||||
|
DEBUG(driver, 1, "Successfully %s blitter '%s'",StrEmpty(name) ? "probed" : "loaded", bname);
|
||||||
return newb;
|
return newb;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user